Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Compiling and linking programs



At 11:15 AM 12/14/96 -0500, you wrote:
>I'm trying to compile and link gnuplot and I consistently receive the
>following error:
>
>/usr/i486-linux/bin/ld: cannot open -lX11: No such file or directory
>
>I think the loader is complaining about not being able to find libX11.a.
>Is this right?  Is there a way around this, maybe by specifting a
>different library?
>
>I'm running slackware96 with a 2.0.24 ELF kernel.
>
>                            Thanks,
>                                    Chuck
>

I'd find out which directory libX11.a or libX11.so was in, and include it on
the appropriate line in the Makefile, like -L/usr/X11/lib -lX11 or something.

Jack.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org