problem compiling portmap

Stefan Wold ratler at
Thu Nov 1 07:30:06 CET 2007

> /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libwrap.a(update.o): 
> relocation R_X86_64_32S against `a local symbol' can not be used when 
> making a shared object; recompile with -fPIC
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libwrap.a: 
> could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make: *** [portmap] Error 1
> make: *** Waiting for unfinished jobs....
> Creating /var/log/lunar/compile/portmap-6.0.bz2
> ! Problem detected during BUILD
> Any idea on how to solve this?


That was fixed a while back. You're not the first person to report this
issue, tcp_wrappers should have been updated on lunar update. But to
solve the issue do "lin -c tcp_wrappers" after that try installing
portmap again. And I'm assuming that you've already done "lin moonbase"
after installation?

Stefan Wold
Lunar Linux developer - PGP public key 6E810F05

More information about the Lunar mailing list