I generally run stable package code on production machines, but the need
has arisen for TLS capabilities at one site. So, while not very familiar
with compiling under Linux, I'm attempting to build 3.33 from source on a
Debian Potato machine, and finding several undefined references.
This would be a much simpler task if I could find a list of library version
dependencies available somewhere. Most of these seem to be resolved by
manually updating the libraries to Woody release, but one has me stumped.
gcc -o exim accept.o child.o daemon.o dbfn.o debug.o deliver.o direct.o
directory.o dns.o drtables.o exim.o expand.o filter.o globals.o header.o
host.o log.o match.o moan.o os.o parse.o queue.o readconf.o retry.o
rewrite.o route.o search.o smtp_in.o smtp_out.o spool_in.o spool_out.o
store.o string.o tls.o tod.o transport.o tree.o verify.o perl.o version.o \
libident/libident.a pcre/libpcre.a directors/directors.a \
routers/routers.a transports/transports.a lookups/lookups.a \
auths/auths.a \
-lnsl -lcrypt -lpam \
-ldb -lresolv -rdynamic -L/usr/local/lib
/usr/lib/perl5/5.005/i386-linux/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.005/i386-linux/CORE -lperl -lnsl -lndbm -lgdbm -ldbm
-ldb -ldl -lm -lc -lposix -lcrypt -lssl -lcrypto
dns.o: In function `dns_init':
dns.o(.text+0x10): undefined reference to `res_init'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/src/exim-3.33/build-Linux-i386'
make: *** [go] Error 2
I'm not particularly interested in changing glibc (which I've been told is
the problem) on a production machine, or spending days fixing it. I'd
appreciate any pointers or suggestions, especially a list of required
library versions.
Many thanks,
Jeff
Jeffrey B. Green Personal Computer Consultant - Las Vegas, Nevada
http://jbgreen.com Networking Las Vegas Since 1986