On 15 Jan 2009, at 11:32, D. Eckert wrote: > Hi @all, > > I am hopping not posting here an off-topic... ? > > My problem: > > I need to compile cyrus-sasl-2.1.22 containing auxprop module for > sql (pgsql, mysql). > > Tried with gcc-3.4.3, gcc-3.4.6 and SunStudio cc. > > Compiling works, but it complaints, that it can't find a shared lib > for e. g. -lresolv -ldb-4 -llm and other. > > As well all the plugins reside in /opt/cyrus-sasl-2.1.22/lib/sasl2 > are static !!! And return of ldd to libsasl2.so.2 ist just empty. > > testsaslauthd terminates with a core dump and says shortly before > crashing, that no Mechanisms available. > > I am not sure how to get the auxprop running well, the cyrus-sasl > documention is anything else than adequate and complete. > > Does any one know, how to force the compile to generate shared libs > with *.so as a file end? > > CFLAGS='-KPIC' didn't solve the problem at all.
We've seen problems building Cyrus SASL if you've got the wrong version of aclocal/automake. If memory serves, it failed to build the plugins properly. I have the /usr/bin/automake symlink pointing at automake-1.9, and / usr/bin/aclocal pointing at aclocal-1.9. Cheers, Chris
