From owner-freebsd-stable@FreeBSD.ORG Thu May 31 12:23:57 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4843F1065670 for ; Thu, 31 May 2012 12:23:57 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13::5]) by mx1.freebsd.org (Postfix) with ESMTP id A10718FC0A for ; Thu, 31 May 2012 12:23:56 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.5/8.14.5) with ESMTP id q4VCNr6p024872; Thu, 31 May 2012 19:23:53 +0700 (NOVT) (envelope-from egrosbein@rdtc.ru) Message-ID: <4FC762D9.905@rdtc.ru> Date: Thu, 31 May 2012 19:23:53 +0700 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.13) Gecko/20110112 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG, Konstantin Belousov , Eugene Grosbein References: <201205311122.q4VBMqca090606@lurza.secnetix.de> In-Reply-To: <201205311122.q4VBMqca090606@lurza.secnetix.de> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Cc: Oliver Fromme Subject: Re: i386 binaries on amd64: ldconfig problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2012 12:23:57 -0000 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