Consultor Eletrônico



Kbase 19237: Sequent library errors
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/5/1999
INITIAL PROBLEM
This error message occurs..
The file /usr/lib/libnsl.so.1 was not found.
The file /usr/lib/resolv.so.1 could not be found.

Depending on the actual files that exist on the system,
make the following appropriate set of links..

/usr/lib/libnsl.so.1 should be linked to /usr/lib/libnsl.so
/usr/lib/libresolv.so.1 should be linked to /usr/lib/libsocket.so

OR

/usr/lib/libnsl.so.1 -> /usr/lib/libsocket.so x
/usr/lib/libresolv.so.1 -> /usr/lib/libnet.so

OR

/usr/lib/libnsl.so.1 >>> /usr/lib/libnsl.so
/usr/lib/libresolv.so.1.1 >>> /usr/lib/libsocket.so.1.1


BUILDENV PROBLEM
Probuild fails with buildenv. The following error occurs..

Undefined first referenced
symbol in file
setsockopt ./4gl
csbsd.o
connect ./4gl
csbsd.o
socket ./4gl
csbsd.o
accept ./4gl/dbgcomm.o
listen ./4gl/dbgcomm.o
bind ./4gl/dbgcomm.o
getsockopt ./4gl
sssock.o
ld: /usr/dlc/probuild/eucapp/_progres: fatal error: Symbol referencing er=
rors. No output written to /usr/dlc/probuild/eucapp/_progres

Sequent has changed their default socket interface from ABI sockets to
BSD sockets beginning with Sequent 4.4.4.
Sequent has a workaround for those applications such as Progress that
rely on the standard ABI sockets to be in place.
(BSD sockets were available in ptx/TCP/IP V4.2 but were not the default type).

The following env var needs to be created..
_SEQUENT_CC_=3D -Wc,+abi-socket

By using this variable it should presumably not matter what
libnet.so is set to.