LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-03-2014, 05:36 AM   #1
stubbornator
LQ Newbie
 
Registered: Feb 2014
Posts: 2

Rep: Reputation: Disabled
Question How do I resolve pthread_create@@GLIBC_2.2.5


I have been trying to install Mkahawa but now I am stuck, can any help me resolve the below?

tshepo@ubuntu:~/mkahawa/mkahawa-srv$ make
Making all in m4
make[1]: Entering directory `/home/tshepo/mkahawa/mkahawa-srv/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/tshepo/mkahawa/mkahawa-srv/m4'
Making all in src
make[1]: Entering directory `/home/tshepo/mkahawa/mkahawa-srv/src'
g++ -g -O2 -o mkahawa CCLWin.o CCLIconItem.o ProductsFrame.o CashingFrame.o TarifFrame.o MembersFrame.o EmployeesFrame.o NotpaidFrame.o LogFrame.o ReportFrame.o TicketsBox.o QTicketsBox.o SettingsBox.o verifiers.o MSGWin.o icons.o main.o -lccls -lFOX-1.6
/usr/bin/ld: CCLWin.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in DSO /lib/x86_64-linux-gnu/libpthread.so.0 so try adding it to the linker command line
/lib/x86_64-linux-gnu/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [mkahawa] Error 1
make[1]: Leaving directory `/home/tshepo/mkahawa/mkahawa-srv/src'
make: *** [all-recursive] Error 1
 
Old 02-03-2014, 07:09 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,984

Rep: Reputation: 7888Reputation: 7888Reputation: 7888Reputation: 7888Reputation: 7888Reputation: 7888Reputation: 7888Reputation: 7888Reputation: 7888Reputation: 7888Reputation: 7888
you need to add -pthread to CPPFLAGS in the makefile I think
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help - 'pthread_create@@GLIBC_2.2.5' stubbornator Linux - Newbie 1 02-03-2014 07:12 AM
How I can resolve the error Postfix? warning: hostname does not resolve to address kanzer Linux - Server 1 03-22-2013 08:56 AM
cachingserver can resolve www.gmail.com, but can not resolve mail.com SeniorGoe Linux - Server 6 06-12-2010 01:10 PM
Unable to resolve ulr. /et/resolve.conf looks fine? TheBrick Linux - Networking 3 02-14-2008 04:13 AM
libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.2) needed for Linux 7.3.1 vivek_thampy Linux - Software 1 08-09-2004 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration