[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Program can't find shared libraries



"Allan F. Caetano" <afct@uol.com.br> wrote:
>>>>>> "Matt" == Matt Miller <mmiller@extremezone.com> 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:
>
>    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<path-to_your_app>/lib
>    export LD_LIBRARY_PATH

Note that you probably shouldn't put the second of those lines in
/etc/environment, since it's parsed by pam_env rather than being a shell
script.

Cheers,

-- 
Colin Watson                                     [cjw44@flatline.org.uk]



Reply to: