[Pdns-users] PDNS Newbie / PDNS on Solaris 8 - 64bit

bert hubert ahu at ds9a.nl
Thu Jan 8 12:58:58 UTC 2004

On Thu, Jan 08, 2004 at 10:35:32AM +0100, Pr?ckler Alexander wrote:

> I'm trying to compile pdns 2.9.13 on a Solaris 8 64bit (SunFire V120)
> testing environment (./configure --with-modules="gmysql") for a maybe
> later use in our company. I've also installed mysqlmax 4.0.17, gcc and


> make in their newest versions. When i want to 'make' it i get the
> following output after a while:

PowerDNS is known to work well on 64 bit systems starting from 2.9.12 or so.

> ld: warning: file /opt/mysql/lib/libmysqlclient.a(libmysql.o): wrong ELF
> class: ELFCLASS64 (cd .libs && rm -f libgmysqlbackend.so.0 && ln -s
> libgmysqlbackend.so.0.0.0 libgmysqlbackend.so.0) (cd .libs && rm -f
> libgmysqlbackend.so && ln -s libgmysqlbackend.so.0.0.0
> libgmysqlbackend.so) false cru .libs/libgmysqlbackend.a gmysqlbackend.o
> smysql.o

Does it compile with --with-modules="" ? It might be that PowerDNS is not
being compiled in 64 bit mode, and MySQL is.

Links that might be useful:

Try doing something like:
CXX="g++ -m64" ./configure --with-modules="gmysql"
CXXFLAGS=-m64 ./configure --with-modules="gmysql"

Good luck!

http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO

More information about the Pdns-users mailing list