Mikhail P. wrote:
I suggest that you put PATHs to /etc/ld.so.conf and run ldconfig. This will affect all users gloabally and will set paths automatically after each reboot.
If you want LD_LIBRARY_PATH per user basis, put the export
(export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:...:...) to user's ~/.bashrc file and it will export LD PATHs every time user logins.

A probably more gentoo'ish way to do this would be to add a file to /etc/env.d/, insert your changes there and run env-update to refrsh ldconfig's cache when you're done. I think ld.so.conf get's overwritten with the contents of /etc/env.d/ files each time you emerge something. (Because new packages could introduce new libraries or change existing ones)


I've done this for a couple of times, take a look at the files already exiting there to get some examples, but insert a new file to add your changes. Best regards,

- Christian

--

Christian Aust
mailto:[EMAIL PROTECTED]
icq: 84500990 - Yahoo!: datenimperator - MSN: datenimperator
PGP: A073 F9CD 2F23 25D2 EB95 E7A3 B9B4 2AF3 E103 DB5A


-- [EMAIL PROTECTED] mailing list



Reply via email to