[arch-general] x86_64/parrot. libreadline.a and -fPIC problem

Jan de Groot jan at jgc.homeip.net
Wed Jul 22 06:33:37 EDT 2009

On Wed, 2009-07-22 at 14:28 +0400, Sergej Pupykin wrote:
> Hi,
> I need help to build parrot for x86_64.
> /usr/bin/ld: /usr/lib/libreadline.a(readline.o): relocation R_X86_64_32 against `rl_get_previous_history' can not be used when making a shared object; recompile with -fPIC
> /usr/lib/libreadline.a: could not read symbols: Bad value
> Does it ask to recompile readline.o with -fPIC?

First of all, compiling static is stupid, but anyways, this is a bug in
the readline package. The static lib should be compiled with -fPIC on
x86_64. File a bug.

More information about the arch-general mailing list