Maintained by: NLnet Labs

[Unbound-users] ubuntu install problems

W.C.A. Wijngaards
Tue Feb 24 14:52:33 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi James,

James Nutt wrote:
> Hi!  Thank you for providing this support avenue.
> 
> I am new to unbound and, unfortunately, not as linux savvy as I would
> like to be.  I am trying to compile and install from source on ubuntu
> 8.10 server.  ./configure seems to be successful, but make exits with
> the following error:
> 
> root at DNSNUTT:/home/james/unbound-1.2.1 2# make
> ./libtool --tag=CC --mode=link gcc  -R/usr/lib -g -O2 -D_GNU_SOURCE
> -pthread -L/usr/lib -o unbound-host build/compat/strlcpy.lo
> build/smallapp/unbound-host.lo -L. -L.libs -lunbound -lldns   -lcrypto
> libtool: link: cannot find the library `' or unhandled argument `2'
> make: *** [unbound-host] Error 1
> 
> I googled this, but did not find a solution.

I have tried to reproduce this on ubuntu 8.10 (eeebuntu), but I cannot.
I get the exact same make line, but for me that works fine and libtool
does not complain.

Have you run autoconf/autoreconf/aclocal/libtoolize/automake in the
unbound directory? (you have to type them yourself to make it happen)
I have been using the configure (and libtool) script as they have been
distributed with unbound.

What is so different about your ubuntu 8.10 server?

In any case you can install the libtool package (apt-get install
libtool) if you do not have it already, and either use ./configure
LIBTOOL=libtool or edit the Makefile and change
  libtool=./libtool
into
  libtool=libtool

I hope this fixes your problem.

Best regards,
   Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkmj+6EACgkQkDLqNwOhpPhkMwCgtqD4+hKvAq+DBFdSzov7RHdR
oyQAoLfF74/I6PrmJe9O4yliWMIR8o/S
=mAHy
-----END PGP SIGNATURE-----