pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] SSL on Pan 137


From: Ed Fletcher
Subject: Re: [Pan-users] SSL on Pan 137
Date: Sat, 19 May 2012 20:14:30 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

On 05/19/2012 07:08 PM, David Shochat wrote:
On Sat, 19 May 2012 18:29:58 -0300, Ed Fletcher wrote:

It turns out that Slackware come with GnuTLS v2.12.7 and Pan needs
2.12.10 or greater.  (I never saw the error until I read config.log.)
So I've installed GnuTLS v2.12.19 but the configure script is still
picking up 2.12.7 for some reason.

Requested 'gnutls>= 2.12.10' but version of GnuTLS is 2.12.7

Where does configure get the version information?

My guess is you now have both installed (maybe in different places) and
it's finding the older one first. I don't know what package manager
slackware uses (it had none when I last used it but that was a very long
time ago). In Debian or Ubuntu, you can go into synaptic and see right
away what version you have, but here's another way (I'm sure there must
be better ways): Go into /usr/lib (or probably /usr/lib64 if you have a
64-bit system) and do something like:

   find . -name 'libgnutls*' -print

In my case, that showed me that I'm getting it out of
/usr/lib/i386-linux-gnu.
One of the files in there is libgnutls.a. So I did this:

   strings libgnutls.a | grep ^Version

That showed several lines, but the interesting one was:

   Version: OpenPrivacy 2.12.14%s

which agrees with what synaptic told me my version was. Do the same thing
in /usr/local/lib (or /usr/local/lib64) and see if there's another one
there. If you built 2.12.19 from source, that's probably where it is
since /usr/local is normally the default prefix. Now, if you do have more
than one version, maybe you can delete the older version (watch out for
dependencies -- a package manager would help here). I don't know whether
you can use LD_LIBRARY_PATH to tell configure where to look first, if you
need to keep both versions.
-- David

Ok, we're closing in on this.

I have all the new libs, 20 of them, in /usr/local/lib. And there's nothing else in there. I have 16 old libs in /usr/lib64. If I delete the old ones and move the new ones to /usr/lib64, will that do it or will I break something else?

Or should I recompile the GnuTLS package with a pointer to the correct location? ./configure --prefix=/usr But I'm not sure they wouldn't end up in /usr/lib rather that /usr/lib64

I just tried moving them and pan still configure still won't recognize gnutls v2.12.19. It still sees v2.12.7 for some reason.

Ed
--
"Money is like manure; it's not worth a thing unless
it's spread around encouraging young things to grow."
- Thornton Wilder



reply via email to

[Prev in Thread] Current Thread [Next in Thread]