alex-sever-h / boblight

Automatically exported from code.google.com/p/boblight
GNU General Public License v3.0
0 stars 0 forks source link

boblight-X11: ERROR: libboblight.so: cannot open shared object file: No such file or directory #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. compile from svn
2. start boblightd
3. start boblight-X11 or boblight-constant

What version of the product are you using? On what operating system?
rev318

Original issue reported on code.google.com by sheeps...@gmx.de on 3 May 2010 at 2:04

GoogleCodeExporter commented 8 years ago
Run ldconfig as root, it should find it then.

Original comment by bob.loo...@gmail.com on 19 May 2010 at 8:29

GoogleCodeExporter commented 8 years ago
Using strace i get:
open("/usr/lib64/libboblight.so", O_RDONLY) = -1 ENOENT (No such file or 
directory)

However the file is located here: /usr/local/lib/libboblight.so

Creating a symlink makes it work:
hurra src # ln -s /usr/local/lib/libboblight.so /usr/lib64/libboblight.so

Is the buildsystem broken, or what am i doing wrong?

Original comment by sheeps...@gmx.de on 19 May 2010 at 9:30

GoogleCodeExporter commented 8 years ago
I think you need to add /usr/local/lib to /etc/ld.so.conf and run ldconfig as 
root again.
/usr/local/lib is the default path to install local libraries as mandated by the
filesystem hierarchy standard.
I'm passing "libboblight.so" to dlopen, it's up to the system to find the 
library.

Original comment by bob.loo...@gmail.com on 20 May 2010 at 1:41

GoogleCodeExporter commented 8 years ago

Original comment by bob.loo...@gmail.com on 3 Aug 2010 at 10:26

GoogleCodeExporter commented 8 years ago
This worked perfectly for me.
Thank you

Original comment by terkel.b...@gmail.com on 17 May 2013 at 8:22