From: Roland Kaltefleiter Date: February 18 2000 6:54pm Subject: Mysql 3.22.32/Autoconf/tcpwrappers (Solaris) List-Archive: http://lists.mysql.com/bugs/7 Message-Id: <200002181854.TAA01772@netuse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi ! While trying to compile mysql 3.22.32 on Solaris 7 (Sparc) with Sun CC 5.0 (or egcs) [does not matter], I have: When I try to include my libwrap.a (a tcpwrapper 7.6) which is installed as /opt/NUtcpwrapper-7.6/lib/libwrap.a on my system, I would expect a: ./configure --enable-shared --disable-static --prefix=/opt/NUmysql-3.22.32 --enable-large-files --with-libwrap="/opt/NUtcpwrapper-7.6/lib/libwrap.a" to work fine. But the configure dies with: 'configure: error: Could not find the /opt/NUtcpwrapper-7.6/lib/libwrap.a library. You must first install tcp_wrappers.' But: ls -la /opt/NUtcpwrapper-7.6/lib/libwrap.a -rw-r--r-- 1 root sys 75208 Aug 10 1999 /opt/NUtcpwrapper-7.6/lib/libwrap.a So I traced that down and the problem is, that when compiling conftest, libnsl.so and libsocket.so are NOT included, which I would expect to be included automatically, or at least have a note in the INSTALL-SOURCE file as a known problem. Using a '--with-libwrap="/opt/NUtcpwrapper-7.6/lib/libwrap.a -lnsl -lsocket" works fine. Roland -- Dr. Roland Kaltefleiter NetUSE Kommunikationstechnologie GmbH Siemenswall, D-24107 Kiel, Germany Fon: +49 431 386435 00 -- Fax: +49 431 386435 99