Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-15-2013, 08:25 PM
|
#1
|
Member
Registered: Oct 2010
Location: Brazil, SP - Cosmópolis
Distribution: Slackware
Posts: 172
Rep:
|
VitualGL-2.3.2 error on build on Slackware64-14.0 multilib
I'm following http://docs.slackware.com/howtos:har...nvidia_optimus, all others packages was builted fine, but i'm stacked on this error:
Code:
Building CXX object server/fltk/CMakeFiles/fltk_static.dir/fl_symbols.cxx.o
[ 72%] [ 72%] Building CXX object server/fltk/CMakeFiles/fltk_static.dir/screen_xywh.cxx.o
Building C object server/fltk/CMakeFiles/fltk_static.dir/flstring.c.o
Linking CXX static library ../../lib/libfltk_static.a
[ 72%] Built target fltk_static
Linking CXX executable ../bin/fakerut
/usr/lib/libGL.so: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [bin/fakerut] Error 1
make[1]: *** [server/CMakeFiles/fakerut.dir/all] Error 2
make: *** [all] Error 2
root@R500VD-BS71:/usr/src/Bumblebee-SlackBuilds/VirtualGL#
The Slackbuild was called with COMPAT32=yes, i have both mesa's package (i486 and the compat32 equivalent) from alien's bob repository which was built with glapi enabled.
What should i do to build this package?
|
|
|
07-16-2013, 12:50 PM
|
#2
|
Member
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288
Rep:
|
if primus built, I wouldn't worry about VirtualGL. It is quite a bit slower anyway.
Did you build the nvidia packages with COMPAT32=yes?
|
|
|
07-16-2013, 02:41 PM
|
#3
|
Member
Registered: Feb 2010
Location: Virginia
Distribution: Slackware64 14.2
Posts: 779
Rep: 
|
it's looking for 64 bit OpenGL libs in /usr/lib, which has your 32-bit libs in it. A quick fix might be to make a quick backup of the /usr/lib/OpenGL libs, then symlink the openGL files from /usr/lib64 into /usr/lib, then replace the 32 bit files after finishing your Bumblebee setup.
There's probably a better way but that's the first thing that comes to mind and I'm in the middle of a class so I don't have time to help work you through a better solution.
|
|
|
07-16-2013, 07:34 PM
|
#4
|
Member
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288
Rep:
|
Had a bit more time to look into this... and it's driving me nuts. Can you give the version and location of what mesa packages you installed?
I built this just a few weeks ago and it worked fine. Started with VirtuaGL as I didn't want to mess with mesa updates.. but primus was so much faster I just use that now. Still, I expect it to work.
There has to be something wonky with the mesa you are using... just not sure what or why yet.
|
|
|
07-16-2013, 08:38 PM
|
#5
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
The only libmesa packages you should have are the compat32 and the native x64 packages, not the i486. You might need to remove the i486 package entirely and reinstall the native x64 packages for libmesa.
When you install the 32-bit compatibility layer you should only install those libraries and packages AlienBOB lists on his FTP and no other packages, or you will have issues.
After you have restored your libmesa x64 packages, the compat32 packages, and cleaned up your system, follow the instructions here:
http://docs.slackware.com/howtos:har...nvidia_optimus
To get BumbleBee working for your Nvidia Optimus card. Make sure you follow the instructions EXACTLY as written, or else it will not work at all.
|
|
|
07-16-2013, 09:35 PM
|
#6
|
Member
Registered: Oct 2010
Location: Brazil, SP - Cosmópolis
Distribution: Slackware
Posts: 172
Original Poster
Rep:
|
I cleaned up all my system and local sources, including multilib packages and downloaded it all again.
The http://docs.slackware.com/howtos:har...nvidia_optimus instructions has been updated and if VirtualGL is not a dependency anymore, I'll not use it.
It appears that i misplaced the mesa package with some wrong architecture/compat32 package.
Now i have these 2 mesa packages from alien multilib mirrors:
mesa-8.0.4-x86_64-1
mesa-compat32-8.0.4-x86_64-1compat32
When it's done I'll post what happened here.
|
|
|
07-16-2013, 09:43 PM
|
#7
|
Member
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288
Rep:
|
Those look right now. I just got the time to get the how-to updated today. The readme included in the bumblebee git was more up to date. I'm not sure why VirtualGL was marked in the how-to as a dependency, but as you see, that has all been corrected.
Have to tell you, once you see this really work... It is very cool :-)
Last edited by WhiteWolf1776; 07-17-2013 at 06:18 AM.
|
|
|
07-16-2013, 10:34 PM
|
#8
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Yes, if you don't need VirtualGL don't build and install it. Primusrun works much better. I highly recommend you use the Nvidia proprietary driver rather than Nouveau as it tends to work a bit better for applications and the system in general at times.
|
|
|
07-21-2013, 09:32 PM
|
#9
|
Member
Registered: Oct 2010
Location: Brazil, SP - Cosmópolis
Distribution: Slackware
Posts: 172
Original Poster
Rep:
|
Bumblebee is working fine now, followed http://docs.slackware.com/howtos:har...nvidia_optimus instructions of instalation.
VirtualGL is not a depence anymore, so i'll not install it.
Tks for all help.
|
|
|
All times are GMT -5. The time now is 07:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|