Mantis - mozilla
Viewing Issue Advanced Details
735 packaging minor always 2004-12-08 09:24 2006-01-04 14:33
michael  
cgs  
normal  
assigned  
open  
none    
none  
0000735: Mozilla libraries are compiled with wrong run-path
The mozilla-libraries in /opt/csw/lib/mozilla are compiled with the wron runtime-search-path leading. As mozilla itself uses a start-script where it sets the LD_LIBRARY_PATH, this is no problem for mozilla, but other packages which try to embed the mozilla-browser-component are unable to do so. In my case this happens with the epiphany-package (available from http://blastwave.informatik.uni-erlangen.de/csw/users/michael/) [^]
sauron [/opt/csw/lib/mozilla]> ldd libgtkembedmoz.so
        libxpcom.so => (file not found)
        libplds4.so => (file not found)
        libplc4.so => (file not found)
        libnspr4.so => (file not found)
        libpthread.so.1 => /usr/lib/libpthread.so.1
...
Issue History

Notes
(0001327)
cgs   
2004-12-08 11:15   
I ran into this previously and was unsuccessful setting the runpath everywhere it needed to be set using either the LDFLAGS or the LD_OPTIONS and eventually gave up and hacked the startup script to use the LD_LIBRARY_PATH instead :(

I\'ll look around some more and see if there\'s something that I missed. If you have any suggestions as to how to get it to work, I\'ll be happy to try them.