[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: problems linking the GL-enabled version of pcb



On Wed, 2010-04-14 at 11:50 +0000, Kai-Martin Knaak wrote:
> Hi.
> After I reinstalled the drivers of my nvidia graphcs card, the GL enabled 
> pcb version of Peter Clifton fails at link time. Error message is:
> 
> /usr/bin/ld: cannot find -lGL
> collect2: ld returned 1 exit status
> 
> This looks to me like the library libGL is missing. However, a run of 
> "configure" was fine with no errors and ldconfig can find libGL:
> 
> $ sudo ldconfig -p|grep libGL.so
> 	libGL.so.1 (libc6) => /usr/lib/libGL.so.1
> 
> What is missing on my desktop?

libGL.so != libGL.so.1

Try a symlink between /usr/lib/libGL.so to libGL.so.1

NB: On my box, which is Intel GFX, hence uses the mesa GL drivers:

sudo ldconfig -p|grep libGL.so
	libGL.so.1 (libc6) => /usr/lib/mesa/libGL.so.1
	libGL.so (libc6) => /usr/lib/mesa/libGL.so
	libGL.so (libc6) => /usr/lib/libGL.so
pcjc2@pcjc2lap:~$ ls -l /usr/lib/libGL.so 
lrwxrwxrwx 1 root root 13 2010-04-14 17:57 /usr/lib/libGL.so -> mesa/libGL.so


-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user