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.
Keep getting this odd problem, i've installed the proprietary nvidia driver on slackware64, some things are failing to build when it requires libGLES...
slackbuild for "minetest" failing:
Code:
[ 99%] Building CXX object src/CMakeFiles/minetest.dir/version.cpp.o
[ 99%] Building CXX object src/CMakeFiles/minetest.dir/voxel.cpp.o
[100%] Building CXX object src/CMakeFiles/minetest.dir/voxelalgorithms.cpp.o
Linking CXX executable ../../bin/minetest
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/libGLESv2.so when searching for -lGLESv2
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: cannot find -lGLESv2
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/libGLESv2.so when searching for -lGLESv2
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: cannot find -lGLESv2
collect2: error: ld returned 1 exit status
make[2]: *** [../bin/minetest] Error 1
make[1]: *** [src/CMakeFiles/minetest.dir/all] Error 2
make: *** [all] Error 2
I noticed this:
Code:
# ls -l /usr/lib/libGLESv2.so
lrwxrwxrwx 1 root root 14 Jun 21 05:57 /usr/lib/libGLESv2.so -> libGLESv2.so.2*
# ls -l /usr/lib/libGLESv2.so.2
lrwxrwxrwx 1 root root 19 Jun 21 05:57 /usr/lib/libGLESv2.so.2 -> libGLESv2.so.331.79*
# file /usr/lib/libGLESv2.so.331.79
/usr/lib/libGLESv2.so.331.79: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
Why is it trying to include a 32bit library? And how can i get this to build. Thanks..
You don't say, but my guess is that you installed the nvidia stuff using the nvidia installer, not the SBo SlackBuild.
The SBo SlackBuild only installs 32 bit compatibility libraries if you request them. But IIRC the nvidia installer always installs them, including in particular the 32-bit-only libGLESv2 shared library that is causing your problem. The SBo minetest SlackBuild builds fine without OpenGL ES:
Code:
[ 99%] Building CXX object src/CMakeFiles/minetest.dir/voxel.cpp.o
[100%] Building CXX object src/CMakeFiles/minetest.dir/voxelalgorithms.cpp.o
Linking CXX executable ../../bin/minetest
[100%] Built target minetest
[ 0%] Built target jsoncpp
[ 0%] Built target GenerateVersion
[ 43%] Built target minetestserver
[100%] Built target minetest
Install the project...
-- Install configuration: "Release"
-- Installing: /tmp/SBo/package-minetest/usr/share/minetest/builtin
-- Installing: /tmp/SBo/package-minetest/usr/share/minetest/builtin/item_entity.lua
So uninstall the nvidia stuff completely, and then install it using the SBo SlackBuild.
I did install the driver using nvidia's installer directly (done that for many years) and not until recently have i used multilib on slackware, so that must be causing the conflict.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.