-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Troubleshooting "missing" library files that actually exist #36
Comments
I am also having the same issue when trying to run tempered:
In addition, if I try to run hid-query I get the error:
When I do
I am running Centos 6.6. hidapi installed with no problems and I did not get any errors while compiling TEMPered. |
I think Ubuntu it is looking in /lib But the problem is in the compiler script i believe |
I tried the sym links and still no luck. Definitely seems like an error in the compiler script though... Were you able to find anything? I tinkered with it for a while, but couldn't find it. |
sudo cp /usr/local/lib/x86_64-linux-gnu/libtempered* /usr/lib/x86_64-linux-gnu/ works for me (on ubuntu) |
You have to add /usr/local/ib/x86_64-linux/gnu/libtempered directory (or wherever libs are) to ldconfig. |
@KazimierzFreightliner That doesn't work for me
|
Well, sorry to hear that. Unfortunately my TEMPerHum has broken down. I've bought $10 digitemp-compatible replacement and this one is working OOB with "digitemp" centos package. |
@KazimierzFreightliner Can you link to what you bought? |
I've bought it here: |
Ah it's not a humidity sensor. Ok, thanks. |
compiling and installing the tempered software puts the library files in /usr/local/lib (as mentioned above). |
I had the same problem and adding the library to /etc/ld.so.conf.d/tempered.conf and running ldconfig -v afterwards ended up working, I'm guessing something should be adjusted in the make files so that make install will end successfully without having to do this.
|
Hello!
This project is the only one that wants to compile under Centos 7 with a newer version of the TEMPerHum hardware. However, even though CMake compiles successfully and hid-query runs correctly, tempered throws a library file error:
tempered: error while loading shared libraries: libtempered.so.0: cannot open shared object file: No such file or directory
The files are in /usr/local/lib64:
[root@WardCamPC local]# pwd
/usr/local
[root@WardCamPC local]# ls -alh lib64
total 60K
drwxr-xr-x. 2 root root 4.0K Jun 5 15:10 .
drwxr-xr-x. 13 root root 4.0K Apr 27 17:56 ..
lrwxrwxrwx 1 root root 16 Jun 5 15:10 libtempered.so -> libtempered.so.0
-rwxr-xr-x 1 root root 36K Jun 5 15:09 libtempered.so.0
lrwxrwxrwx 1 root root 21 Jun 5 15:10 libtempered-util.so -> libtempered-util.so.0
-rwxr-xr-x 1 root root 13K Jun 5 15:09 libtempered-util.so.0
I tried making symbolic links int /usr/local/lib , but that didn't help.
How can I troubleshoot this?
Thanks!
The text was updated successfully, but these errors were encountered: