<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error loading library files in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785767#M78362</link>
    <description>Check "ssh" permissions (binary and shared libs).&lt;BR /&gt;&lt;BR /&gt;Try with another networking client software (telnet, ftp).&lt;BR /&gt;&lt;BR /&gt;Run it as root and use "ipcs -a" to check whether libsocks5_sh and/or ssh use shared memory, msg queues or semaphore. Check their permissions.&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;Kodjo&lt;BR /&gt;</description>
    <pubDate>Thu, 15 Aug 2002 21:14:50 GMT</pubDate>
    <dc:creator>Kodjo Agbenu</dc:creator>
    <dc:date>2002-08-15T21:14:50Z</dc:date>
    <item>
      <title>Error loading library files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785763#M78358</link>
      <description>I have installed runsocks RPM on my RH7.1 box which will allow programs like "ssh" and "telnet" to traverse the firewall.&lt;BR /&gt;&lt;BR /&gt;The problem is that I seem to be able to run the program only as root instead of a normal user:&lt;BR /&gt;&lt;BR /&gt;$ /usr/bin/runsocks ssh 192.x.x.x&lt;BR /&gt;ssh: error while loading shared libraries: libsocks5_sh.so: cannot open shared object file: No such file or directory&lt;BR /&gt;&lt;BR /&gt;But as root there are no problems:&lt;BR /&gt;&lt;BR /&gt;# /usr/bin/runsocks ssh 192.x.x.x&lt;BR /&gt;root@192.x.x.x's password:&lt;BR /&gt;&lt;BR /&gt;Some initial investigation with ldd and ldconfig did not reveal anything unusual.  The lib file does exist.&lt;BR /&gt;&lt;BR /&gt;# ls -la /usr/lib/libsocks5_sh.so&lt;BR /&gt;-rwxr-xr-x    1 root     root       114272 Sep 25  2000 /usr/lib/libsocks5_sh.so&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# ldd -v /usr/lib/libsocks5_sh.so&lt;BR /&gt;        libdl.so.2 =&amp;gt; /lib/libdl.so.2 (0x40022000)&lt;BR /&gt;        libc.so.6 =&amp;gt; /lib/libc.so.6 (0x40026000)&lt;BR /&gt;        /lib/ld-linux.so.2 =&amp;gt; /lib/ld-linux.so.2 (0x2aaaa000)&lt;BR /&gt;&lt;BR /&gt;        Version information:&lt;BR /&gt;        /usr/lib/libsocks5_sh.so:&lt;BR /&gt;                libdl.so.2 (GLIBC_2.1) =&amp;gt; /lib/libdl.so.2&lt;BR /&gt;                libdl.so.2 (GLIBC_2.0) =&amp;gt; /lib/libdl.so.2&lt;BR /&gt;                libc.so.6 (GLIBC_2.1) =&amp;gt; /lib/libc.so.6&lt;BR /&gt;                libc.so.6 (GLIBC_2.0) =&amp;gt; /lib/libc.so.6&lt;BR /&gt;        /lib/libdl.so.2:&lt;BR /&gt;                libc.so.6 (GLIBC_2.1.3) =&amp;gt; /lib/libc.so.6&lt;BR /&gt;                libc.so.6 (GLIBC_2.1) =&amp;gt; /lib/libc.so.6&lt;BR /&gt;                libc.so.6 (GLIBC_2.2) =&amp;gt; /lib/libc.so.6&lt;BR /&gt;                libc.so.6 (GLIBC_2.0) =&amp;gt; /lib/libc.so.6&lt;BR /&gt;        /lib/libc.so.6:&lt;BR /&gt;                ld-linux.so.2 (GLIBC_2.1.1) =&amp;gt; /lib/ld-linux.so.2&lt;BR /&gt;                ld-linux.so.2 (GLIBC_2.2.3) =&amp;gt; /lib/ld-linux.so.2&lt;BR /&gt;                ld-linux.so.2 (GLIBC_2.1) =&amp;gt; /lib/ld-linux.so.2&lt;BR /&gt;                ld-linux.so.2 (GLIBC_2.2) =&amp;gt; /lib/ld-linux.so.2&lt;BR /&gt;                ld-linux.so.2 (GLIBC_2.0) =&amp;gt; /lib/ld-linux.so.2&lt;BR /&gt;&lt;BR /&gt;# cat /etc/ld.so.conf&lt;BR /&gt;/usr/lib&lt;BR /&gt;/usr/kerberos/lib&lt;BR /&gt;/usr/X11R6/lib&lt;BR /&gt;/usr/local/lib&lt;BR /&gt;&lt;BR /&gt;I have tried to run "ldconfig" but still no avail.&lt;BR /&gt;&lt;BR /&gt;Clues?&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Aug 2002 08:32:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785763#M78358</guid>
      <dc:creator>Gregory Lee</dc:creator>
      <dc:date>2002-08-14T08:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading library files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785764#M78359</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Have you checked the permissions of /etc/libsocks5.conf file ?&lt;BR /&gt;&lt;BR /&gt;Kodjo&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Aug 2002 22:12:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785764#M78359</guid>
      <dc:creator>Kodjo Agbenu</dc:creator>
      <dc:date>2002-08-14T22:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading library files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785765#M78360</link>
      <description>Obvious question unanswered, &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;what are the permissions on &lt;BR /&gt;&lt;BR /&gt;/usr/bin/runsocks  ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Aug 2002 22:28:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785765#M78360</guid>
      <dc:creator>Mark Fenton</dc:creator>
      <dc:date>2002-08-14T22:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading library files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785766#M78361</link>
      <description>The permissions are:&lt;BR /&gt;&lt;BR /&gt;-rwxr-xr-x    1 root     root         1202 Sep 25  2000 /usr/bin/runsocks&lt;BR /&gt;-rw-r--r--    1 root     root          133 Aug 14 16:06 /etc/libsocks5.conf&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Aug 2002 01:51:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785766#M78361</guid>
      <dc:creator>Gregory Lee</dc:creator>
      <dc:date>2002-08-15T01:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading library files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785767#M78362</link>
      <description>Check "ssh" permissions (binary and shared libs).&lt;BR /&gt;&lt;BR /&gt;Try with another networking client software (telnet, ftp).&lt;BR /&gt;&lt;BR /&gt;Run it as root and use "ipcs -a" to check whether libsocks5_sh and/or ssh use shared memory, msg queues or semaphore. Check their permissions.&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;Kodjo&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Aug 2002 21:14:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785767#M78362</guid>
      <dc:creator>Kodjo Agbenu</dc:creator>
      <dc:date>2002-08-15T21:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading library files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785768#M78363</link>
      <description>Hi gregory,&lt;BR /&gt;&lt;BR /&gt;I have the same symptom,&lt;BR /&gt;did you find an answer ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Jan 2003 15:49:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785768#M78363</guid>
      <dc:creator>SEGUY</dc:creator>
      <dc:date>2003-01-22T15:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading library files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785769#M78364</link>
      <description>:(  No luck.  I can't figure out which files is preventing users other than root to access 'runsocks'.&lt;BR /&gt;&lt;BR /&gt;I had to configure SUDO in the end for normal users to use 'runsocks'.&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Jan 2003 07:47:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785769#M78364</guid>
      <dc:creator>Gregory Lee</dc:creator>
      <dc:date>2003-01-23T07:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading library files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785770#M78365</link>
      <description>I think Kodjo Agbenu has a point: look at SSH for the problem. The error message starts with "ssh:" and probably not without a reason. Check whether or not normal users can use SSH (without runsocks). If not, solve that problem and you're probably out of the woods.&lt;BR /&gt;&lt;BR /&gt;If however SSH works fine without runsocks, you should consult your runsocks manuals... Remember, "if anything else fails, read the manual." ;)&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;Hans</description>
      <pubDate>Wed, 05 Mar 2003 13:12:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-loading-library-files/m-p/2785770#M78365</guid>
      <dc:creator>Hans van Zijst</dc:creator>
      <dc:date>2003-03-05T13:12:19Z</dc:date>
    </item>
  </channel>
</rss>

