windytan / redsea

Command-line FM-RDS decoder with JSON output.
MIT License
390 stars 36 forks source link

redsea exiting when libliquid.so not found #50

Closed davidsrsb closed 7 years ago

davidsrsb commented 7 years ago

Same problem as issue 41, but a restart does not solve it Ubuntu 16.04 64 bit libliquid.so is installed to /usr/local/lib/libliquid.so

I get redsea: error while loading shared libraries: libliquid.so: cannot open shared object file: No such file or directory

windytan commented 7 years ago

Does this work?

https://unix.stackexchange.com/questions/67781/use-shared-libraries-in-usr-local-lib

For the current session you can

export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib

or to make the change permanent you can add /usr/local/lib to /etc/ld.so.conf (or something it includes) and run ldconfig as root.

davidsrsb commented 7 years ago

/etc/ld.so.conf.d/libc.conf already contained a /usr/local/lib entry, so I ran sudo ldconfig and the library is now found

windytan commented 7 years ago

Great!