[Pdns-users] pdns 1023 linking problem Solaris 10

bert hubert bert.hubert at netherlabs.nl
Tue Apr 10 10:41:51 UTC 2007


On Tue, Apr 10, 2007 at 10:57:47AM +0200, Christian Kuehn wrote:
> the newest snapshot compiles fine, but stops while linking the pdns:

Good catch! Can you try revision 1025? There is no snapshot, but you can
apply 1025 on top of 1024 as described in
http://wiki.powerdns.com/cgi-bin/trac.fcgi/wiki/HACKING

The patch to apply
is: http://wiki.powerdns.com/cgi-bin/trac.fcgi/changeset/1025?format=diff&new=1025

You can also make the change manually to configure.in.

Good luck! 

> 
> 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
> ======================================================
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
> 
> 
> !DSPAM:461b51a3172255702515455!

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services


More information about the Pdns-users mailing list