Hi,
I got many unresolved symbols when I initially forgot to include this
line in my Makefile in the
<scotty-top-dir>/unix directory:
LIBS = -lsocket -lnsl -lresolv
I added this line in later, then the compilation and installation went
successfully.
But then, I got that "couldn't load file" problem I described earlier,
when trying
to run SNMP Tree application.
Anymore hints?
Thanks very much!
Khoi Nguyen
Network Design Engineer
Sprint
NP&D/ATM Traffic Management
Email : Khoi.Nguyen@mail.sprint.com
-----Original Message-----
From: schoenfr [SMTP:schoenfr@gaertner.de]
Sent: Wednesday, April 07, 1999 11:36 AM
To: Khoi.Nguyen
Cc: schoenfr; tkined
Subject: Re: [tkined] problem running Tkined's SNMP Tree application
Hi,
Khoi> I just installed scotty-2.1.9, and subsequently,
Khoi> tkined1.4.9.so and tnm2.1.9.so on my ultra-sparc, solaris 2.6,
Khoi> sun OS 5.6.
Khoi> [...]
Khoi> couldn't load file "/usr/local/lib/tnm2.1.9.so": ld.so.1:
Khoi> /usr/local/bin/wish4.2: fatal: relocation error: file
Khoi> /usr/local/lib/tnm2.1.9.so: symbol _res: referenced symbol not
found
usually this means trouble with the resolver library, not added to the
tnm extension at link compile/link time.
try to add -lresolv to the linker line:
edit the Makefile and add -lresolv to the LIBS line, recompile and
install again.
this should help.
Erik
--openmail-part-0e1f2db3-00000001--
-- !! 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.