Re: [Tracker] Problems with SSL



On 8/1/06, Jamie McCracken <jamiemcc blueyonder co uk> wrote:
Marcus Fritzsch wrote:
> Hey there,
>
> On 8/1/06, Jamie McCracken <jamiemcc blueyonder co uk> wrote:
>> [...]
>> >> hmm.
>> >>
>> >> I can suggest the following:
>> >>
>> >> 1) check all undefined refs are in ssl.h (/usr/openssl/ssl.h).  (You
>> >> should have package openssl as well installed)
>> >
>> > It is the case. But it is a problem with MySQL and SSl, not only SSL.
>> >
>> >> 2) If so, check libopenssl.pc (in usr/lib/pkgconfig) it should look
>> >> something like:
>> >>
>> >> prefix=/usr
>> >> exec_prefix=${prefix}
>> >> libdir=${exec_prefix}/lib
>> >> includedir=${prefix}/include
>> >>
>> >> Name: OpenSSL
>> >> Description: Secure Sockets Layer and cryptography libraries and tools
>> >> Version: 0.9.8a
>> >> Requires:
>> >> Libs: -L${libdir} -lssl -lcrypto
>> >> Libs.private: -ldl -lz
>> >> Cflags: -I${includedir}
>> >
>> > -lcrypto is in Libs.private on my box, but it doesn't do any difference
>> > at compilation.
>> >
>> >> 3) if problem still persists, modify configure.in to get flags from
>> >> libssl : PKG_CHECK_MODULES(SSL, [ libssl >= 0.9.6 ])
>> >
>> > ?
>> > It is already in configure.in.
>> >
>> >> 4) If all else fails,you can try removing the  ssl stuff from the
>> >> configure.in (lines 90-92 and 98-99) and see if it works.
>> >
>> > I already tried that without any success...
>> >
>> >
>> > What parameters do you use at "./configure"?
>> >
>>
>> just --prefix=/usr
>>
>> >
>> > I also tried the tarball of tracker-0.0.4 and get problems with SSL.  I
>> > always used CVS so I don't know if I would have problems with this
>> > version before.
>>
>> sounds like debian unstable is busted at the momemnt
>>
>>
>> >
>> > If you have a Debian Unstable, can you update it and try? I suspect
>> some
>> > changes from an upgrade this week-end...
>> >
>> >
>>
>> I only have dapper and FC5.
>>
>> Can you report problems to Debian?
>>
>> Also when I do a release in the next few days I will have a deb for
>> Dapper which should work on Debian (As we dont use sockets in mysql it
>> should never call those ssl functions)
>
> I might say, that I am too using a debian sid system --- tracker does
> quite well here (but i needed to patch some build-files ;))
>
> Laurent, here's what I have installed and is needed to build/run
> tracker (dpkg -l ...):
>
> [pts/3,0,0] m nexus [~] % dpkg -l libc6 libglib2.0-0 libdbus-1-2
> libdbus-glib-1-2 shared-mime-info libextractor1c2a libssl-dev
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> uppercase=bad)
> ||/ Name           Version        Description
> +++-==============-==============-============================================
>
> ii  libc6          2.3.6-16       GNU C Library: Shared libraries
> ii  libdbus-1-2    0.62-4         simple interprocess messaging system
> ii  libdbus-glib-1 0.62-4         simple interprocess messaging system
> (GLib-b
> ii  libextractor1c 0.5.14-2       extracts meta-data from files of
> arbitrary t
> ii  libglib2.0-0   2.10.3-3       The GLib library of C routines
> ii  libssl-dev     0.9.8b-2       SSL development libraries, header
> files and
> ii  shared-mime-in 0.17-2         FreeDesktop.org shared MIME database
> and spe
>
> Does that helps? Do you need some more info?
>
>
> Marcus
>
>

You also need the ebedded mysql server + all the headers for *building
only* (it gets statically linked in)

These are packages libmysqlclient15-dev and libmysqlclient15-off on
dapper (duno if they are same on sid)

I knew I forgot something - so, here is it:

$ dpkg -l libmysqlclient15-\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libmysqlclient 5.0.22-4       mysql database development files

As a side note, I also have the mysql server installed - that does not
interferes in any way so far (meaning the build process).


Rgds, Marcus



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