Re: [Tracker] Problems with SSL



Le lundi 31 juillet 2006 Ã 10:47 +0100, Jamie McCracken a Ãcrit :
Laurent Aguerreche wrote:
Hello,

it seems that some modifications have been introduced to the build
system (configure.in at revision 1.8). Now, I cannot compile Tracker on
Debian Unstable anymore:

(the end)
/bin/sh ../../libtool --mode=link gcc  -Wno-unused-parameter   -o
trackerd  trackerd.o tracker-inotify.o  tracker-db.o tracker-dbus.o
tracker-dbus-files.o tracker-dbus-methods.o tracker-dbus-metadata.o
tracker-dbus-keywords.o tracker-dbus-search.o tracker-metadata.o
tracker-rdf-query.o tracker-utils.o xdgmime.o xdgmimealias.o
xdgmimecache.o xdgmimeglob.o xdgmimeint.o xdgmimemagic.o xdgmimeparent.o
-pthread -lgthread-2.0 -lglib-2.0    -ldbus-glib-1 -ldbus-1 -lglib-2.0
-L/usr/lib/mysql -lmysqld -lz -lpthread -lcrypt -lnsl -lm -lpthread
-lwrap -lrt -lssl -lcrypto   -lstdc++
mkdir .libs
gcc -Wno-unused-parameter -o trackerd trackerd.o tracker-inotify.o
tracker-db.o tracker-dbus.o tracker-dbus-files.o tracker-dbus-methods.o
tracker-dbus-metadata.o tracker-dbus-keywords.o tracker-dbus-search.o
tracker-metadata.o tracker-rdf-query.o tracker-utils.o xdgmime.o
xdgmimealias.o xdgmimecache.o xdgmimeglob.o xdgmimeint.o xdgmimemagic.o
xdgmimeparent.o -pthread  /usr/lib/libgthread-2.0.so -ldbus-glib-1
-ldbus-1 /usr/lib/libglib-2.0.so -L/usr/lib/mysql -lmysqld -lz -lcrypt
-lnsl -lm -lpthread -lwrap -lrt -lssl -lcrypto -lstdc++
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`new_VioSSLAcceptorFd':
(.text+0x282): undefined reference to `SSL_CTX_sess_set_cache_size'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`new_VioSSLAcceptorFd':
(.text+0x2f9): undefined reference to `SSL_CTX_set_tmp_dh'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`new_VioSSLAcceptorFd':
(.text+0x35d): undefined reference to `OpenSSL_add_all_algorithms'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`new_VioSSLConnectorFd':
(.text+0x513): undefined reference to `SSL_CTX_set_tmp_dh'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`new_VioSSLConnectorFd':
(.text+0x57e): undefined reference to `OpenSSL_add_all_algorithms'
collect2: ld returned 1 exit status
make[3]: *** [trackerd] Error 1
make[3]: Leaving directory
`/home/laurent/tracker/CVS/tracker/src/trackerd'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/laurent/tracker/CVS/tracker/src/trackerd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/laurent/tracker/CVS/tracker/src'
make: *** [all-recursive] Error 1


I tried to revert changes to revision 1.7 without any success...


Firstly make sure you have LibSSL and libSSL-dev packages installed (its 
a bug in the deb that does not pull in this dependency)

I am using libssl and libssl-dev version 0.98  and its okay

If there is still a problem then let me know.

On my Debian Unstable, I have packages libssl-dev (0.9.8b-2) and
libssl0.9.8 (0.9.8b-2), but it doesn't work.


Laurent.



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