/usr/bin/ld: cannot find -lpthread

1,777 views
Skip to first unread message

Lucy

unread,
Jun 6, 2014, 6:06:15 PM6/6/14
to packe...@googlegroups.com
Hi,
 After I installed GNU flex and GNU bison, I "clone" packetdrill from => git clone https://code.google.com/p/packetdrill/ to my RED HAT Linux (KERNEL Linux 2.6.32-431.11.2.el6.x86_64), tried to install "packetdrill", I got following lines:
 /usr/bin/ld: cannot find -lpthread
 collect2: ld returned 1 exit status
 make: *** [packetdrill] Error 1

  Does anyone know how to fix this error?

Thanks;

Lucy

Lucy

unread,
Jun 6, 2014, 9:25:55 PM6/6/14
to packe...@googlegroups.com
I had found a way to link to pthread, not help  are needed any more. TThanks.
Message has been deleted

刘卫

unread,
Jun 24, 2014, 9:32:20 PM6/24/14
to packe...@googlegroups.com
yum install glibc-static first

在 2014年6月7日星期六UTC+8上午6时06分15秒,Lucy写道:

Dudu Sabag

unread,
Jan 18, 2015, 3:56:28 PM1/18/15
to packe...@googlegroups.com
? hi, i have the same problam, can you write how did you fixt it

בתאריך יום שבת, 7 ביוני 2014 בשעה 01:06:15 UTC+3, מאת Lucy:

Yuchung Cheng

unread,
Jan 19, 2015, 6:36:43 PM1/19/15
to Dudu Sabag, packe...@googlegroups.com
you need to install the pthread libraries.
> --
> You received this message because you are subscribed to the Google Groups
> "packetdrill" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to packetdrill...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages