Page 1 of 1

SHARED LIBRARY ARCH LINUX

Posted: Fri Mar 17, 2023 9:45 am
by spandex
tdtool
tdtool: error while loading shared libraries: libtelldus-core.so.2: cannot open shared object file: No such file or directory


Can someone explain how to fix this ?

Re: SHARED LIBRARY ARCH LINUX

Posted: Fri Mar 17, 2023 9:45 am
by micke.prag
Probably by running:

Code: Select all

$ sudo ldconfig

Re: SHARED LIBRARY ARCH LINUX

Posted: Fri Mar 17, 2023 9:45 am
by spandex
i tried that several times.. does not work.

Re: SHARED LIBRARY ARCH LINUX

Posted: Fri Mar 17, 2023 9:45 am
by micke.prag
Do you have the file libtelldus-core.so.2? If you do, where is it?

Re: SHARED LIBRARY ARCH LINUX

Posted: Fri Mar 17, 2023 9:45 am
by spandex
SOLVED

Everything was installed...

Just needed


export LD_LIBRARY_PATH=/usr/local/lib

Re: SHARED LIBRARY ARCH LINUX

Posted: Fri Mar 17, 2023 9:45 am
by daru
spandex wrote:SOLVED

Everything was installed...

Just needed


export LD_LIBRARY_PATH=/usr/local/lib
Yeah. Works for me too. But not after reboot. Howto make this permanent?

Re: SHARED LIBRARY ARCH LINUX

Posted: Fri Mar 17, 2023 9:45 am
by micke.prag
Add the path in /etc/ld.so.conf and run

Code: Select all

sudo ldconfig

Re: SHARED LIBRARY ARCH LINUX

Posted: Fri Mar 17, 2023 9:45 am
by daru
micke.prag wrote:Add the path in /etc/ld.so.conf and run

Code: Select all

sudo ldconfig
Thanks. Found that and other ways to do it but was unsure what the preferred way was.