[Kolab-devel] Kolab2 installation problems

Stuart K Bingë omicron-list at mighty.co.za
Fri Nov 26 14:23:03 CET 2004


Hi guys,

I've been having some problems installing the latest OpenPKG 2.2/Proko2 
packages. Basically installation fails with the Apache RPM, complaining about 
missing symbols when linking to libxslt; from what I can tell the missing 
symbols belong to gcrypt. The error looks like this:



/kolab/bin/cc  -DLINUX=22 -DTARGET=\"apache\" -DNO_DBM_REWRITEMAP 
-DMOD_SSL=208120 -DEAPI -DEAPI_MM -O2 -pipe -I/kolab/include -I/kolab/include 
`./apaci` -
L/kolab/lib -L/kolab/lib -L/kolab/lib -L/kolab/lib -rdynamic \
      -o apache buildmark.o modules.o modules/ssl/libssl.a 
modules/php4/libphp4.a modules/dav/libdav.a modules/standard/libstandard.a 
modules/extra/libextr
a.a modules/proxy/libproxy.a main/libmain.a ./os/unix/libos.a ap/libap.a   
-lldap -llber -lssl -lcrypto -lndbm -lgdbm -limap -lmodphp4 -limap 
-L/kolab/lib
-lexpat  -Wl,-rpath,/kolab/lib  -rdynamic -L/kolab/lib -Lmodules/php4 
-L../modules/php4 -L../../modules/php4 -lmodphp4    -rdynamic -L/kolab/lib 
-lcrypt  -
limap  -lssl -lcrypto -lexpat -lcrypt -lmm -lldap -llber -lcrypt -lpam -lintl 
-lexslt -lxml2 -lxslt -lz -lgdbm -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl
-liconv -lssl -lcrypto -lxml2 -lz -lm -lz -liconv -lcrypt -lcrypt   -lm  -lssl 
-lcrypto -lmm -lexpat
/kolab/lib/libimap.a(osdep.o)(.text+0xc81b): In function `ssl_onceonlyinit':
/kolab/RPM/TMP/imap-2004a/c-client/osdep.c:267: the use of `tmpnam' is 
dangerous, better use `mkstemp'
/kolab/lib/libldap.a(os-ip.o)(.text+0x77f): In function 
`ldap_connect_to_host':
: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/kolab/lib/libldap.a(os-ip.o)(.text+0x772): In function 
`ldap_connect_to_host':
: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
modules/proxy/libproxy.a(proxy_cache.o)(.text+0x1c40): In function 
`ap_proxy_cache_update':
: the use of `mktemp' is dangerous, better use `mkstemp'
/kolab/lib/libexslt.a(crypto.o)(.text+0x98): In function 
`exsltCryptoGcryptInit':
: undefined reference to `gcry_check_version'
/kolab/lib/libexslt.a(crypto.o)(.text+0xd7): In function 
`exsltCryptoGcryptHash':
: undefined reference to `gcry_md_hash_buffer'
/kolab/lib/libexslt.a(crypto.o)(.text+0x522): In function 
`exsltCryptoRc4EncryptFunction':
: undefined reference to `gcry_cipher_open'
.
.
.
(more missing gcry_ symbols)



Although when looking at obmtool.conf I see the following line relating to 
libxslt/gcrypt:

@install ${loc}libxslt-1.1.11-2.2.0 # WARNING: Remove libgcrypt before 
building!

Disregarding that comment I tried installing gcrypt anyway, but that didn't 
seem to help at all.

Is the installation procedure actually broken (as the Apache package seems to 
be a modified version of the standard OpenPKG package, so I'm thinking that 
might be the problem) or am I missing something here? The packages I'm using 
are the latest available off Intevation's server and I'm installing from 
scratch (i.e. not upgrading) via the standard # ./obmtool kolab

Cheers,
-- 
Stuart K Bingë
 - Freelance UNIX/C++, PHP, Perl developer.

Email: omicron at mighty.co.za




More information about the devel mailing list