[Pdns-users] pdns 1023 linking problem Solaris 10

Christian Kuehn christian.kuehn at mcs.de
Tue Apr 10 08:57:47 UTC 2007


Hi,

the newest snapshot compiles fine, but stops while linking the pdns:

g++ -DSYSCONFDIR=\"/opt/pdns-2.9.21/etc\" -DLIBDIR=\"/opt/pdns-2.9.21/lib\"
-DLOCALSTATEDIR=\"/var/run\" -Ibackends/bind -D_REENTRANT
-I/opt/src/build/boost_1_33_1 -Wall -O2 -o pdns_server
../modules/gmysqlbackend/gmysqlbackend.o ../modules/gmysqlbackend/smysql.o
dnspacket.o nameserver.o qtype.o logger.o arguments.o packethandler.o
tcpreceiver.o packetcache.o statbag.o dnsbackend.o ws.o webserver.o session.o
misc.o receiver.o ueberbackend.o dynlistener.o dynhandler.o resolver.o
communicator.o dnsproxy.o randombackend.o unix_utility.o common_startup.o
unix_semaphore.o bindbackend2.o bindparser.o bindlexer.o huffman.o gsqlbackend.o
base64.o sillyrecords.o zoneparser-tng.o dnsrecords.o dnswriter.o rcpgenerator.o
dnsparser.o  -L/opt/mysql/lib -lmysqlclient -ldl -lposix4 -lresolv -lnsl
-lsocket -lpthread -lrt
Undefined                       first referenced
 symbol                             in file
uncompress                          /opt/mysql/lib/libmysqlclient.a(my_compress.o)
compress                            /opt/mysql/lib/libmysqlclient.a(my_compress.o)
ld: fatal: Symbol referencing errors. No output written to pdns_server
collect2: ld returned 1 exit status



The problem is the missing zlib  -lz at the end.


Are there any changes in the configure ?? The 998-snapshot compiles/links fine.


Cheers
Christian


-- 
Christian Kühn
(Technical Consultant / Hostmaster)

======================================================
MCS MOORBEK COMPUTER SYSTEME GmbH
Essener Bogen 17 - 22419 Hamburg - Germany
Tel +49 (0)40 53773 0 - Fax: +49 (0)40 53773 200
E-Mail: christian.kuehn at mcs.de
Web: http://www.mcs.de
Eingetragen im Handelsregister Hamburg B62933
Geschäftsführer: Kai Brandes & Eckard Kabel
GPG 8B52 41A1 4B8F 4DE7 9064  2073 6168 137A 3DDA 0F36
======================================================


More information about the Pdns-users mailing list