[Solved]:Set path to a LIBRARY_PATH

Started by Sidpiet, 2025/10/13, 14:01:14

Previous topic - Next topic

Sidpiet

Dear Siduction Forum,

I compiled a programm on my own and placed it in ~/bin.
in ~/bin/app/lib is a needed library.
I added this path in  /etc/ld.so.conf.d/mylib and started ldconfig.

But it does not work.

And echo $LD_LIBRARY_PATH shows nothing.
The variable seems not to be used in Siduction.

How can I setup a local library path in Siduction?

Thank you!

Kind regards

Sidpiet



eriefisher

I believe you need to put the lib in whatever directory then create /etc/ld.so.conf/mylibs.conf with a list of full paths to the directory only.
Once that is done run as root or sudo:
ldconfig
This should update it.
I AM CANADIAN!

Sidpiet

Hello eriefisher,

thank you!

I renamed mylib to mylib.conf .
After ldconfig everything is fine!

KR

Sidpiet

eriefisher

I AM CANADIAN!