Subject: 1.4.2 to 1.5_BETA and library problems
To: None <>
From: Jeremy C. Reed <>
List: current-users
Date: 10/26/2000 02:02:01
I updated my 1.4.2 system to 1.5_BETA by grabbing the *.tgz sets and
overwriting my system (except for etc.tgz which I used my new script for
updating /etc).

Using the new /etc/, I couldn't use cvs, X or various other
programs. So I rebuilt cvs via pkgsrc and updated the /etc/

I am getting errors like:
Shared object "" not found
/usr/libexec/ rxvt: No such file or directory
/usr/libexec/ bbkeys: No such file or directory
/usr/libexec/ lynx: No such file or directory

Now my /etc/ looks like:       machdep.fpu_present,

When I run ldconfig, I get:
ldconfig: can't open `/emul/aout//etc/'

This /emul/aout didn't exist.

Now X works, but I am trying to build rxvt from pkgsrc.

Using a couple week old pkgsrc and a new pkgsrc, when I build
pkgsrc/graphics/xpm I receive:

gcc -o sxpm -O2      -L/usr/X11R6/lib sxpm.o -L../lib -L/usr/X11R6/lib
-lXpm -lXt -lSM -lICE -lXext -lX11      -Wl,-rpath,/usr/X11R6/lib
sxpm.o: In function `main':
sxpm.o(.text+0x409): undefined reference to `XpmReadFileToPixmap'
sxpm.o(.text+0xace): undefined reference to `XpmReadFileToPixmap'
sxpm.o(.text+0xba3): undefined reference to `XpmCreatePixmapFromData'
sxpm.o(.text+0xbee): undefined reference to `XpmWriteFileFromPixmap'
sxpm.o: In function `Punt':
sxpm.o(.text+0xf7f): undefined reference to `XpmFreeAttributes'
sxpm.o(.text+0xfea): undefined reference to `XpmFreeAttributes'
sxpm.o: In function `VersionInfo':
sxpm.o(.text+0x10e1): undefined reference to `XpmLibraryVersion'
sxpm.o(.text+0x10f0): undefined reference to `XpmLibraryVersion'
collect2: ld returned 1 exit status
*** Error code 1


I am not sure, but it seems like I read that I changed from a.out to ELF
(the INSTALL document is unclear -- it thinks it is 1.4) and the ELF webpage says that is used differently (or not
really needed) with ELF.

I think I am missing some xpm files.
$ ls -l /usr/X11R6/lib/*Xpm*
-rw-r--r--  1 root  wheel  58478 Feb  9  2000 /usr/X11R6/lib/libXpm.a

Can anyone point me to the documentation for upgrading libraries? Or does
anyone have any advice on fixing this problem?


   Jeremy C. Reed