On Sun, Apr 12, 1998 at 11:07:02PM -0500, Alex Romosan wrote: > and the error: > > /usr/bin/ld: cannot open -lXpm: No such file or directory > collect2: ld returned 1 exit status > > but the library exists: > > ls -l /usr/X11R6/lib/libXpm.so.4* > 0 lrwxrwxrwx 1 root root 14 Apr 12 20:55 > /usr/X11R6/lib/libXpm.so.4 -> libXpm.so.4.10 > 54 -rw-r--r-- 1 root root 53408 Jan 25 09:33 > /usr/X11R6/lib/libXpm.so.4.10 > > if i replace -lXpm by /usr/X11R6/lib/libXpm.so.4 the program links > fine. does anybody have any idea what's going on here?
"ld" only looks for libXpm.so, not for libXpm.so.version. In Debian, libfoo.so is part of the libfoo-dev package, not of the libfoo package, as you need the header files (which are in libfoo-dev) to compile programs using libfoo. So it looks like you don't have "xpm4g-dev" installed. HTH, Ray -- J.H.M. Dassen | RUMOUR Believe all you hear. Your world may [EMAIL PROTECTED] | not be a better one than the one the blocks | live in but it'll be a sight more vivid. | - The Hipcrime Vocab by Chad C. Mulligan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]