EXTRA_RUNPATH_DIRS, LD_OPTIONS an B direct

Dagobert Michelsen dam at opencsw.org
Fri Jan 23 16:54:54 CET 2015


Hi Riccardo,

> Am 23.01.2015 um 14:35 schrieb Riccardo Mottola <rmottola at opencsw.org>:
> 
> sorry for the delay….

*I* don’t want this released fast ;-)

> Dagobert Michelsen wrote:
>>> as well as
>>> 
>>> CHECKPKG_OVERRIDES_CSWgnustep-base += soname-not-found|libgnustep-base.so.1.24|is|needed|by|opt/csw/GNUstep/System/Tools/gdnc
>>> 
>>> which is different since it is some of the tools against the library itself being built.
>>> Here Dago suggests setting EXTRA_RUNPATH_DIRS.
>>> 
>>> I added in my Makefile
>>> EXTRA_RUNPATH_DIRS = /opt/csw/GNUstep/System/Library/Libraries
>>> 
>>> but I still get the warning!
>> Try ldd -r on libgnustep-base.so.1.24 and see if all libraries are found. If not inspect
>> with dump -Lv to see the RPATH and make sure all directories with linked libs are in the
>> RPATH. This is also explained at
>>   http://wiki.opencsw.org/checkpkg-error-tags#toc54
>> 
> It looks they are! I checked the object in the build directory, see:
> rmottola at unstable10s [unstable10s]:~/opencsw/gnustep-base/trunk > ldd -r work/solaris10-sparc/build-isa-sparcv8plus/gnustep-base-1.24.7/
> Source/obj/libgnustep-base.so
>        libobjc.so.4 =>  /opt/csw/lib/libobjc.so.4
>        libgmp.so.10 =>  /opt/csw/lib/libgmp.so.10
>        libgnutls.so.28 =>       /opt/csw/lib/libgnutls.so.28
>        libxslt.so.1 =>  /opt/csw/lib/libxslt.so.1
>        libxml2.so.2 =>  /opt/csw/lib/libxml2.so.2
>        libz.so.1 =>     /opt/csw/lib/libz.so.1
>        libpthread.so.1 =>       /lib/libpthread.so.1
>        libiconv.so.2 =>         /opt/csw/lib/libiconv.so.2
>        libm.so.2 =>     /lib/libm.so.2
>        libsocket.so.1 =>        /lib/libsocket.so.1
>        libnsl.so.1 =>   /lib/libnsl.so.1
>        libffi.so.5 =>   /opt/csw/lib/libffi.so.5
>        librt.so.1 =>    /lib/librt.so.1
>        libdl.so.1 =>    /lib/libdl.so.1
>        libicui18n.so.54 =>      /opt/csw/lib/libicui18n.so.54
>        libicuuc.so.54 =>        /opt/csw/lib/libicuuc.so.54
>        libicudata.so.54 =>      /opt/csw/lib/libicudata.so.54
>        libgcc_s.so.1 =>         /opt/csw/lib/libgcc_s.so.1
>        libc.so.1 =>     /lib/libc.so.1
>        libp11-kit.so.0 =>       /opt/csw/lib/libp11-kit.so.0
>        libnettle.so.4 =>        /opt/csw/lib/libnettle.so.4
>        libhogweed.so.2 =>       /opt/csw/lib/libhogweed.so.2
>        libintl.so.8 =>  /opt/csw/lib/libintl.so.8
>        libz.so.1 =>     /opt/csw/lib/sparcv8plus+vis/libz.so.1
>        liblzma.so.5 =>  /opt/csw/lib/sparcv8/liblzma.so.5
>        libmp.so.2 =>    /lib/libmp.so.2
>        libmd.so.1 =>    /lib/libmd.so.1
>        libscf.so.1 =>   /lib/libscf.so.1
>        libaio.so.1 =>   /lib/libaio.so.1
>        libCrun.so.1 =>  /usr/lib/libCrun.so.1
>        libCstd.so.1 =>  /usr/lib/libCstd.so.1
>        libm.so.1 =>     /lib/libm.so.1
>        libdoor.so.1 =>  /lib/libdoor.so.1
>        libuutil.so.1 =>         /lib/libuutil.so.1
>        libgen.so.1 =>   /lib/libgen.so.1
>        /platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1
>        /platform/SUNW,SPARC-Enterprise-T5220/lib/libmd_psr.so.1
>        /usr/lib/cpu/sparcv8plus/libCstd_isa.so.1
> 
> Does it means it is a false warning?

No, it means you are checking the wrong thing. Please reread:

> CHECKPKG_OVERRIDES_CSWgnustep-base += soname-not-found|libgnustep-base.so.1.24|is|needed|by|opt/csw/GNUstep/System/Tools/gdnc


Try ldd -r on gdnc, then libgnustep-base.so.1.24 can not be found.


Best regards

  — Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2418 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20150123/0a09a39a/attachment.p7s>


More information about the maintainers mailing list