Error when building 1.8.7 from source with --enable-shared

When I try to build ruby from branch ruby_1_8 with --enable-shared
option I get error:

/usr/bin/ld: regex.o: relocation R_X86_64_32S against `a local symbol’
can not be used when making a shared object; recompile with -fPIC
regex.o: could not read symbols: Bad value
collect2: ld returned 1 exit status

I have 64bit architecture. It’s something wrong with my configuration
or ruby source?


Rados³aw Bu³at

http://radarek.jogger.pl - mój blog

Please, do not respond. It should be send to ruby-core.

2008/5/31 Rados³aw Bu³at [email protected]:


Rados³aw Bu³at

http://radarek.jogger.pl - mój blog


Rados³aw Bu³at

http://radarek.jogger.pl - mój blog