[Pdns-users] PowerDNS + OpenDBX + MSSQL

Bas van Kampen b.vankampen at interconnect.nl
Mon Jul 14 09:56:08 UTC 2008


We want to migrate our existing Windows Based PowerDNS 2.9.15 enviroment to a Linux Enviroment
with PowerDNS 2.9.21 and OpenDBX and a MSSQL backend.

If I install the standard deb (I'm using Ubuntu 8.04.1 Server LTS) then I get the following errormessage:

Jul 14 13:48:37 Unable to load module '/usr/lib/powerdns/libopendbxbackend.so': /usr/lib/powerdns/libopendbxbackend.so: cannot open shared object file: No such file or directory
Jul 14 13:48:37 dnsbackend unable to load module in opendbx

If I want the compile the source code (after installing freetds-dev and compiling Opendbx (--with-backend="MSSQL)) I get the following error:

make  all-recursive
make[1]: Entering directory `/root/pdns-2.9.21'
Making all in modules
make[2]: Entering directory `/root/pdns-2.9.21/modules'
Making all in opendbxbackend
make[3]: Entering directory `/root/pdns-2.9.21/modules/opendbxbackend'
/bin/bash ../../libtool --tag=CXX --mode=link g++  -D_GNU_SOURCE  -Wall -O2   -o libopendbxbackend.la -rpath /usr/lib  odbxbackend.lo odbxprivate.lo -lopendbx -lz
g++ -shared -nostdlib /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.2.3/crtbeginS.o  .libs/odbxbackend.o .libs/odbxprivate.o  /usr/local/lib/libopendbx.so -lz -L/usr/lib/gcc/i486-linux-gnu/4.2.3 -L/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.2.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i486-linux-gnu/4.2.3/crtendS.o /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/crtn.o  -Wl,-soname -Wl,libopendbxbackend.so.0 -o .libs/libopendbxbackend.so.0.0.0
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[3]: *** [libopendbxbackend.la] Error 1
make[3]: Leaving directory `/root/pdns-2.9.21/modules/opendbxbackend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/pdns-2.9.21/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/pdns-2.9.21'
make: *** [all] Error 2

Can anyone help me?

Thank you in advance...

Met vriendelijke groet / kind regards,

Bas van Kampen

System Engineer
InterConnect Services BV
Engineering & Development

More information about the Pdns-users mailing list