Kbase P4363: error opening /usr/lib/libsocket.so.2 due to permissions on some systems
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/15/2008 |
|
Status: Verified
FACT(s) (Environment):
Progress 8.3E
NCR UNIX
Sun Solaris Intel
Caldera Open UNIX/SCO UnixWare
SYMPTOM(s):
dynamic linker: $DLC/bin/_mprosrv: error opening /usr/lib/libsocket.so.2
ld: _progres: Fatal: Error opening
/usr/lib/libxxxxxxx.so.n:
open failed: No such file or directory
where libxxxxxxx.so.n could be any of the following files:
libc.so.1
libnsl.so.1
libresolv.so.1
libresolv.so.2
libsocket.so.2
libX11.so.5.0
libXext.so.5.0
libXt.so.5.0
Error occurs starting a database broker with _mprosrv
CAUSE:
Problem mostly seen on systems that has modifications for Y2K. Its more or less related to permissions. Probably caused by a SUID executable's inability to load shared libraries from library path other than /usr/lib
FIX:
Create a softlink in the /usr/lib directory to an appropriate substitute file.
Take the following steps:
1) Become root on your system.
2) Change directory the /usr/lib directory.
3) Create the softlink with the command:
ln -s substitute-file file-mentioned-in-error
For example, on Solaris x86, Progress might encounter an
error as it attempts to open /usr/lib/libsocket.so.2.
Solution: Create a softlink for libsocket.so.2 that
points to libsocket.so.1 using the command:
ln -s libsocket.so.1 ./libsocket.so.2
The following table outlines what files might be reported in error and
what softlink to create to fix the error. In this table, all file
specifications are relative to /usr/lib.
Platform If you get an error Make a soft link pointing
(OS/version) on this file to this file
----------------------------------------------------------------------
NCR MP-RAS 3.0.2
libnsl.so.1 ./libnsl.so
libresolv.so.1 ./libresolv.so
libsocket.so.2 ./libsocket.so
Sequent PTX 4.4.2
libc.so.1 ../../lib/libc.so.1
libnsl.so.1 /usr/lib/libnsl.so
libresolv.so /usr/lib/libsocket.so
libresolv.so.1 /usr/lib/libsocket.so
libresolv.so.2 /usr/lib/libsocket.so
Solaris x86 2.5.1/2.6
libsocket.so.2 ./libsocket.so.1
libX11.so.5.0 ../openwin/lib/libX11.so.4
libXext.so.5.0 ../openwin/lib/libXext.so.0
libXt.so.5.0 ../openwin/lib/libXt.so.4
Unisys SVR4 1.4
libresolv.so.1 ./libresolv.so
libsocket.so.2 ./libsocket.so.1
Unixware 2.1.3 & 7.0.1
libresolv.so.2 /usr/lib/libresolv.so.1
libnsl.so.1 /usr/lib/libnsl.so
libsocket.so.2 /usr/lib/libsocket.so.1