SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It's rather self-explanatory: problem with OpenGL library ("cannot find -lGL"), which exists but seems to be incompatible ("skipping incompatible /usr/lib/libGL.so"). Does /usr/lib/libGL.so link to the x86_64 library? Are you using mesa or proprietary drivers ?
It's rather self-explanatory: problem with OpenGL library ("cannot find -lGL"), which exists but seems to be incompatible ("skipping incompatible /usr/lib/libGL.so"). Does /usr/lib/libGL.so link to the x86_64 library? Are you using mesa or proprietary drivers ?
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL
You see that /usr/lib64/blah is skipping inocompatible /usr/lib/libGL.so
Why is something from the 64bit /usr/lib64 looking in 32bit location /usr/lib ? You need to point your liker to your 64 bit libraries and tell it to ignore the 32bit stuff (which is explained in the link that bassmadrigal provides).
This is likely due to you running multilib. See the SBo FAQ entry on multilib. It will likely fix your problem.
This is the part of Mr. Raharjo's slackbuild for digikam where I would add ""LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" "" per Slackbuild FAQ #18. But it doesn't look familiar to me.
Thanks everyone for helping me get my head out of my arse.
So the ld command wanted specifically libGL.so It tried to find it in /usr/lib64/ but it wasn't there so it went to /usr/lib/. the ld command found a libGL.so and tried to use the -lGL flag to the 32bit libGL.so but it showed to be incompatible. Used the 'file' command to get some info from /usr/lib/libGL.so and it was a symlink to /usr/lib/libGL.so.1. Aha!? So I created a /usr/lib64/libGL.so symlink targeted to /usr/lib64/libGL.so.1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.