From owner-freebsd-current Thu Sep 24 18:33:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA29922 for freebsd-current-outgoing; Thu, 24 Sep 1998 18:33:44 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from adelphi.physics.adelaide.edu.au (adelphi.physics.adelaide.edu.au [129.127.36.247]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA29906 for ; Thu, 24 Sep 1998 18:33:31 -0700 (PDT) (envelope-from kkennawa@physics.adelaide.edu.au) Received: from mercury (mercury [129.127.36.44]) by adelphi.physics.adelaide.edu.au (8.8.8/8.8.8/UofA-1.5) with SMTP id LAA00286; Fri, 25 Sep 1998 11:03:23 +0930 (CST) Received: from localhost by mercury; (5.65v3.2/1.1.8.2/27Nov97-0404PM) id AA02898; Fri, 25 Sep 1998 11:03:20 +0930 Date: Fri, 25 Sep 1998 11:03:19 +0930 (CST) From: Kris Kennaway To: Simon Shapiro Cc: freebsd-current@FreeBSD.ORG Subject: Re: ELF Catch22 In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 24 Sep 1998, Simon Shapiro wrote: > file /usr/local/lib/libjpeg* > > /usr/local/lib/libjpeg.a: current ar archive > /usr/local/lib/libjpeg.la: English text > /usr/local/lib/libjpeg.so: symbolic link to libjpeg.so.9.0 > /usr/local/lib/libjpeg.so.9: symbolic link to > /usr/local/lib/libjpeg.so.9.0 > /usr/local/lib/libjpeg.so.9.0: ELF 32-bit LSB shared object, Intel 80386, > version 1 (FreeBSD), not stripped [morden|root] 10:51 /usr/src ls -l /usr/local/lib/libjpeg* -rw-r--r-- 1 root wheel 154740 Sep 20 09:36 /usr/local/lib/libjpeg.a -rwxr-xr-x 1 root wheel 455 Sep 20 09:36 /usr/local/lib/libjpeg.la* lrwxr-xr-x 1 root wheel 12 Sep 20 09:36 /usr/local/lib/libjpeg.so@ -> libjpeg.so.9 -rwxr-xr-x 1 root wheel 130198 Sep 20 09:36 /usr/local/lib/libjpeg.so.9* [morden|root] 11:01 /usr/src file /usr/local/lib/libjpeg* /usr/local/lib/libjpeg.a: current ar archive /usr/local/lib/libjpeg.la: English text /usr/local/lib/libjpeg.so: symbolic link to libjpeg.so.9 /usr/local/lib/libjpeg.so.9: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), not stripped Looks like your jpeg package is out of date and hasnt been completely ELFed (the 9.0 library). This may or may not cause problems but best to update it, I guess. > $ klyx > ld.so failed: bad magic number in "/usr/X11R6/lib/libX11.so.6.1" Assuming you put your a.out X libs in /usr/X11R6/lib/aout, do ldconfig -aout -mv /usr/X11R6/lib/aout Merging in the recent changes to /etc/rc* will let you do this automatically at boot. Kris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message