Configure Error Libpthread Not Found
Contents |
| Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Installing Activemq-cpp in HP-UX Can anyone help on how to
Sched_yield Was Not Found On Your System
install activemq-cpp in hp-ux. I am using 3.0 version of activemq-cpp. When i configure error sched_yield was not found on your system tried to configure, i got the following error message. checking for time... yes checking for ftime... yes checking for protobuf cppunit-config... /usr/local/bin/cppunit-config checking for Cppunit - version >= 1.10.2... 1.12.1 checking for pthread_create in -lpthread... no configure: error: libpthread not found! Where can i found libpthread. Thanks in advance tabish121@gmail.com Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Installing Activemq-cpp in HP-UX On Thu, 2009-10-22 at 02:47 -0700, Radha Manickam wrote: > Can anyone help on how to install activemq-cpp in hp-ux. > I am using 3.0 version of activemq-cpp. > > When i tried to configure, i got the following error message. > > > checking for time... yes > > checking for ftime... yes > > checking for cppunit-config... /usr/local/bin/cppunit-config > > checking for Cppunit - version >= 1.10.2... 1.12.1 > > checking for pthread_create in -lpthread... no > > configure: error: libpthread not found! > > > Where can i found libpthread. libpthread is usually found in either /usr/lib and pthread.h is in /usr/include. If you have the locate command you can try running `locate libpthread` Regards Tim. Radha Manickam Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Installing Activemq-cpp in HP-UX Hi Tim, I have libpthread installed in /usr/lib/. I added the path in SHLIB_PATH. Even though i got the same error. I am compiling using gcc. Radha. Timothy Bish wrote On Thu, 2009-10-22 at 02:47 -0700, Radha Manickam wrote: > Can anyone help on how to install activemq-cpp in hp-ux. > I am using 3.0 version of activemq-cpp. > > When i tried to configure, i got the following error message. > > > checking for time... yes > >
failed with the error configure: error: libpthread not found!" when running on CentOS http://activemq.2283324.n4.nabble.com/Installing-Activemq-cpp-in-HP-UX-td2349926.html 6.7. Stupidly i had forgotten to install the gcc-c++ package. "yum install gcc-c++" fixed everything. The error notification is although mentioned in the http://www.schakko.de/2015/09/14/configure-error-libpthread-not-found-while-configuring-activemq-cpp-3-8-and-3-9-on-centos-6-7/ ActiveMQ FAQ. Stupid me. Categories: Linux September 14, 2015SchakkoArticle CategoriesLinux Software EngineeringInterested in Java, PHP, Xtend, Xtext, Spring, Laravel, PostgreSQL, Neo4j, AngularJS and d3.js. Open source enthusiast. Infastructure & OperationsImplementing build management and continuous integration/deployment/delivery solutions. Application monitoring and third-level support. Teamcity, Jenkins, Chef, Grafana, Elasticsearch. Tracing errors and huntings bugs. Contacttwitter: https://twitter.com/schakkogithub: https://github.com/schakkoe-mail: me at schakko.de Copyright © 2016. Powered by WordPress. Designed by myThem.es
hp-ux.I am using 3.0 version of activemq-cpp.When i tried to configure, i got http://grokbase.com/t/activemq/users/09apzmfaka/installing-activemq-cpp-in-hp-ux the following error message.checking for time... yeschecking for ftime... yeschecking for cppunit-config... /usr/local/bin/cppunit-configchecking for Cppunit - version >= 1.10.2... 1.12.1checking for pthread_create in -lpthread... http://stackoverflow.com/questions/34209320/cross-compiling-using-android-toolchains noconfigure: error: libpthread not found!Where can i found libpthread.Thanks in advance--View this message in context: http://www.nabble.com/Installing-Activemq-cpp-in-HP-UX-tp26007199p26007199.htmlSent from the ActiveMQ - User mailing list archive not found at Nabble.com. reply Tweet Search Discussions Search All Groups users 10 responses Oldest Nested Timothy Bish libpthread is usually found in either /usr/lib and pthread.h is in /usr/include. If you have the locate command you can try running `locate libpthread` Regards Tim. Timothy Bish at Oct 22, sched_yield was not 2009 at 10:25 am ⇧ On Thu, 2009-10-22 at 02:47 -0700, Radha Manickam wrote:Can anyone help on how to install activemq-cpp in hp-ux.I am using 3.0 version of activemq-cpp.When i tried to configure, i got the following error message.checking for time... yeschecking for ftime... yeschecking for cppunit-config... /usr/local/bin/cppunit-configchecking for Cppunit - version >= 1.10.2... 1.12.1checking for pthread_create in -lpthread... noconfigure: error: libpthread not found!Where can i found libpthread.libpthread is usually found in either /usr/lib and pthread.h isin /usr/include. If you have the locate command you can try running`locate libpthread`RegardsTim. reply | permalink Radha Manickam Hi Tim, I have libpthread installed in /usr/lib/. I added the path in SHLIB_PATH. Even though i got the same error. I am compiling using gcc. Radha. Timothy Bish wrote: -- View this message in context: http://www.nabble.com/Installing-Activemq-cpp-in-HP-UX-tp26007199p26008333.html Sent from the ActiveMQ - User mailing list archive a
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up cross compiling using Android toolchains up vote 0 down vote favorite I need to compile mpich for android , I used NDK arm-linux-andoirdeabi-4.8 toolchain to cross compile mpi , I did the following export PATH="$NDK_ROOT/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/:$PATH" export SYS_ROOT="$NDK_ROOT/platforms/android-8/arch-arm/" export CC="arm-linux-androideabi-gcc --sysroot=$SYS_ROOT" export LD="arm-linux-androideabi-ld" export AR="arm-linux-androideabi-ar" ./configure --host=arm-linux-androideabi --prefix=/Crosscompile2/jni/mpich/ LIBS="-lc -lgcc " --disable-shared --disable-fortran --disable-cxx but I got the following error: checking for pthread_key_create in -lpthread... no checking checkpointing library... configure: error: pthreads is required for checkpointing, but was not found configure: error: src/pm/hydra configure failed when I added -lpthread LIBS="-lc -lgcc -lpthread" it didn't compile checking whether the C compiler works... no configure: error: C compiler cannot create executables android android-ndk cross-compiling mpich share|improve this question asked Dec 10 '15 at 18:39 Doha 204 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted Android is special in that it implements pthreads, but does not have a separate libpthread.a. The easy workaround is to add an empty library to your toolchain usr/lib $AR q $SYS_ROOT/usr/lib/libpthread.a before running ./configure share|improve this answer answered Dec 10 '15 at 19:43 Alex Cohn 24.8k43392 I have tried the following /ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar q $SYS_ROOT/usr/lib/libthread.a then ./configure --host=arm-linux-androideabi --prefix=home/doha/workspace/Crosscompile2/jni/mpich/ LIBS="-lc -lgcc " --disable-shared --disable-fortran --disable-cxx --enable-pic --extra-ldflags="-L." configure: error: unrecognized option: `--extra-ldflags=-L.' if I removed the ldflag I get the same old error pthread required I also want to know