Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    compile with -fPIC[SOLVED]


    Hello,

    I've got an error with compiling a program :

    relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    /usr/lib/python2.5/config/libpython2.5.a: could not read symbols: Bad value
    collect2: ld a retourné 1 code d'état d'exécution
    make[2]: *** [bindings/_yafqt.so] Erreur 1

    Does somebody have an idea?

    Thank you for your help.
    Last edited by cec; 10-14-2010 at 11:00 AM.

  2. #2
    Quote Originally Posted by cec View Post
    relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    I find it impossible not to be blunt and point out that the solution to your problem is written in your own post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •