Re: GNUTLS and configure options

Bill WIlson <[email protected]>
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
On Fri, 16 Feb 2007 05:28:14 +0000 (GMT)
Cai Qian <[email protected]> wrote:

> I would like to compile gkrellm linking to GNUTLS library but without to
> OpenSSL library. I saw there is --without-ssl option. However, I am not sure
> how to pass it to src/configure. Every time I run "make" in top directory of
> the source code, it overwrites the options, and gkrellm has still been linked
> to OpenSSL.

If gnutls is installed it should link to it preferentially.  In any case, the option
would be set by making with the command:  make without-ssl=1

I get these results:

$ make
$ ldd src/gkrellm | grep ssl
        libgnutls-openssl.so.11 => /usr/lib/libgnutls-openssl.so.11 (0xb7863000)

$ make without-ssl=1
ldd src/gkrellm | grep ssl
        libgnutls-openssl.so.11 => /usr/lib/libgnutls-openssl.so.11 (0xb78a9000)

$ make without-gnutls=1
$ ldd src/gkrellm | grep ssl
	libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb78c2000)

Bill
_______________________________________________
Gkrellm mailing list
[email protected]
http://lists.jutley.org/cgi-bin/mailman/listinfo/gkrellm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.