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

Eduardo A. Suárez esuarez at fcaglp.fcaglp.unlp.edu.ar
Thu Jan 29 11:44:29 UTC 2009

Hi Stephane,

I forgot a parameter (--with-pic) ...

./configure --enable-shared=no --disable-shared --with-pic

I've tested and it compiles both version, ncap-1.5.0 and ncap CVS


Quoting Stephane Bortzmeyer <bortzmeyer at nic.fr>:

> 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

Eduardo A. Suarez
Facultad de Ciencias Astronomicas y Geofisicas
Universidad Nacional de La Plata
Tel: (0221)-4236593 int. 158(35)/Cel: (0221)-15-4557542/Casa: (0221)-4526589
"In a world where data is the coin of the realm, and transmissions are guarded
by no better sentinels than man-made codes and corruptible devices, there is
no such thing as a secret." - This Alien Shore

This message was sent using IMP, the Internet Messaging Program.

More information about the dns-operations mailing list