|
From: | Vasudeva Martin |
Subject: | compile source package commoncpp2-1.2.4 |
Date: | Sat, 18 Sep 2004 13:52:05 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a3) Gecko/20040817 |
Dear Sir and Madam,I wannted to install the commoncpp2-1.2.4 package. on my SUSE Linux 9.1. When i tried to, i recognized the following behavior the configure script aborted with the message that there was no lib for threads found after checking for pthread_self and pthread_kill in different thread libraries. I checked the pthread library with "strings /usr/lib/pthread.a | grep -e self -e kill" and saw that the wanted symbols exist. Another test was that i wrote in a configure.in of a project the line "AC_CHECK_LIB(pthread,pthread_self,echo pthread yesss!)" and after an autoconf the configure script answered the test with yes. Then i done a ./reconfig in the commoncpp2-1.2.4 Folder but this didn't help, too. The solution i found was start configure as shown at the next line:
"./configure LDFLAGS=-L/usr/lib"After that the configure script succeeded and i was able to compile and install the package. I'm just wondering that it is nessacery tell your package the standard path for libraries.
With kind regards Vasudeva Martin
[Prev in Thread] | Current Thread | [Next in Thread] |