[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libX11.a?

On Wed, Jul 01, 1998 at 03:54:52AM -0700, Ian Eure wrote:
> ld: cannot open -lX11: No such file or directory
> make[1]: *** [maube] Error 1
> Phaktory# ls -l /usr/X11R6/lib/libX11*
> lrwxrwxrwx   1 root     root           13 Jun 26 07:42 /usr/X11R6/lib/libX11.so
> -> libX11.so.6.1
> lrwxrwxrwx   1 root     root           13 Jun 26 07:40 /usr/X11R6/lib/libX11.so.6 -> libX11.so.6.1
> -rw-r--r--   1 root     root       679276 Jun 23 14:48 /usr/X11R6/lib/libX11.so.

Did the last line got cut off? 

> /etc/ld.so.conf says:

/etc/ld.so.conf is only relevant for running binaries; not for compiling

The linker looks for libX11.so (not libX11.so.version); make sure it is a
symlink to an existing libX11.so.version .

If that doesn't help, add a '-v' to the compiler invocation to see the exact
arguments with which ld gets called.

POPULATION EXPLOSION  Unique in human experience, an event which happened 
yesterday but which everyone swears won't happen until tomorrow.  
- The Hipcrime Vocab by Chad C. Mulligan 

Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

Reply to: