Build fail (Linux), "cannot find -lGL"

classic Classic list List threaded Threaded
4 messages Options
julien2412 julien2412
Reply | Threaded
Open this post in threaded view
|

Build fail (Linux), "cannot find -lGL"

Hello,

On pc Debian x86-64 with master sources updated today, the build with these messages:
mkdir -p /home/julien/compile-libreoffice/libreoffice/instdir
/home/julien/compile-libreoffice/libreoffice/solenv/bin/install-gdb-printers -a /home/julien/compile-libreoffice/libreoffice/instdir -c
make -j 4  -rs -f /home/julien/compile-libreoffice/libreoffice/Makefile.gbuild    all
[build PRJ] langtag
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
Makefile:113: recipe for target 'lib/libGLEW.so.1.12.0' failed
make[2]: *** [lib/libGLEW.so.1.12.0] Error 1
/home/julien/compile-libreoffice/libreoffice/external/glew/ExternalProject_glew.mk:29: recipe for target '/home/julien/compile-libreoffice/libreoffice/workdir/ExternalProject/glew/build' failed
make[1]: *** [/home/julien/compile-libreoffice/libreoffice/workdir/ExternalProject/glew/build] Error 1
make[1]: *** Waiting for unfinished jobs....

I launched "./g pull -r && make clean && autogen.sh && make"

Build was working 2 days ago (yesterday, I had just done "./g pull -r && make")

Any idea?

Julien
julien2412 julien2412
Reply | Threaded
Open this post in threaded view
|

Re: Build fail (Linux), "cannot find -lGL"

GNU Make 4.0
ldd (Debian GLIBC 2.19-22) 2.19
julien2412 julien2412
Reply | Threaded
Open this post in threaded view
|

Re: Build fail (Linux), "cannot find -lGL"

In reply to this post by julien2412
I hadn't Googled so I'll try hints provided nad keep you informed.

Julien
julien2412 julien2412
Reply | Threaded
Open this post in threaded view
|

[SOLVED] Re: Build fail (Linux), "cannot find -lGL"

"apt-get build-dep libreoffice" allowed me to find the missing lib.
It builds right now, sorry for the noise.

Julien