From owner-freebsd-questions Tue Nov 13 9:23:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gamma.root-servers.ch (gamma.root-servers.ch [195.49.62.126]) by hub.freebsd.org (Postfix) with SMTP id 289F737B41C for ; Tue, 13 Nov 2001 09:23:10 -0800 (PST) Received: (qmail 59281 invoked from network); 13 Nov 2001 17:23:07 -0000 Received: from dclient217-162-128-224.hispeed.ch (HELO athlon550) (217.162.128.224) by 0 with SMTP; 13 Nov 2001 17:23:07 -0000 Date: Tue, 13 Nov 2001 18:22:57 +0100 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.53bis) Educational Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <196264579024.20011113182257@buz.ch> To: questions@freebsd.org Subject: autoconf failing to detect existing lib... MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hello, I'm trying to use autoconf 2.13 to generate a configure script for my little project and I'm encountering the following problem. Consider the following configure.in excerpt: dnl Checks for library functions. AC_CHECK_LIB(stdc++, main,, AC_MSG_ERROR(requires libstdc++)) AC_CHECK_LIB(xml2, xmlParseFile,, AC_MSG_ERROR(requires libxml2 get it from xmlsoft.org)) AC_CHECK_LIB(xslt, main,, AC_MSG_ERROR(requires libxslt get it from xmlsoft.org)) AC_CHECK_LIB(easysoap, main,, AC_MSG_ERROR(requires libeasysoap get it from easysoap.sourceforge.net)) AC_CHECK_LIB(boost_regex, Merge,, AC_MSG_ERROR(requires libboost_regex get it from www.boost.org)) On my primary development box, this generates a perfectly working configure script, that will detect all the libraries (if present). However, on another machine (both running FreeBSD 4.4 RELEASE) it fails to detect libboost_regex.so which IS present and working as I can build the project using the Makefile generated on the other machine and it will work just fine. Has anyone got any pointer for me as to where I should look to solve the problem? TIA & best regards, Gabriel  -----BEGIN PGP SIGNATURE----- Version: PGP 6.5i iQEVAwUBO/FI5MZa2WpymlDxAQG1kggAt3PNzUHl19kBtyqViWb3XGwJRhfzVLcp xDlhS99wg2qaiDlPma7ZJCLnP6w+xm/xQIWmuutGXIyahpDyGrpIQdGCjN2W7dw+ AsPK4NTEqXDDqGyQjBLYAtkoPXYTp7YnG5xce8aSoZqKVnpw87AKwUOl5BW8Wpk/ uqtL1K0Ix9Wn7qe35JsShKH5/4gSpK7ajgB1hqc4O96HT4Scez4jtPAjLBWK5lpR QaR+d5ZGuOU+pOyf671s36VOqYbHLpDF7SDDGsPav+u4j5FzwLETG8TeH2Glsuz4 KCBaxJojQBgq4TPfxYrQ1bbg8r4qZRE/sojL4HI0yvn1ApEr6gqf1w== =WUS4 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message