[SOLVED]Lazarus rebuild fails when install OpenGL-related components lazarus / 70-OpenGL ---------------------------------------------------------------------- Hydexon · 2012-12-23 02:10 Hello, i don't know if this issue for anothers, but i when i compile a OpenGL-related component package (GLScene, TOpenGLContext) work's fine, but the issue is for install the design-time packages and rebuild the IDE, fails, because ld -lGL and GLUdon't exist. Here's the Lazarus output (The visible and hidden messages) when i trying to compile GLScene (Snapshot). Code: [Select]make: Entering directory `/usr/share/lazarus/1.0.4' /usr/bin/make -C ide idepkg make[1]: Entering directory `/usr/share/lazarus/1.0.4/ide' /usr/bin/make --assume-new=lazarus.pp lazarus OPT=' @/home/hydexon/.lazarus/idemake.cfg -FU/home/hydexon/.lazarus/units/i386-linux/gtk2 -FE/home/hydexon/.lazarus/bin -o/home/hydexon/.lazarus/bin/lazarus' make[2]: Entering directory `/usr/share/lazarus/1.0.4/ide' /usr/bin/fpc -gl -Sci -dlclgtk2 -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../components/custom -Fuframes -Fu. -Fu/usr/lib/fpc/2.6.0/units/i386-linux/rtl -Fu/usr/lib/fpc/2.6.0/units/i386-linux/paszlib -Fu/usr/lib/fpc/2.6.0/units/i386-linux/fcl-process -Fu/usr/lib/fpc/2.6.0/units/i386-linux/hash -Fu/usr/lib/fpc/2.6.0/units/i386-linux/fpmkunit -Fu/usr/lib/fpc/2.6.0/units/i386-linux/regexpr -Fiinclude -Fiinclude/linux -Fi../images -FE.. -FU../units/i386-linux/gtk2 -Fl/usr/lib/gcc/i686-linux-gnu/4.6 -Flinclude -Fl/etc/ld.so.conf.d/*.conf @/home/hydexon/.lazarus/idemake.cfg -FU/home/hydexon/.lazarus/units/i386-linux/gtk2 -FE/home/hydexon/.lazarus/bin -o/home/hydexon/.lazarus/bin/lazarus -di386 lazarus.pp Free Pascal Compiler version 2.6.0 [2012/08/24] for i386 Copyright (c) 1993-2011 by Florian Klaempfl and others Target OS: Linux for i386 Compiling lazarus.pp Compiling resource /home/hydexon/.lazarus/units/i386-linux/gtk2/lazarus.or Linking /home/hydexon/.lazarus/bin/lazarus /usr/bin/ld: warning: /home/hydexon/.lazarus/bin/link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lGL /usr/bin/ld: cannot find -lGLU /usr/bin/ld: cannot find -lXxf86vm lazarus.pp(133,1) Error: Error while linking /usr/bin/ld: warning: /home/hydexon/.lazarus/bin/link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lGL /usr/bin/ld: cannot find -lGLU /usr/bin/ld: cannot find -lXxf86vm /usr/share/lazarus/1.0.4/ide/lazarus.pp(133,1) Error: Error while linking /usr/share/lazarus/1.0.4/ide/lazarus.pp(133,1) Fatal: There were 1 errors compiling module, stopping Using Linux Mint 13 Maya, GNOME 3.4, Lazarus 1.0.4 with FPC 2.6.0 x86 (Stables) in GTK2 Widgetset. ---------------------------------------------------------------------- Hydexon · 2012-12-23 03:29 Solved,  just i need to install the mesa-common-dev and freeglut3-dev packages an creating an symbolic link Xxf86vm.so.1 to Xxf86vm.so in the same directory is located