On Saturday 02 August 2003 01:31, Christian Aust wrote:
> 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)
>
yep, change files in /etc/env.d. Also take a look at /etc/login.defs to change 
the path when "su"ing to root.

Reagrds,
Jason


--
[EMAIL PROTECTED] mailing list

Reply via email to