- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Error loading library files
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 01:32 AM
тАО08-14-2002 01:32 AM
Error loading library files
The problem is that I seem to be able to run the program only as root instead of a normal user:
$ /usr/bin/runsocks ssh 192.x.x.x
ssh: error while loading shared libraries: libsocks5_sh.so: cannot open shared object file: No such file or directory
But as root there are no problems:
# /usr/bin/runsocks ssh 192.x.x.x
root@192.x.x.x's password:
Some initial investigation with ldd and ldconfig did not reveal anything unusual. The lib file does exist.
# ls -la /usr/lib/libsocks5_sh.so
-rwxr-xr-x 1 root root 114272 Sep 25 2000 /usr/lib/libsocks5_sh.so
# ldd -v /usr/lib/libsocks5_sh.so
libdl.so.2 => /lib/libdl.so.2 (0x40022000)
libc.so.6 => /lib/libc.so.6 (0x40026000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
Version information:
/usr/lib/libsocks5_sh.so:
libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2
libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libdl.so.2:
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libc.so.6:
ld-linux.so.2 (GLIBC_2.1.1) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.2.3) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.2) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.0) => /lib/ld-linux.so.2
# cat /etc/ld.so.conf
/usr/lib
/usr/kerberos/lib
/usr/X11R6/lib
/usr/local/lib
I have tried to run "ldconfig" but still no avail.
Clues?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 03:12 PM
тАО08-14-2002 03:12 PM
Re: Error loading library files
Have you checked the permissions of /etc/libsocks5.conf file ?
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 03:28 PM
тАО08-14-2002 03:28 PM
Re: Error loading library files
what are the permissions on
/usr/bin/runsocks ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 06:51 PM
тАО08-14-2002 06:51 PM
Re: Error loading library files
-rwxr-xr-x 1 root root 1202 Sep 25 2000 /usr/bin/runsocks
-rw-r--r-- 1 root root 133 Aug 14 16:06 /etc/libsocks5.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2002 02:14 PM
тАО08-15-2002 02:14 PM
Re: Error loading library files
Try with another networking client software (telnet, ftp).
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.
Good luck.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2003 07:49 AM
тАО01-22-2003 07:49 AM
Re: Error loading library files
I have the same symptom,
did you find an answer ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2003 11:47 PM
тАО01-22-2003 11:47 PM
Re: Error loading library files
I had to configure SUDO in the end for normal users to use 'runsocks'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2003 05:12 AM
тАО03-05-2003 05:12 AM
Re: Error loading library files
If however SSH works fine without runsocks, you should consult your runsocks manuals... Remember, "if anything else fails, read the manual." ;)
Good luck,
Hans