- marked as minor
-
assigned issue to
- changed status to resolved
Fix the chai gl linker in
+++ b/applications-linux/scl_gc_ctrl/Makefile @@ -30,7 +30,7 @@ CHAI_FIN_LIB_DIR = -L$(CHAI_INC_DIR)../lib/release/ -Wl,--rpat CHAI_LIB_DBG = -lchai3d CHAI_LIB_FIN = -lchai3d CHAI_DEFS = -D_LINUX \ - -lpthread -lrt -lGL -lGLU -lglut + -lpthread -lrt -lGLU -lglut
Comments (2)
-
repo owner -
reporter This error statement during building helped me to solve the problem:
/usr/bin/ld: cannot find -lGL
The linkage on my computer between the openGL library and the place where other software looks for it, was broken...
just found the library and associated the right files:
ln -s /usr/lib/fglrx/libGL.so.1.2 /usr/lib/libGL.so
Basically the fglrx driver (Proprietary AMD ATI Graphics driver) did not set up a correct link to the
usr/lib/
, it only kept the library one level below in/usr/lib/fglrx/
without linking itIt could be, that there is a broken link libGL.so already existing in the
/usr/lib/
directory, remove it before running the command - Log in to comment
Robert has some notes on a possible fix.