Hi all,

I tried to install 2.2.4 server on SuSE 10(x86 platform). I had to install
libgsasl-0.2.28 and udns-0.0.9 and finaly found ./configure command to
successfully configure jabberd2:

./configure --enable-mysql=/mysql1 --enable-ssl --enable-idn
--with-extra-include-path=/mysql1/include/:/usr/local/include
--with-extra-library-path=/mysql1/lib:/usr/local/lib

However make gives an error:

Making all in sx
make[2]: Entering directory `/root/jabberd-2.2-20080915/sx'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/jabberd-2.2-20080915/sx'
Making all in util
make[2]: Entering directory `/root/jabberd-2.2-20080915/util'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/jabberd-2.2-20080915/util'
Making all in c2s
make[2]: Entering directory `/root/jabberd-2.2-20080915/c2s'
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -funsigned-char
-export-dynamic -L/usr/local/lib -L/mysql1/lib  -o c2s c2s-authreg.o
c2s-bind.o c2s-c2s.o c2s-main.o c2s-sm.o ../sx/libsx.la ../mio/libmio.la../util/
libutil.la ../subst/libsubst.la -lssl -lcrypto -lgsasl -ludns -lidn -lexpat
-lresolv  -ldl -lz
gcc -g -O2 -funsigned-char -o c2s c2s-authreg.o c2s-bind.o c2s-c2s.o
c2s-main.o c2s-sm.o -Wl,--export-dynamic  -L/usr/local/lib -L/mysql1/lib
../sx/.libs/libsx.a ../mio/.libs/libmio.a ../util/.libs/libutil.a
../subst/.libs/libsubst.a -lssl -lcrypto /usr/local/lib/libgsasl.so -ludns
/usr/lib/libidn.so /usr/lib/libexpat.so -lresolv -ldl -lz
../sx/.libs/libsx.a(sasl_gsasl.o): In function `sx_sasl_auth':
/root/jabberd-2.2-20080915/sx/sasl_gsasl.c:799: undefined reference to
`gsasl_session_hook_set'
../sx/.libs/libsx.a(sasl_gsasl.o): In function `_sx_sasl_client_process':
/root/jabberd-2.2-20080915/sx/sasl_gsasl.c:299: undefined reference to
`gsasl_session_hook_set'
../sx/.libs/libsx.a(sasl_gsasl.o): In function `_sx_sasl_gsasl_callback':
/root/jabberd-2.2-20080915/sx/sasl_gsasl.c:623: undefined reference to
`gsasl_session_hook_get'
../sx/.libs/libsx.a(sasl_gsasl.o): In function `_sx_sasl_open':
/root/jabberd-2.2-20080915/sx/sasl_gsasl.c:142: undefined reference to
`gsasl_session_hook_get'
collect2: ld returned 1 exit status
make[2]: *** [c2s] Error 1
make[2]: Leaving directory `/root/jabberd-2.2-20080915/c2s'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/jabberd-2.2-20080915'
make: *** [all] Error 2
My /etc/ld.so.conf looks like

/usr/local/lib
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/usr/i486-linux-libc5/lib=libc5
/usr/i386-suse-linux/lib
/opt/kde3/lib
/opt/gnome/lib
include /etc/ld.so.conf.d/*.conf
 and I have run ldconfig recently many times.

I have tried the latest snapshot jabberd-2.2-20080915, but it did not help.
Any idea how to compile it?

Thank you

mirek

Reply via email to