[dns-operations] Compiling ncap on Debian/Linux (Was: "NS .", the attack of the month?

Stephane Bortzmeyer bortzmeyer at nic.fr
Thu Jan 29 10:59:52 UTC 2009


On Mon, Jan 26, 2009 at 04:07:34PM -0200,
 Eduardo A. Suárez <esuarez at fcaglp.fcaglp.unlp.edu.ar> wrote 
 a message of 69 lines which said:

> disable building of shared libraries with
>
> ./configure --enable-shared=no --disable-shared
>
> I compiled ncap on Debian Lenny x86_64.

Does not work for me yet (note the -shared despite --disable-shared in
ncap's configure):

/bin/sh ./libtool --mode=link gcc -module -shared -o mod_test.so mod_test.lo
gcc -shared -o mod_test.so mod_test.o   
/usr/bin/ld: mod_test.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
mod_test.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [mod_test.so] Error 1
make[1]: Leaving directory `/home/bortzmeyer/tmp/ncap-1.5.0'
make: *** [all] Error 2



More information about the dns-operations mailing list