Re: Program can't find shared libraries
>>>>> "Colin" == Colin Watson <firstname.lastname@example.org> writes:
Colin> "Allan F. Caetano" <email@example.com> wrote:
>>>>>>> "Matt" == Matt Miller <firstname.lastname@example.org> writes:
Matt> 3. set some environment variable or something to tell
Matt> this particular suite of programs to check the app's
Matt> special /lib directory.
>> LD_LIBRARY_PATH is your friend, Matt. Add the following to your
>> ~/.bashrc, /etc/environment or whatever other file you get your
>> environment variables from:
>> export LD_LIBRARY_PATH
Colin> Note that you probably shouldn't put the second of those lines in
Colin> /etc/environment, since it's parsed by pam_env rather than being a shell
You're absolutely right, I just put /etc/environment there as an
example of "generic" environment file, that the original poster could
tweak to get his app to run.
Allan F. Caetano
Universo On Line - EngProd - F: (11) 224 4418
ComVc: 479966 ICQ: 68214944
"Who is this peer that keeps resetting my connection?
I have a broken pipe I wanna hit him with!"