i386 binaries on amd64: ldconfig problems

Eugene Grosbein egrosbein at rdtc.ru
Thu May 31 12:23:57 UTC 2012


31.05.2012 18:22, Oliver Fromme пишет:
> Eugene Grosbein wrote:
>  > 31.05.2012 16:58, Konstantin Belousov writes:
>  > > The library search order is LD_{32}_LIBRARY_PATH, then DT_RPATH from
>  > > the binary, then hints, then /lib:/usr/lib. So if rpath of the binary
>  > > contains /usr/local/lib, you get /usr/local/lib before hints.
>  > > 
>  > > Rtld uses only the search path from the hints file. When a library with
>  > > the matched name found, rtld tries to load it. Regardless of the result
>  > > of the load attempt, further components of the search path list are not
>  > > tried.
>  > > 
>  > > Look at the olvwm binary with readelf and see whether DT_RPATH specifies
>  > > /usr/local/lib.
>  > 
>  > I've faced exactly same problem. What can be done other to rebuild
>  > of all such 32bit bit binaries to make them work for transition period?
>  > Should libmap32.conf help? It seems it does not.
> 
> Does LD_32_LIBRARY_PATH not work for you?

I did not know about it. Now I've rebuilt all ports as 64 bit already.
But I will try it for next migration :-)

Euge Grosbein


More information about the freebsd-stable mailing list