[csw-maintainers] bad-rpath problem

Carsten Grzemba grzemba at contac-dt.de
Tue Jan 15 17:16:23 CET 2013


Can anybody help: 
why produce this command:

cc -G -h libnssutil3.so -z combreloc -z defs -z ignore -z ignore -Bdirect -R/opt/csw/lib/$ISALIST -M SunOS5.10_OPT.OBJ/nssutil.def -o SunOS5.10_OPT.OBJ/libnssutil3.so SunOS5.10_OPT.OBJ/quickder.o SunOS5.10_OPT.OBJ/secdig.o SunOS5.10_OPT.OBJ/derdec.o SunOS5.10_OPT.OBJ/derenc.o SunOS5.10_OPT.OBJ/dersubr.o SunOS5.10_OPT.OBJ/dertime.o SunOS5.10_OPT.OBJ/errstrs.o SunOS5.10_OPT.OBJ/nssb64d.o SunOS5.10_OPT.OBJ/nssb64e.o SunOS5.10_OPT.OBJ/nssrwlk.o SunOS5.10_OPT.OBJ/nssilock.o SunOS5.10_OPT.OBJ/oidstring.o SunOS5.10_OPT.OBJ/portreg.o SunOS5.10_OPT.OBJ/secalgid.o SunOS5.10_OPT.OBJ/secasn1d.o SunOS5.10_OPT.OBJ/secasn1e.o SunOS5.10_OPT.OBJ/secasn1u.o SunOS5.10_OPT.OBJ/secitem.o SunOS5.10_OPT.OBJ/secload.o SunOS5.10_OPT.OBJ/secoid.o SunOS5.10_OPT.OBJ/sectime.o SunOS5.10_OPT.OBJ/secport.o SunOS5.10_OPT.OBJ/templates.o SunOS5.10_OPT.OBJ/utf8.o SunOS5.10_OPT.OBJ/utilmod.o SunOS5.10_OPT.OBJ/utilpars.o -L../../../../dist/SunOS5.10_OPT.OBJ/lib -L/opt/csw/lib -lplc4 -lplds4 -lnspr4 -lthread -lnsl -lsocket -lposix4 -ldl -lc


such a rpath, which is in opencsw policy is not allowed:

lus/nss-3.14.1/mozilla/security/nss/lib/util$ ldd -s SunOS5.10_OPT.OBJ/libnssutil3.so | more

 find object=libplc4.so; required by SunOS5.10_OPT.OBJ/libnssutil3.so
 search path=/opt/csw/lib/$ISALIST:/opt/csw/lib/ (RUNPATH/RPATH from file SunOS5.10_OPT.OBJ/libnssutil3.so)
 trying path=/opt/csw/lib/sparcv9+vis2/libplc4.so
 trying path=/opt/csw/lib/sparcv9+vis/libplc4.so
 trying path=/opt/csw/lib/sparcv9/libplc4.so
 trying path=/opt/csw/lib/sparcv8plus+vis2/libplc4.so
 trying path=/opt/csw/lib/sparcv8plus+vis/libplc4.so
 trying path=/opt/csw/lib/sparcv8plus/libplc4.so
 trying path=/opt/csw/lib/sparcv8/libplc4.so
 libplc4.so => /opt/csw/lib/sparcv8/libplc4.so


--
Carsten Grzemba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20130115/ba537d49/attachment-0001.html>


More information about the maintainers mailing list