From owner-freebsd-questions@FreeBSD.ORG Sun Aug 26 15:57:15 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43FBF16A468 for ; Sun, 26 Aug 2007 15:57:15 +0000 (UTC) (envelope-from martin@saturn.pcs.ms) Received: from saturn.pcs.ms (98.30.203.62.cust.bluewin.ch [62.203.30.98]) by mx1.freebsd.org (Postfix) with ESMTP id 0C48F13C47E for ; Sun, 26 Aug 2007 15:57:13 +0000 (UTC) (envelope-from martin@saturn.pcs.ms) Received: from saturn.pcs.ms (localhost [127.0.0.1]) by saturn.pcs.ms (8.13.6/8.13.6) with ESMTP id l7QFZlg7000680; Sun, 26 Aug 2007 17:35:47 +0200 (CEST) (envelope-from martin@saturn.pcs.ms) Received: (from martin@localhost) by saturn.pcs.ms (8.13.6/8.13.6/Submit) id l7QFZkch000679; Sun, 26 Aug 2007 17:35:46 +0200 (CEST) (envelope-from martin) Date: Sun, 26 Aug 2007 17:35:46 +0200 From: Martin Schweizer To: Kris Kennaway Message-ID: <20070826153546.GA637@saturn.pcs.ms> Mail-Followup-To: Kris Kennaway , freebsd-questions@freebsd.org References: <20070822042246.GA3497@saturn.pcs.ms> <20070822043725.GA2869@rot26.obsecurity.org> <20070822045118.GB3497@saturn.pcs.ms> <20070822063102.GA4141@rot26.obsecurity.org> <20070822064430.GB3852@saturn.pcs.ms> <20070822132050.GA9055@rot26.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline In-Reply-To: <20070822132050.GA9055@rot26.obsecurity.org> User-Agent: Mutt/1.4.2.1i Organization: PC-Service M. Schweizer GmbH, CH-8608 Bubikon, Switzerland X-PGP-Key: http://www.pc-service.ch/pgp/public_key.asc X-Fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239 Cc: freebsd-questions@freebsd.org Subject: Re: ldconfig problem after upgrade 4.11 to 5.5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Schweizer List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Aug 2007 15:57:15 -0000 --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Kris Am Wed, Aug 22, 2007 at 09:20:51AM -0400 Kris Kennaway schrieb: > > > > > > After I updated my 4.11 to an 5.5 system (following /usr/src/UP= DATING), I get=20 > > > > > > around 63 error messages while the system boot up: > > > > > >=20 > > > > > > ldconfig: /var/run/ld.so.hints: No such file or directory > > > > > > search: trailing characters ignored > > > > > > No such file or directory > > > > > > 0: - lmalloc.1.1: trailing characters ignored. No such = file or=20 > > > > > > directory > > > > > > ... > > > > > > ... > > > > > >=20 > > > > > Looks like it might be a broken symlink. > > > > >=20 > > > > > Why are you updating to 5.5 though? You should be using 6.2. > > > >=20 > > > > If I'm understanding /usr/src/UPDATING correct I should first updat= e to 5.5=20 > > > > and then to 6.2? > > >=20 > > > OK. It may have been easier (and still could be) to just do a binary > > > upgrade instead. > > >=20 > > > > Any ideas where I can check this symlink? > > >=20 > > > Use find(1) to look for libmalloc.so.1.1 > >=20 > > The files are all located in /usr/lib/compat/aout. The path is defined = in=20 > > /etc/defaults/rc.conf > > [snip] > > ldconfig_paths_aout=3D"/usr/lib/compat/aout /usr/X11R6/lib/aout /usr/lo= cal/lib/aout" > > [snip] > >=20 > > Any ideas? >=20 > Are you missing aout support from your kernel? I think it's COMPAT_AOUT. After reading about ldconfig and playing with the parameters (see man page)= I=20 find out that the processing of the pathes in /etc/defaults/rc.conf isn't= =20 correct. /etc/defaults/rc.conf: [snip] ldconfig_insecure=3D"NO" # Set to YES to disable ldconfig security checks ldconfig_paths=3D"/usr/lib/compat /usr/X11R6/lib /usr/local/lib" ldconfig_paths_aout=3D"/usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/= lib/aout" ldconfig_local_dirs=3D"/usr/local/libdata/ldconfig /usr/X11R6/libdata/ldcon= fig" # Local directories with ldconfig configuration files. ldconfig_local32_dirs=3D"/usr/local/libdata/ldconfig32 /usr/X11R6/libdata/l= dconfig32" # Local directories with 32-bit compatibility ldconfig [snip] Following this I set in /etc/rc.conf [snip] ldconfig_paths_aout=3D"/usr/lib/compat/aout" [snip] Any ideas why the kernel do not process the pathes correct? Now it works. Thank you for your help. --=20 Regards Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc;=20 fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFG0Z3Swa4WkdMP0jkRAm//AJ9J74TxotF+BJbozbbMRnGgl9keZgCfYso5 yMO1xGfWZIfY3gW0cvsfQ90= =WqfP -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD--