Find the answer to your Linux question:
Results 1 to 3 of 3
Good evening, I'm trying to compile a file OTServ in Fedora 14, and when I MAKE digido the end of the compilation is showing the following error: /usr/bin/ld: admin.o: undefined ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    0

    Red face undefined reference to symbol 'pthread_key_delete@@GLIBC_2.2.5


    Good evening,
    I'm trying to compile a file OTServ in Fedora 14, and when I MAKE digido the end of the compilation is showing the following error:

    /usr/bin/ld: admin.o: undefined reference to symbol 'pthread_key_delete GLIBC_2.2.5'
    /usr/bin/ld: note: 'pthread_key_delete GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
    /lib64/libpthread.so.0: could not read symbols: Invalid operation
    collect2: ld returned 1 exit status
    make[1]: ** [otserv] Erro 1
    make[1]: Saindo do diretório `/home/Cleiton/sources/OpenTibia/OTServ/trunk'
    make: ** [all] Erro 2

    Help me in detail because I am new to Linux.

    I'm from Brazil, and could not support the forums here.

    Thank you for your attention

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,454
    Sorry I don't speak/read/write Portuguese so I'll try to keep this as simple as possible.

    Missing symbols means the component (library in this case) is not linked to the program you are building. Try going into the Makefile and adding '-L /lib64 -l pthread' to the variable LDFLAGS.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Mar 2011
    Posts
    0

    Smile

    Rubberman
    Thank you, thank you so much ...
    It worked I was trying to 2 weeks. Do not know how to thank you.
    Thanks
    Last edited by cleitonprata; 03-04-2011 at 02:47 AM.

Posting Permissions

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