"checking for the pthreads library -lpthreads... no" in Debian Etch
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
"checking for the pthreads library -lpthreads... no" in Debian Etch
Hi,
I am using Debian Etch. I am trying to install a software with ./configure, make and make install.
After ./configure I am getting:
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking if more special flags are required for pthreads... no
I have did:
apt-get install libopenthreads-dev
But nothing have changed, some one know wtaht package do I need to install?
I am using Debian Etch. I am trying to install a software with ./configure, make and make install.
After ./configure I am getting:
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking if more special flags are required for pthreads... no
I have did:
apt-get install libopenthreads-dev
But nothing have changed, some one know wtaht package do I need to install?
How about telling us what software you're trying to install? And you can look for the libpthread, package too.
A sort of roundabout way of fixing this could be to install apt-file. Then just look in the configure script for how it checks for pthreads. It'll probably be some kind of file check to see if it exists, find the name of that file then do a apt-file search for the file name.
A sort of roundabout way of fixing this could be to install apt-file. Then just look in the configure script for how it checks for pthreads. It'll probably be some kind of file check to see if it exists,
for me it looks as if configure tests, how to include libpthreads. The right option is -pthread imho (not -lpthread or -kthread and so on ...).
Cstrieder, can you confirm that /usr/include/pthread.h is there ? If yes then either the configure script is wrong or you maybe need a newer libc6 ?
Can you post the full configure output including the error message, if there is any ?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
Debian Etch .. rcssbase-12.1.1
Quote:
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
The 'no' in the first line doesn't matter, rcssbase compiles
with no errors. ( I had to use boost_1_36, the Debian boost
files didn't work, libboost-dev etc. version 1.32 )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.