Andrew Bennetts wrote: >On Mon, Dec 02, 2002 at 06:01:10AM +1100, Michael Lake wrote: > >>The make ended with an error near the end: >>/usr/bin/ld: cannot find -lGL >> >>Whats the GNU linker looking for ? Is it trying to link to Open GL by >>chance ? ie -lGL or some thing else that I dont ahve? >> > >Yep, it's looking for OpenGL. You'll need Mesa or other OpenGL libraries >installed. > Ah thanks Andrew. I have now installed "xlibmesa-dev-dri-trunk" and its happy for a while.....then its nearly there and:
gcc -g -O2 -o .libs/ekepoint ekepoint.o -L/home/mikel/src/ekepoint/lib/.libs /home/mikel/src/ekepoint/lib/.libs/.libs/libekepoint.so -L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib /usr/local/lib/libecore.so /usr/lib/libevas.so -lGL -lXrender /usr/lib/libImlib2.so /usr/lib/libttf.so -lm -ldl -lXext -lX11 -Wl,--rpath -Wl,/usr/local/lib gcc: /home/mikel/src/ekepoint/lib/.libs/.libs/libekepoint.so: No such file or directory make[2]: *** [ekepoint] Error 1 make[2]: Leaving directory `/home/mikel/src/ekepoint/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mikel/src/ekepoint' make: *** [all-recursive-am] Error 2 Note the gcc line. Its trying to find libekepoint.so in lib/.libs/.libs/ when its really in lib/.libs/ ekepoint$ ls -l lib/.libs/ lrwxrwxrwx 1 mikel mikel 20 Dec 3 02:10 libekepoint.so -> libekepoint.so.0.0.0 lrwxrwxrwx 1 mikel mikel 20 Dec 3 02:10 libekepoint.so.0 -> libekepoint.so.0.0.0 -rwxr-xr-x 1 mikel mikel 126810 Dec 3 02:10 libekepoint.so.0.0.0 Where in the blazes do I fix that up Conrad ? What Makefile do I change? ekepoint$ grep -r lib\/\.libs * src/Makefile.in:ekepoint_LDADD = -L../lib/.libs -lekepoint $(ECORE_LIBS) $(EVAS_LIBS) src/Makefile.in:ekemagic_LDADD = -L../lib/.libs -lekepoint $(ECORE_LIBS) $(EVAS_LIBS) src/Makefile.am:ekepoint_LDADD = -L../lib/.libs -lekepoint $(ECORE_LIBS) $(EVAS_LIBS) src/Makefile.am:ekemagic_LDADD = -L../lib/.libs -lekepoint $(ECORE_LIBS) $(EVAS_LIBS) src/Makefile:ekepoint_LDADD = -L../lib/.libs -lekepoint $(ECORE_LIBS) $(EVAS_LIBS) src/Makefile:ekemagic_LDADD = -L../lib/.libs -lekepoint $(ECORE_LIBS) $(EVAS_LIBS) ekepoint$ ls Mike UTS CRICOS Provider Code: 00099F DISCLAIMER ======================================================================== This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views the University of Technology Sydney. Before opening any attachments, please check them for viruses and defects. ======================================================================== -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
