Steps to reproduce. 1. emerge scotty 2. run scotty Reports error: initialization failed: couldn't load file "//usr/lib/tnm2.1.11.so": //usr/lib/tnm2.1.11.so: undefined symbol: TclpCreateDirectory Also note: /usr/bin/tkined is symlinked to a non existant tkined1.4.11. emerge scotty > scotty.log >>> Unpacking source... >>> Unpacking scotty-2.1.11.tar.gz to /var/tmp/portage/scotty-2.1.11/work >>> Source unpacked. creating cache ./config.cache checking how to run the C preprocessor... gcc -E checking for flex... flex checking for yywrap in -lfl... yes checking for bison... bison -y checking for a BSD compatible install... /bin/install -c checking size of long... 4 checking whether byte ordering is bigendian... no checking for rpcgen... rpcgen checking for tclsh... /usr/bin/tclsh checking for tclConfig.sh in /usr/lib... yes checking for tcl version... 8.4 checking for wish... /usr/bin/wish checking for tkConfig.sh in /usr/lib... yes checking for tk version... 8.4 checking for connect... yes checking for gethostbyname... yes checking for main in -lnsl... no checking for connect in -lsocket... no checking for gethostbyname in -lnsl... yes checking for main in -lieee... yes checking for main in -lrpc... no checking for main in -lrpcsvc... yes checking for res_mkquery... no checking for res_mkquery in -lresolv... yes checking for stdlib.h... yes checking for unistd.h... yes checking for malloc.h... yes checking for sys/select.h... yes checking for gethostent... yes checking for getnetent... yes checking for getprotoent... yes checking for getservent... yes checking for getrpcent... yes checking for struct rpcent... yes checking for getmntent in -lsun... no checking for getmntent in -lseq... no checking for getmntent in -lgen... no checking for getmntent... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -DTNMLIB=\"/usr/lib/tnm2.1.11\" ./../tnm/generic/tnmInit.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ./../tnm/generic/tnmUtil.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ./../tnm/generic/tnmJob.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -DTKINEDLIB=\"/usr/lib/tkined1.4.11\" ./../tnm/generic/tnmIned.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ./../tnm/generic/tnmSyslog.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ./../tnm/generic/tnmIcmp.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ./../tnm/generic/tnmDns.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ./../tnm/generic/tnmEvent.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ./../tnm/generic/tnmUdp.c cp ./../tnm/generic/mount.x . rpcgen mount.x cp ./../tnm/generic/ether.x . rpcgen ether.x cp ./../tnm/generic/rstat.x . rpcgen rstat.x cp ./../tnm/generic/pcnfsd.x . rpcgen pcnfsd.x gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ./../tnm/generic/tnmSunRpc.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ./../tnm/generic/tnmNtp.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ./../tnm/generic/tnmRpc.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ./../tnm/generic/tnmHttp.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ./../tnm/generic/tnmNetdb.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ./../unix/tnmUnixInit.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ./../unix/tnmUnixLog.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ./../unix/tnmUnixSocket.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -DNTPING=\"/usr/bin/ntping\" ./../unix/tnmUnixIcmp.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include mount_clnt.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include mount_xdr.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ether_clnt.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include ether_xdr.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include rstat_clnt.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include rstat_xdr.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include pcnfsd_clnt.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include pcnfsd_xdr.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -I./../tnm/snmp ./../tnm/snmp/tnmAsn1.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -I./../tnm/snmp ./../tnm/snmp/tnmMD5.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -I./../tnm/snmp -DSTRAPS=\"/usr/bin/straps\" ./../tnm/snmp/tnmSnmpNet.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpUtil.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpInst.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpSend.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpRecv.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpAgent.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -I./../tnm/snmp ./../tnm/snmp/tnmSnmpTcl.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -I./../tnm/snmp ./../tnm/snmp/tnmMibQuery.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -I./../tnm/snmp ./../tnm/snmp/tnmMibParser.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -I./../tnm/snmp ./../tnm/snmp/tnmMibTree.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -I./../tnm/snmp ./../tnm/snmp/tnmMibFrozen.c gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -I./../tnm/snmp ./../tnm/snmp/tnmMibTcl.c gcc -pipe -shared tnmInit.o tnmUtil.o tnmJob.o tnmIned.o tnmSyslog.o tnmIcmp.o tnmDns.o tnmEvent.o tnmUdp.o tnmSunRpc.o tnmNtp.o tnmRpc.o tnmHttp.o tnmNetdb.o tnmUnixInit.o tnmUnixLog.o tnmUnixSocket.o tnmUnixIcmp.o mount_clnt.o mount_xdr.o ether_clnt.o ether_xdr.o rstat_clnt.o rstat_xdr.o pcnfsd_clnt.o pcnfsd_xdr.o tnmAsn1.o tnmMD5.o tnmSnmpNet.o tnmSnmpUtil.o tnmSnmpInst.o tnmSnmpSend.o tnmSnmpRecv.o tnmSnmpAgent.o tnmSnmpTcl.o tnmMibQuery.o tnmMibParser.o tnmMibTree.o tnmMibFrozen.o tnmMibTcl.o -o tnm.so -lnsl -lieee -lrpcsvc -lresolv -lfl gcc -c -O -I. -DHAVE_CONFIG_H ./../tnm/ntping/ntping.c gcc -rdynamic -o ntping ntping.o -lnsl -lieee -lrpcsvc -lresolv gcc -c -O -I. ./../tnm/snmp/straps.c gcc -rdynamic -o straps straps.o -lnsl -lieee -lrpcsvc -lresolv gcc -c -O -fPIC -I. -I./../tnm/generic -I/usr/include -I. -I./../tnm/generic -I/usr/include ./../unix/scotty.c gcc -rdynamic -Wl,-rpath,/usr/lib -o scotty scotty.o -L/usr/lib -ltcl8.4 -lnsl -lieee -lrpcsvc -lresolv -ldl -lm gcc -c -O -fPIC -I. -I./../tkined/generic -I/usr/include -I/usr/X11R6/include ./../tkined/generic/tkiEditor.c gcc -c -O -fPIC -I. -I./../tkined/generic -I/usr/include -I/usr/X11R6/include ./../tkined/generic/tkiObjects.c gcc -c -O -fPIC -I. -I./../tkined/generic -I/usr/include -I/usr/X11R6/include ./../tkined/generic/tkiMethods.c gcc -c -O -fPIC -I. -I./../tkined/generic -I/usr/include -I/usr/X11R6/include -DTKINEDLIB=\"/usr/lib/tkined1.4.11\" ./../tkined/generic/tkiMisc.c gcc -c -O -fPIC -I. -I./../tkined/generic -I/usr/include -I/usr/X11R6/include ./../tkined/generic/tkiFlash.c gcc -c -O -fPIC -I. -I./../tkined/generic -I/usr/include -I/usr/X11R6/include ./../tkined/generic/tkiStripchart.c gcc -c -O -fPIC -I. -I./../tkined/generic -I/usr/include -I/usr/X11R6/include ./../tkined/generic/tkiBarchart.c gcc -c -O -fPIC -I. -I./../tkined/generic -I/usr/include -I/usr/X11R6/include ./../tkined/generic/tkiUtil.c gcc -c -O -fPIC -I. -I./../tkined/generic -I/usr/include -I/usr/X11R6/include -DTKINEDLIB=\"/usr/lib/tkined1.4.11\" ./../tkined/generic/tkiInit.c gcc -c -O -fPIC -I. -I./../tkined/generic -I/usr/include -I/usr/X11R6/include ./../unix/tkiUnixInit.c gcc -pipe -shared tkiEditor.o tkiObjects.o tkiMethods.o tkiMisc.o tkiFlash.o tkiStripchart.o tkiBarchart.o tkiUtil.o tkiInit.o tkiUnixInit.o -o tkined.so -lnsl -lieee -lrpcsvc -lresolv >>> Install scotty-2.1.11 into /var/tmp/portage/scotty-2.1.11/image/ category app-admin Making directory /var/tmp/portage/scotty-2.1.11/image//usr/bin Making directory /var/tmp/portage/scotty-2.1.11/image//usr/lib Making directory /var/tmp/portage/scotty-2.1.11/image//usr/lib/tnm2.1.11 Installing scotty2.1.11 and tnm2.1.11.so Making directory /var/tmp/portage/scotty-2.1.11/image//usr/lib/tnm2.1.11/library Installing ./../tnm/library/README Installing ./../tnm/library/dialog.tcl Installing ./../tnm/library/output.tcl Installing ./../tnm/library/snmp.tcl Installing ./../tnm/library/monitor.tcl Installing ./../tnm/library/obsolete.tcl Installing ./../tnm/library/init.tcl Installing ntping Installing straps man: prepallstrip: strip: strip: usr/bin/scotty2.1.11 usr/bin/ntping usr/bin/straps usr/lib/tnm2.1.11.so making executable: /usr/lib/tnm2.1.11.so >>> Completed installing into /var/tmp/portage/scotty-2.1.11/image/ [32;01m*[0m Caching service dependencies... Calculating dependencies ...done! >>> emerge (1 of 1) app-admin/scotty-2.1.11 to / >>> md5 src_uri ;-) scotty-2.1.11.tar.gz >>> Merging app-admin/scotty-2.1.11 to / --- /usr/ --- /usr/share/ --- /usr/share/man/ --- /usr/bin/ >>> /usr/bin/scotty2.1.11 >>> /usr/bin/ntping >>> /usr/bin/straps >>> /usr/bin/scotty -> scotty2.1.11 --- /usr/lib/ --- /usr/lib/tnm2.1.11/ >>> /usr/lib/tnm2.1.11/pkgIndex.tcl --- /usr/lib/tnm2.1.11/library/ >>> /usr/lib/tnm2.1.11/library/README >>> /usr/lib/tnm2.1.11/library/dialog.tcl >>> /usr/lib/tnm2.1.11/library/output.tcl >>> /usr/lib/tnm2.1.11/library/snmp.tcl >>> /usr/lib/tnm2.1.11/library/monitor.tcl >>> /usr/lib/tnm2.1.11/library/obsolete.tcl >>> /usr/lib/tnm2.1.11/library/init.tcl >>> /usr/lib/tnm2.1.11.so >>> /usr/bin/tkined -> tkined1.4.11 >>> Safely unmerging already-installed instance... --- !mtime obj /usr/lib/tnm2.1.11/pkgIndex.tcl --- !mtime obj /usr/lib/tnm2.1.11/library/snmp.tcl --- !mtime obj /usr/lib/tnm2.1.11/library/output.tcl --- !mtime obj /usr/lib/tnm2.1.11/library/obsolete.tcl --- !mtime obj /usr/lib/tnm2.1.11/library/monitor.tcl --- !mtime obj /usr/lib/tnm2.1.11/library/init.tcl --- !mtime obj /usr/lib/tnm2.1.11/library/dialog.tcl --- !mtime obj /usr/lib/tnm2.1.11/library/README --- !mtime obj /usr/lib/tnm2.1.11.so --- !mtime obj /usr/bin/straps --- !mtime obj /usr/bin/scotty2.1.11 --- !mtime obj /usr/bin/ntping <<< sym /usr/bin/tkined --- !empty dir /usr/share/man --- !empty dir /usr/share --- !empty dir /usr/lib/tnm2.1.11/library --- !empty dir /usr/lib/tnm2.1.11 --- !empty dir /usr/lib --- !empty dir /usr/bin --- !empty dir /usr --- !targe sym /usr/bin/scotty >>> original instance of package unmerged safely. >>> app-admin/scotty-2.1.11 merged. >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. emerge info Gentoo Base System version 1.4.12 Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://mirror.datapipe.net/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb cdr crypt cups dvd dvdr encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib ipv6 java jpeg kde kerberos ldap libg++ libwww mad mbox mikmod milter mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
Suse has a couple of patches to fix the problem. Just tested them and they made it install corretly at least. The package will get plenty of stresstesting in the next 10 weeks because students will do labs with it
Created attachment 43218 [details] Fixes scotty emerge , depend on older tcl (8.3.4) and tk (8.3.4-r1) Attatched ebuild to fix dependancies problem in Scotty. depend on tcl-8.3.4 instead of tcl and tk-8.3.4-r1 instead of tk Fixes app-startup errors like: tnm2.1.11.so : undefined = symbol: TclpCreateDirectory Rasmus Melgaard Department of Telecommunication Systems Blekinge Institute of Technology Sweden
I've just added some patches to the scotty ebuild, please try it out.