[desktop-discuss] Csound

Mark Wright markwright at myrealbox.com
Thu Mar 6 01:13:56 PST 2008


Hello Sergio,

When linking executables and shared libraries, the build will be passing:

-L directory

to the linker to say where to find the libraries.  It might be less
confusing to pass -R directory for Solaris ld or -rpath directory
for gnu ld for every -L directory to try to hard code the library paths
in the executables or shared libraries, in order to avoid having to
set LD_LIBRARY_PATH, some blogs relevant to this are:

http://blogs.sun.com/rie/entry/tt_ld_library_path_tt
http://blogs.sun.com/ali/entry/changing_elf_runpaths

Or alternatively, it sounds like you would want to set
LD_LIBRARY_PATH_32 and LD_LIBRARY_PATH_64 instead
of LD_LIBRARY_PATH.

If you are using csound with python, then I guess you may
need to compile python as 64 bit (with gcc, python 2.5.2
contains some assembler that the Solaris assembler
does not understand, causing the build to fail with
Sun Studio 12), and place the 64 bit python near
the front of your path when running csound.

Regards, Mark
 
 
This message posted from opensolaris.org


More information about the desktop-discuss mailing list