yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #01938
Re: scons and linkage rules
I don't answer your last question to avoid unproductive discussion...
It was not meant seriously, anyway ;-)
g++ -o
/Users/richefeu/Documents/yade-local/build-vr/lib/libminiWm3.dylib
-rdynamic -z origin -dynamiclib -rdynamic
/Users/richefeu/Documents/yade-local/build-vr/lib/miniWm3.os
-L/Users/richefeu/Documents/YADE/lib/yade-vr/extra
-L/Users/richefeu/Documents/YADE/lib/yade-vr/gui
-L/Users/richefeu/Documents/YADE/lib/yade-vr/lib
-L/Users/richefeu/Documents/YADE/lib/yade-vr/py
-L/Users/richefeu/Documents/YADE/lib/yade-vr/plugins -lpthread
-lboost_system-mt -lboost_thread-mt -lboost_date_time-mt
-lboost_filesystem-mt -lboost_iostreams-mt -lboost_regex-mt
-lboost_serialization-mt -lboost_program_options-mt -lsqlite3 -lgomp
i686-apple-darwin9-g++-4.2.1: origin: No such file or directory
You can try to remove the '-z','origin' from linker flags in SConstruct:
env.Append(LINKFLAGS=['-rdynamic','-z','origin'])
but I hope it will still work with the $ORIGIN in rpaths for you. (man
ld) What is the ld version you have? It seemed this flag is not anything
new.
V
Follow ups
References