[tkined] Scotty installation problems on Solaris 2.6

Bob Deblier (bob@virtual-unlimited.com)
Thu, 20 Nov 1997 08:54:28 +0100

Hello all

I was trying today to see if I could get Scotty 2.1.7 compiled and
installed on my (Sparc) Solaris 2.6 system; after some modifications to
the generated Makefile (mainly adding a -DHAVE_RPCENT to the CFLAGS), I
got this error in the installation, which I tracked down to the
execution of the 'scotty' binary:

upuaut# scotty
initialization failed: couldn't load file
"/usr/local/lib/tnm2.1.7.so":ld.so.1: scotty: fatal: relocation error:
file /usr/local/lib/tnm2.1.7.so: symbol __inet_addr: referenced symbol
not found

- Under Solaris 2.6, the inet_addr routine has been moved to library
/usr/lib/libxnet.so.1, so I added -lxnet to LIBS; didn't work...
- I added /usr/local/lib to my LD_LIBRARY_PATH before compiling; didn't
seem to help either...

I compiled with Sun's Workshop compiler version 4.2, not gcc...

Any suggestions?

Bob Deblier

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.