[Openvas-devel] Started to migrate libopenvas from OpenSSL to GnuTLS
timb at nth-dimension.org.uk
Wed Jun 20 22:50:14 CEST 2007
On Monday 18 June 2007 22:29:28 Jan-Oliver Wagner wrote:
> On Monday 18 June 2007 20:30, Bernhard Herzog wrote:
> > On Monday 18 June 2007 18:53, Tim Brown wrote:
> > > Just been trying to compile openvas-libnasl on a clean Debian testing
> > > VM and am having some problems because it can't find the GNU TLS
> > > libraries when linking to libopenvas. I can hack around configure.in
> > > to tell it to use libopenvas-config but I wondered if you wished to
> > > have a look at it, before I start hacking since you're currently
> > > working on the GNU TLS support.
> > I haven't begun to work on libnasl yet. However, I think it should
> > indeed use libopenvas-config to determine which flags to use to compile
> > and link. If you have the time, please go ahead with this change.
> shouldn't it be OK as is? After the transition from openssl to gnutls is
> complete, neither openssl nor gnutls should be required for compilation.
> Only for linking, and that is already covered by libopenvas-config
> (--libs). Also, isn't libopenvas-config already properly integrated into
> configure.in ?
Well, it is, but for what ever reason when libnasl tries to link, it barfs as
it can't find the GNU TLS libraries, libopenvas-config doesn't appear to tell
libnasl where to find them.
Looking at the relevant files from the libopenvas source, it appears the
environment variables for SSL support are not found by configure.in/configure
and therefore are not set in libopenvas-config.
<mailto:timb at nth-dimension.org.uk>
More information about the Openvas-devel