[Scons-dev] blah is static and is not compatible... No it isn't!

Neal Becker ndbecker2 at gmail.com
Wed Mar 13 15:01:46 EDT 2013


scons: *** [test2.so] Source file:
/home/nbecker/rpmbuild/BUILD/numpy-1.7.0/build/lib.linux-
x86_64-2.7/numpy/random/mtrand.so is static and is not compatible with shared
target: test2.so
scons: building terminated because of errors.

relevant part of SConstruct:

mtrand = '/home/nbecker/rpmbuild/BUILD/numpy-1.7.0/build/lib.linux-
x86_64-2.7/numpy/random/mtrand.so'
for mod in ['test2']:
Default (env.SharedLibrary (target=mod, source=[mod+'.os', mtrand],
SHLIBPREFIX='', LIBS=libs))
Default (env.SharedObject (target=mod, source=mod+'.cc'))

file /home/nbecker/rpmbuild/BUILD/numpy-1.7.0/build/lib.linux-
x86_64-2.7/numpy/random/mtrand.so
/home/nbecker/rpmbuild/BUILD/numpy-1.7.0/build/lib.linux-
x86_64-2.7/numpy/random/mtrand.so: ELF 64-bit LSB shared object, x86-64, version
1 (SYSV), dynamically linked,
BuildID[sha1]=0xc43ab645baa811d5dc186fadd36dca368587e8eb, not stripped



More information about the Scons-dev mailing list