OpenSSH & OpenSSL directory location problem.

jpiszcz jpiszcz at lucidpixels.com
Sat Feb 1 11:58:54 EST 2003


I am aware of setting the LD_LIBRARY_PATH in an interactive shell:
/etc/profile
/etc/bashrc
~/.bashrc
~/.bash_profile
~/.profile

How do you set the non-interactive one?

Ben Lindstrom wrote:

>No just means you didn't set the LD_LIBRARY_PATH in your non-interactive
>login shell path.  Nothing to do with SSH.
>
>- Ben
>
>On Fri, 31 Jan 2003, jpiszcz wrote:
>
>  
>
>>[war at war war]$ ssh war at p300 '/bin/echo $LD_LIBRARY_PATH'
>>war at p300's password:
>>
>>[war at war war]$
>>
>>Possible bug in SSH?
>>
>>Darren Tucker wrote:
>>
>>    
>>
>>>jpiszcz wrote:
>>>
>>>
>>>      
>>>
>>>>war at p300's password:
>>>>scp: error while loading shared libraries: libcrypto.so.0.9.6: cannot
>>>>open shared object file: No such file or directory
>>>>
>>>>
>>>>        
>>>>
>>>[snip]
>>>
>>>
>>>      
>>>
>>>>So question = why does it work fine with sshd and not scp?
>>>>
>>>>
>>>>        
>>>>
>>>The error is coming from the scp running at the other end of the ssh
>>>connection.  Maybe LD_LIBRARY_PATH is different when logging on
>>>non-interactively?
>>>
>>>Try ssh user at host '/bin/echo $LD_LIBRARY_PATH'
>>>
>>>
>>>
>>>      
>>>
>>_______________________________________________
>>openssh-unix-dev mailing list
>>openssh-unix-dev at mindrot.org
>>http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>>
>>    
>>
>
>
>
>  
>





More information about the openssh-unix-dev mailing list