Primus package bug

Anton Fedorov datacompboy at call2ru.com
Thu Jun 13 18:17:16 UTC 2013


Hello!

Primus under jessie not working with:
===================
primus: fatal: failed to load any of the libraries:
/usr/$LIB/libGL.so.1:/usr/lib/$LIB/libGL.so.1:/usr/$LIB/mesa/libGL.so.1:/usr/lib/$LIB/mesa/libGL.so.1
 /usr/$LIB/libGL.so.1: cannot open shared object file: No such file or directory
 /usr/lib/$LIB/libGL.so.1: cannot open shared object file: No such file or
directory
 /usr/$LIB/mesa/libGL.so.1: cannot open shared object file: No such file or
directory
 /usr/lib/$LIB/mesa/libGL.so.1: cannot open shared object file: No such file or
directory
===================

Trouble is:
open("/usr/lib64/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
 open("/usr/lib/lib64/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file
or directory)
 open("/usr/lib64/mesa/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
 open("/usr/lib/lib64/mesa/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)

So, it set incorrect $LIB.

Need to fix debian/rules:

 # Where to put the resulting library during build
-BUILD_LIBDIR ?= lib
+BUILD_LIBDIR ?= lib/$(DEB_HOST_MULTIARCH)

after that, "optirun glxgears" working excellent.

-- 
Regards,
Anton Fedorov
Call2ru service
E-Mail: datacompboy at call2ru.com
Jabber: datacompboy at call2ru.com
Skype: datacompboy
ICQ: 272-35-262
Mobile: +7-913-925-7974 [SMS 24h, Call 05:00-19:00 MSKT (GMT+3)]




More information about the pkg-nvidia-devel mailing list