Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2001 18:22:57 +0100
From:      Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
To:        questions@freebsd.org
Subject:   autoconf failing to detect existing lib...
Message-ID:  <196264579024.20011113182257@buz.ch>

next in thread | raw e-mail | index | archive | help
-----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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?196264579024.20011113182257>