Consultor Eletrônico



Kbase 19315: CISAM Dsrv: Add libpam_unix.1 Library Within Linked Script - Unsatisfied Symbol getspnam
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
Status: Verified

FACT(s) (Environment):

CISAM DataServer 7.2
HP-UX 10.20

SYMPTOM(s):

ERROR:

/usr/ccs/bin/ld: Unsatisfied symbols:
getspnam (code)
./ldpro: FAILED to load

Error is seen when running the linked script, after a probuild is done

TCP/IP and CISAM DataServer has been probuilt into executable

FIX:

Add the /usr/lib/security/libpam_unix.1 library to the link script. This line should be added after $CISAMLIB. The following is a sample link script with the line inserted:

    # Module:full-4GL
              #     bsd-sockets - TCP-IP NETWORK PROTOCOL
              #     c-isam - C-ISAM DATASERVER
              .
              .
              .
              .
              $PROLOAD/cisam/iccsys.o \
              $PROLOAD/cisam/iscsys.o \
              $PROLOAD/cisam/icssys.o \
              $PROLOAD/4gl/wvsys.o \
              $PROLOAD/4gl/pdsys.o \
              $PROLOAD/4gl/runtime.o \
              $PROLOAD/4gl/dbmgr.o \
              $PROLOAD/4gl/iolyr.o \
              $PROLOAD/4gl/compiler.o \
              $PROLOAD/4gl/rn4glsys.o \
              $PROLOAD/4gl/stlib.o \
              $PROLOAD/4gl/ut.o \
              $SOCKLIB \
              $CISAMLIB \
              -lm \
              /usr/lib/libcl.sl \
/usr/lib/security/libpam_unix.1 \    <----------

(Add this line here:)

              ret=$?
              if [ $ret != 0 ]
              then
                echo "$0: FAILED to load $IMAGE"
                rm -f $IMAGE
                if mv -f ${IMAGE}.old $IMAGE >&- 2>&-
                then echo "$0: WARNING: Original $IMAGE is
                restored"
                fi
              else
              $SU <<+SU
                chown root $IMAGE
                chmod u+s $IMAGE
                rm -f ${IMAGE}.old
              +SU
                ls -l $IMAGE
fi
              exit $ret