You are not logged in.

#1 2013-04-09 03:26:55

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

[Solved] Primus error (Unable to load libraries)

I use bumblebee and occasionally will run 'primusrun glxgears' just to see it actually work. Tonight I gave it a whirl and received an error that I have not seen before.

 [~]: primusrun glxgears
primus: fatal: failed to load any of the libraries: /usr/lib/nvidia-bumblebee/libGL.so.1:/usr/lib32/nvidia-bumblebee/libGL.so.1
/usr/lib/nvidia-bumblebee/libGL.so.1: cannot open shared object file: No such file or directory
/usr/lib32/nvidia-bumblebee/libGL.so.1: cannot open shared object file: No such file or directory

First thought was to go look for the files, and they aren't there but instead in /usr/lib/nvidia

[~]: cd /usr/lib/nvidia/
[nvidia]: ls
libGL.so  libGL.so.1  libGL.so.313.30  xorg

I am not sure if I am to blame as I used to use various different packages from the AUR to handle bumblebee and now it is in community. (Possible I broke it during the transition?)

Cheers.

EDIT:
I also used ABS to look at the PKGBUILD and see primus is installing the libGL.so to /usr/lib/primus

[~]: ls /usr/lib/primus/
libGL.so.1

Seems odd it installs to one location yet attempts to use the .so from another location.


ANOTHER EDIT:

symlinking to /usr/lib/nvidia-bumblebee and primus runs as it should. Is this something that constitutes filling a bug? I have never done so.

Cheers again. smile

Last edited by doug piston (2013-04-09 05:05:40)

Offline

#2 2013-04-09 04:35:13

Jodell
Member
Registered: 2009-10-09
Posts: 285

Re: [Solved] Primus error (Unable to load libraries)

Check your bumblebee config.

Offline

#3 2013-04-09 05:05:15

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: [Solved] Primus error (Unable to load libraries)

Jodell wrote:

Check your bumblebee config.

Done and solved. Can't believe I missed that. Thanks.

Offline

Board footer

Powered by FluxBB