From owner-freebsd-questions Sat Mar 6 8:57:35 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id 86B2E1526A for ; Sat, 6 Mar 1999 08:57:31 -0800 (PST) (envelope-from mmercer@ipass.net) Received: from ipass.net (ts9-124-ppp.ipass.net [208.209.104.124]) by pluto.ipass.net (8.9.1a/8.9.1) with ESMTP id LAA13531; Sat, 6 Mar 1999 11:57:09 -0500 (EST) Message-ID: <36E15EF5.39405B4C@ipass.net> Date: Sat, 06 Mar 1999 11:59:33 -0500 From: "Michael E. Mercer" X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Andrew Boothman Cc: FreeBSD Questions Discussion List Subject: Re: xpm port problem under 3.1-RELEASE References: <36E142E8.9A18453A@boothman.easynet.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey peoples, Before doing a whole lot of work, your machine might not know where to look for the old a.out shared libraries. compare your old rc file (/etc/rc) with the new /usr/src/etc/rc file. The new one has ldconfig for aout and elf. I think this is your problem. If not, sorry 'bout that. later Michael Mercer Andrew Boothman wrote: > > Hi! > > I've upgraded my 2.2.7 system to 3.1 from the CD set, and everything > seems OK, apart from when I tried to run Afterstep, which I had made > under 2.2.7, it said > > "ld.so failed : Can't find shared library "libXpm.so.4.11" > > I've tried recompiling xpm from ports, after a make clean and a little > while, it says : > > making all in ./sxpm... > cc -O2 -I../exports/include -I../.. -I/usr/X11R6/include > -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c sxpm.c > rm -f sxpm > cc -o sxpm -O2 -L/usr/X11R6/lib sxpm.o -L../lib -L/usr/X11R6/lib > -lXpm -lXt -lSM -lICE -lXext -lX11 -lxpg4 > -Wl,-rpath,/usr/X11R6/lib:/usr/X11R6/lib > sxpm.o: In function `main': > sxpm.o(.text+0x3f4): undefined reference to `XpmReadFileToPixmap' > sxpm.o(.text+0x998): undefined reference to `XpmReadFileToPixmap' > sxpm.o(.text+0xa7f): undefined reference to `XpmCreatePixmapFromData' > sxpm.o(.text+0xac8): undefined reference to `XpmWriteFileFromPixmap' > sxpm.o: In function `Punt': > sxpm.o(.text+0xe5b): undefined reference to `XpmFreeAttributes' > sxpm.o(.text+0xec6): undefined reference to `XpmFreeAttributes' > sxpm.o: In function `VersionInfo': > sxpm.o(.text+0xf7d): undefined reference to `XpmLibraryVersion' > sxpm.o(.text+0xf8c): undefined reference to `XpmLibraryVersion' > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > > Can anybody help me here? > Thanks!! > -- > Andrew Boothman > http://www.boothman.easynet.co.uk/andrew/ > Do you what the government to have access to the nation's > encrypted files? http://www.stand.org.uk/ Take a stand! > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message