[Unbound-users] Where should --with-ldns point to on FreeBSD 8.2 systems

Ondřej Surý ondrej at sury.org
Sat Jan 28 09:08:00 UTC 2012


Have you tried --with-ldns=/usr/local

I am quite sure that --with-ldns=/usr/local/lib is wrong:

AC_ARG_WITH(ldns, AC_HELP_STRING([--with-ldns=PATH],
        [specify prefix of path of ldns library to use]),
        [
        if test "$withval" != "yes"; then
                if test "$withval" != "/usr" -a "$withval" != ""; then
                        CPPFLAGS="-I$withval/include $CPPFLAGS"
                        LDFLAGS="-L$withval/lib $LDFLAGS"
                        ACX_RUNTIME_PATH_ADD([$withval/lib])
                fi
                ldnsdir="$withval"
                AC_SUBST(ldnsdir)
        fi
])


O.

On Fri, Jan 27, 2012 at 20:11, Paul Hoffman <paul.hoffman at vpnc.org> wrote:
> Greetings. I'm building various versions of Unbound on a FreeBSD system that has ldns installed from packages. Thus, it goes into /usr/local.
>
> Most versions of Unbound find it just fine even without --with-ldns, but many don't. The ones that don't are:
>
> unbound-0.0
> unbound-0.1
> unbound-0.2
> unbound-0.3
> unbound-0.9
> unbound-0.9-20080115
> unbound-1.4.11rc1
> unbound-1.4.12
> unbound-1.4.12rc1
> unbound-1.4.13
> unbound-1.4.13p2
> unbound-1.4.13rc1
> unbound-1.4.13rc2
> unbound-1.4.14
> unbound-1.4.14rc1
> unbound-1.4.15rc1
>
> I tried "--with-ldns=/usr/local/lib", but they all fail the same way. In order to make those build, what do I want --with-ldns= to point to?
>
> /usr/local/lib contains:
> -rw-r--r--   1 root  wheel  1161896 Feb  2  2011 libldns.a
> -rw-r--r--   1 root  wheel      946 Feb  2  2011 libldns.la
> lrwxr-xr-x   1 root  wheel       12 Feb  2  2011 libldns.so -> libldns.so.1
> -rwxr-xr-x   1 root  wheel   799978 Feb  2  2011 libldns.so.1
>
>
> --Paul Hoffman
>
>
> _______________________________________________
> Unbound-users mailing list
> Unbound-users at unbound.net
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users



-- 
Ondřej Surý <ondrej at sury.org>




More information about the Unbound-users mailing list