EXTRA_RUNPATH_DIRS, LD_OPTIONS an B direct

Riccardo Mottola rmottola at opencsw.org
Fri Jan 23 23:21:38 CET 2015


Hi,

Dagobert Michelsen wrote:
>> 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
I did that for this warning:
  * No symbol of binary 
/opt/csw/GNUstep/System/Library/Libraries/libgnustep-
    base.so.1.24.7 is directly bound against the following libraries:
    libffi.so.5, libgnutls.so.28, libiconv.so.2, libicui18n.so.54,
    libicuuc.so.54, libobjc.so.4, libxml2.so.2, libxslt.so.1, libz.so.1. 
Please
    make sure the binaries are compiled using the "-Bdirect" linker option.

>
> Try ldd -r on gdnc, then libgnustep-base.so.1.24 can not be found.
>
         libgnustep-base.so.1.24 =>       (file not found)

that indeed shows a lot of missing stuff! However, it is custom for 
GNUstep stuff that you first need to source a shell script. GNUstep has 
bundles like MacOS where libraries are in, so locaiton is a little more 
dynamic.

in fact if I do ". /opt/csw/GNUstep/System/Library/Makefiles/GNUstep.sh 
" it should work.
I will try t add all the exception regarding this problem and see if 
once installed everything works or not.

I do wonder about the above stuff instead which are opencsw libraries.

Riccardo



More information about the maintainers mailing list