Feed on

i received the following error message while trying to build subversion the other day:

/usr/bin/ld: /home/ldavid/src/subversion-1.4.6/neon/src/.libs/libneon.a(ne_request.o): relocation R_X86_64_32 against `a local symbol’ can not be used when making a shared object; recompile with -fPIC
/home/ldavid/src/subversion-1.4.6/neon/src/.libs/libneon.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [subversion/libsvn_ra_dav/libsvn_ra_dav-1.la] Error 1

the solution i found:

first, add the following to your .profile:

export CFLAGS=-fPIC

second, call configure in the following manner:

>> configure  –enable-shared –disable-static –without-apxs

Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

One Response to “fixing crashes while building subversion”

  1. on 17 Jul 2009 at 4:37 am crash

    Ahem, this is not a crash. Just a linker error.

Did I get this wrong? Let me know!

Trackback URI | Comments RSS