Siduction Forum

Siduction Forum => Installation - Support => Topic started by: Sidpiet on 2025/10/13, 14:01:14

Title: [Solved]:Set path to a LIBRARY_PATH
Post by: Sidpiet on 2025/10/13, 14:01:14
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


Title: Re: Set path to a LIBRARY_PATH
Post by: eriefisher on 2025/10/13, 15:24:49
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.
Title: Re: Set path to a LIBRARY_PATH
Post by: Sidpiet on 2025/10/13, 18:41:07
Hello eriefisher,

thank you!

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

KR

Sidpiet
Title: Re: [Solved]:Set path to a LIBRARY_PATH
Post by: eriefisher on 2025/10/13, 19:10:56
Excellent!