Compile problem under Linux

Mark J Elkins (mje@mje99.posix.co.za)
Sun, 25 Aug 1996 13:07:30 +0200

I'm running Slackware 3.1 and Kernel 2.0.14
I have the standard tcl 7.5 and tk 4.1 (as supplied with slackware96)
Ive run tkined for a long time.. but have now tried to comppile the
latest scotty-2.1.1 - and seem to be missing a library.. -ldl

Running './configure' gives me...

loading cache ./config.cache
checking how to run the C preprocessor... (cached) cc -E
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
checking whether cross-compiling... (cached) no
checking size of long... (cached) 4
checking for prefix by ... checking for scotty... (cached)
/usr/local/bin/scotty
checking for rpcgen... (cached) rpcgen
checking for tclsh... (cached) /usr/bin/tclsh
checking for tclConfig.sh in /usr/local/lib... no
checking for tclConfig.sh in /usr/lib... yes
checking for tcl version... 7.5
checking for wish... (cached) /usr/bin/wish
checking for tkConfig.sh in /usr/local/lib... no
checking for tkConfig.sh in /usr/lib... yes
checking for tk version... 4.1
checking for connect... (cached) yes
checking for gethostbyname... (cached) yes
checking for -lnsl... (cached) no
checking for -lsocket... (cached) no
checking for -lnsl... (cached) no
checking for -lieee... (cached) yes
checking for -lrpc... (cached) no
checking for -lrpcsvc... (cached) no
checking for res_mkquery... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for malloc.h... (cached) yes
checking for sys/select.h... (cached) no
checking for gethostent... (cached) yes
checking for getnetent... (cached) yes
checking for getprotoent... (cached) yes
checking for getservent... (cached) yes
checking for getrpcent... (cached) yes
checking for struct rpcent... yes
checking for multicast support... yes
checking whether byte ordering is bigendian... (cached) no
checking for -lsun... (cached) no
checking for -lseq... (cached) no
checking for -lgen... (cached) no
checking for getmntent... (cached) yes
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged

(second time around... note: configure does not mention -ldl)

Running make - with only the 'problem' left - gives me...

tkined/scotty-2.1.1/unix# make
cc -rdynamic -o scotty scotty.o -L/usr/lib -ltcl -lieee -ldl -lm
/usr/i486-linux/bin/ld: cannot open -ldl: No such file or directory
make: *** [scotty] Error 1

Question - Seems I need it (tried undefining it), where can I get this
Library from?

-- 
  .  .     ___. .__      Olivetti Systems & Networks, Unix Support - Sth Africa
 /| /|       / /__       mje@posix.co.za  -  Mark J Elkins, SCO ACE, Cisco CCIE
/ |/ |ARK \_/ /__ LKINS  Tel: +27 11 456 3125  Cell: +27 82 601 0496