Hi Alex,

This should be an easy fix, although it has nothing to do with ssh or
SOCKS5.

For some crazy reason Red Hat does not put /usr/local/lib in the search
path for shared libraries. Do this as root user.

# vi /etc/ld.so.conf

You will probably see something like this:

/usr/X11R6/lib
/usr/lib
/usr/local/lib              <--- Add this line
/usr/i486-linux-libc5/lib
/usr/lib/qt-2.0.1/lib
/usr/lib/qt-1.44/lib

Then also as root execute:

# ldconfig

This last command will search all directories in the /etc/ld.so.conf file
and put them in a database.

Now run your program, I bet it will work. By the way, any time you add new
libraries be sure their path is in the /etc/ld.so.conf file and run
ldconfig.

Carl

On 22-Mar-00 Alex Panchula wrote:
> I'm running RH6.0 behind a firewall. I have installed SOCKS5 to
> communicate through a firewall, which seems to forward my FTP
> connection
> without of problem.  However, when I try to run SSH 1.2.27 with the
> runsocks command I get the following error message.
> 
> ssh:error in loading shared libraries: libsock5_sh_so: cannot open
> shared
> object file: no such file or directory.
> 
> I tried envoking the --with-socks, and --with-sock5 flag during SSH
> configuration but I got the same result.  Is there anyway to tell ssh
> where the library is explicitly.  I found the library in the
> /usr/local/lib/. directory.
> 
> Any help would be appreciated.
> 
> Alex
> 
> [EMAIL PROTECTED]

------------------------------------------------------------------------
E-Mail: Carl J. Nobile <[EMAIL PROTECTED]>
Date: 22-Mar-00                             Phone: 315-453-2912 Ex. 5336
Time: 20:29:10                                Fax: 315-453-3052

Software Engineering Group -- AppliedTheory Corp.
224 Harrison Street, 6th Floor, Syracuse, NY  13202
------------------------------------------------------------------------

Reply via email to