Powerdns with OpenDBC compileproblem - "/usr/bin/ld: cannot find -l-lz"

View: New views
2 Messages — Rating Filter:   Alert me  

Powerdns with OpenDBC compileproblem - "/usr/bin/ld: cannot find -l-lz"

by Robert Dunkley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am trying to install PowerDNS with OpenDBX and FreeTDS for use with
MsSQL. I have compiled and installed FreeTDS and OpenDBX (With
./configure --with-backends="mssql") and configure with the "opendbx"
options is successful.

However when I try to do make the following error occurs:
g++ -shared -nostdlib
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crti.o
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtbeginS.o  .libs/odbxbackend.o
.libs/odbxprivate.o  -l -lz -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64
-L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtendS.o
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crtn.o
-Wl,-soname -Wl,libopendbxbackend.so -o .libs/libopendbxbackend.so
/usr/bin/ld: cannot find -l-lz
collect2: ld returned 1 exit status
make[3]: *** [libopendbxbackend.la] Error 1
make[3]: Leaving directory `/usr/src/pdns-2.9.22/modules/opendbxbackend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/pdns-2.9.22/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/pdns-2.9.22'
make: *** [all] Error 2

Zlib and Zlib-devel is installed and the OS is Centos 5.3. It probably
is a missing requirement but I cannot seem to work out what is missing.
Does anyone have any ideas on what the problem might be?


Thanks,

Rob

The SAQ Group

Registered Office: 18 Chapel Street, Petersfield, Hampshire GU32 3DZ
SAQ is the trading name of SEMTEC Limited. Registered in England & Wales
Company Number: 06481952

http://www.saqnet.co.uk AS29219

SAQ Group Delivers high quality, honestly priced communication and I.T. services to UK Business.

Broadband : Domains : Email : Hosting : CoLo : Servers : Racks : Transit : Backups : Managed Networks : Remote Support.

ISPA Member

_______________________________________________
Pdns-users mailing list
Pdns-users@...
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Re: Powerdns with OpenDBC compileproblem - "/usr/bin/ld: cannot find -l-lz"

by Norbert Sendetzky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Robert

> However when I try to do make the following error occurs:
> /usr/bin/ld: cannot find -l-lz

The problem is the "-l-lz" which isn't accepted by the linker and this points
to a problem during ./configure. Could you please send me your config.log
file?


Norbert
--
OpenPGP public key
http://www.linuxnetworks.de/norbert.pubkey.asc



_______________________________________________
Pdns-users mailing list
Pdns-users@...
http://mailman.powerdns.com/mailman/listinfo/pdns-users

signature.asc (205 bytes) Download Attachment