MySQL Lists are EOL. Please join:

List:Bugs« Previous MessageNext Message »
From:Roland Kaltefleiter Date:February 18 2000 6:54pm
Subject:Mysql 3.22.32/Autoconf/tcpwrappers (Solaris)
View as plain text  
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
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.'
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, and are
NOT included, which I would expect to be included automatically, or at least have a note
file as a known problem.

Using a '--with-libwrap="/opt/NUtcpwrapper-7.6/lib/libwrap.a -lnsl -lsocket" works fine.


Dr. Roland Kaltefleiter
NetUSE Kommunikationstechnologie GmbH
Siemenswall, D-24107 Kiel, Germany
Fon: +49 431 386435 00   --   Fax: +49 431 386435 99
Mysql 3.22.32/Autoconf/tcpwrappers (Solaris)Roland Kaltefleiter18 Feb