-   Slackware (
-   -   VitualGL-2.3.2 error on build on Slackware64-14.0 multilib (

frushiyama 07-15-2013 08:25 PM

VitualGL-2.3.2 error on build on Slackware64-14.0 multilib
I'm following, all others packages was builted fine, but i'm stacked on this error:

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/ 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

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?

WhiteWolf1776 07-16-2013 12:50 PM

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?

Cultist 07-16-2013 02:41 PM

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.

WhiteWolf1776 07-16-2013 07:34 PM

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.

ReaperX7 07-16-2013 08:38 PM

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:

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.

frushiyama 07-16-2013 09:35 PM

I cleaned up all my system and local sources, including multilib packages and downloaded it all again.
The 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:
When it's done I'll post what happened here.

WhiteWolf1776 07-16-2013 09:43 PM

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 :-)

ReaperX7 07-16-2013 10:34 PM

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.

frushiyama 07-21-2013 09:32 PM

Bumblebee is working fine now, followed 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 03:36 AM.