From owner-freebsd-hackers Sat Feb 17 7: 7:40 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.nectar.com (gw.nectar.com [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id 7BD2A37B4EC for ; Sat, 17 Feb 2001 07:07:37 -0800 (PST) Received: by gw.nectar.com (Postfix, from userid 1001) id 002DB18C97; Sat, 17 Feb 2001 09:07:32 -0600 (CST) Date: Sat, 17 Feb 2001 09:07:32 -0600 From: "Jacques A. Vidrine" To: Maximus Cc: freebsd-hackers@freebsd.org Subject: Re: [moebius@bitstream.net: 4.1.1-release ldconfig issue] Message-ID: <20010217090732.B37238@spawn.nectar.com> Mail-Followup-To: "Jacques A. Vidrine" , Maximus , freebsd-hackers@freebsd.org References: <20010216213422.B197@bitstream.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010216213422.B197@bitstream.net>; from moebius@bitstream.net on Fri, Feb 16, 2001 at 09:34:22PM -0600 X-Url: http://www.nectar.com/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Feb 16, 2001 at 09:34:22PM -0600, Maximus wrote: > I installed libiconv-1.5.1 on my 4.1.1-release system with the following results: > > -rw-r--r-- 1 root wheel 452 Feb 16 09:05 libiconv.la > lrwxr-xr-x 1 root wheel 15 Feb 16 09:05 libiconv.so -> libiconv.so.2.2 > -rw-r--r-- 1 root wheel 646265 Feb 16 09:05 libiconv.so.2.2 ^^^^^^ ELF libraries should only have a major version, not a major+minor version. Install the port instead of compiling it yourself, and this will be handled. > Once finished I run 'ldconfig -m /usr/local/lib /usr/lib'. No errors > to this point. I believe that ELF ldconfig will ignore libraries with more than one version number tagged on. But it doesn't matter much -- the hints file is not used with ELF. > Once done I run 'ldconfig -r | grep icon' and nothing is there. The > library is not making it into the hints file. > > Running file on the .so.2.2 file I get the following: > > libiconv.so.2.2: ELF 32-bit LSB shared object, Intel 80386, version 1 > (FreeBSD), not stripped > > Obviously I'm missing something. What? > > Any pointer would be appreciated. At the minimum, where would I find > the source for ldconfig? Which package? Package? ldconfig is in the base system, and a good guess would be: $ which ldconfig /sbin/ldconfig $ cd /usr/src/sbin/ldconfig $ ls Makefile elfhints.c ldconfig.8 ldconfig.c ldconfig.h Hope this helps! Cheers, -- Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message