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

    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/ so try adding it to the linker command line
    /lib64/ 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
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    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


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

  4. $spacer_open

Posting Permissions

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