Forum > Linux
[Solved] Zorin. Updating packages - error on ide rebuild.
iru:
Environment: lenovo T460s, mem 8G, hd 256G.
Zorin: 17.3.core.
Lazarus 4.2.
Problem:
Lazarus installs OK, add a couple of unit1 form, compiles and executes OK.
Problem occurs when using the On Line package manager.
Select BGRA build buttons (have read the directions on GitHub).
Click on 'Rebuild the IDE'. Rebuild then fails with:
Warning: linker: /usr/bin/ld: cannot find -lGL: No such file or directory
make[2]: *** [Makefile:4463: lazarus] Error 1
make[1]: *** [Makefile:4909: ide] Error 2
*** [Makefile(3168,0) Error: linker: ide] Error 2
No idea what/where '-IGL' is.
Which Makefile??? Checked /usr/share/lazarus/4.2.0 the Makefile there is not large enough for errors 4463 and 4909.
Any help/insparation appreciated.
Ian.
bobby100:
You are missing OpenGL dev package. Install it from your OS' package manager.
-lGL means something like libGL, and for the linker you need the DEV package for libGL.
cdbc:
Hi
Somehow, the linker cannot find the 'OpenGL' libraries on your system...?!?
"-lGL" means /link-in GL-library/
Regards Benny
iru:
Gentlemen,
Thank you both for your instructions - OpenGl is installed.....
However the rebuild process now fails with
Warning: linker: /usr/bin/ld: cannot find -lXtst: No such file or directory.
It looks like there is another missing library. 'Xtst'????
Can anyone help with a library name???
Ian
bytebites:
libXtst
Navigation
[0] Message Index
[#] Next page