Re: Losing my LD_LIBRARY_PATH

From: Darren Tucker (dtucker_at_gate.dodgy.net.au)
Date: 08/24/05


Date: 24 Aug 2005 14:28:04 GMT

On 2005-08-22, mdigiacomo@anteon.com <mdigiacomo@anteon.com> wrote:
> I'm trying to embed ssh (and sftp-server) on a flash disk running QNX
> 6.3, but I'm having an odd problem. I can ssh normally, but if I try
> to ssh, or run sftp-server from the invocation, it cannot find my
> libcrypto.so library.
>
> However, when I run the exact same configuration on a QNX hard drive,
> it works just fine. Does anyone know which startup files in QNX
> initialize LD_LIBRARY_PATH? I'm pretty sure it's not .profile,
> .bashrc, or /etc/profile.

Not sure about QNX, but on Unix it's set by whatever files your shell
reads when running "$SHELL -c command". I can't see how the flash vs.
hard disk would make any difference, though.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Quantcast