Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error: /usr/bin/ld: cannot find -lGL #39

Open
mistergibson opened this issue Jan 1, 2018 · 0 comments
Open

Build Error: /usr/bin/ld: cannot find -lGL #39

mistergibson opened this issue Jan 1, 2018 · 0 comments

Comments

@mistergibson
Copy link

gem install qml

... building messages ...

rm -f libqmlbind.so.1.0.0 libqmlbind.so libqmlbind.so.1 libqmlbind.so.1.0
g++ -m64 -Wl,-O1 -shared -Wl,-soname,libqmlbind.so.1 -o libqmlbind.so.1.0.0 api_application.o api_engine.o api_iterator.o api_value.o metaobject.o api_metaobject.o wrapper.o api_string.o api_component.o typeregisterer.o api_register.o exporter.o api_exporter.o api_interface.o interface.o backref.o signalemitter.o api_signal_emitter.o engine.o api_plugin.o moc_engine.o -L/usr/X11R6/lib64 -lQt5Widgets -lQt5Quick -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -lGL -lpthread
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
Makefile:330: recipe for target 'libqmlbind.so.1.0.0' failed
make: *** [libqmlbind.so.1.0.0] Error 1
ERROR: Failed to build libqmlbind

Note: my mesa libs (libGL.so) are all installed at /usr/lib/x86_64-linux-gnu/mesa and are included in /etc/ld.so.cache - all mesa libs and headers are present. I even reset my ld cache to allow for stale data as the cause. Nope - won't build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant