Skip to contentSkip to conversation

Configure: error: *** libwrap missing

DISCUSSION Christopher Carney 3 participants 3 messages May 1, 2003 – May 2, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw

I am trying to install SELinux on a Mandrake 8.0 machine.

I get a

"checking for libwrap. configure: error: *** libwrap missing

make[1]: *** [xopenssh-config] Error 1

make[1]: Leaving directory '/selinux/utils'

make: *** [quickinstall] Error 2"

So I went ahead and ran. /configure for XOpenSSH which worked fine.

Not sure where to go from here. Any help is appreciated.

Thanks,

Chris

#1 lore raw
Quoted 1 line · Christopher Carney

"checking for libwrap. configure: error: *** libwrap missing

The best thing to do is to install the package that provides the libwrap header files and libwrap.a. libwrap allows control over which IP addresses and domains can connect to sshd, this is desirable functionality.

Quoted 1 line

So I went ahead and ran. /configure for XOpenSSH which worked fine.

./configure should detect the lack of libwrap and you should then be able to compile it with the SE patch. You can compile the patched programs without using the supplied scripts, it requires a little more effort but the result will be equally good.

Probably the best thing to do however would be to create rpms of the patched software for Mandrake. Or maybe Carsten has some SuSE rpms that would work for you.

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw
In reply to Christopher Carney
Quoted 3 lines · Christopher Carney

"checking for libwrap. configure: error: *** libwrap missing

make[1]: *** [xopenssh-config] Error 1

If you look at the xopenssh-config target in the selinux/utils/Makefile, you'll see that it specifies a number of options to configure, including --with-tcp-wrappers. If you don't have that package, you can either get it or you can drop that option from the configure command line.

Quoted 1 line

So I went ahead and ran. /configure for XOpenSSH which worked fine.

Except that running ./configure without specifying any other options will yield a sshd that doesn't include the SELinux support, and likely won't be installed where you want it either. I'd suggest just trimming the --with-tcp-wrappers option from the configure line in utils/Makefile.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.