[arch-general] x86_64/parrot. libreadline.a and -fPIC problem
pupykin.s at gmail.com
Wed Jul 22 07:17:48 EDT 2009
At Wed, 22 Jul 2009 12:33:37 +0200,
Jan de Groot wrote:
> 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.
I don't know why parrot try to build .so statically linked with libreadline.a...
More information about the arch-general