[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: build problem on Woody, related to SASL

From: GCS <gcs_at_lsc.hu>
Date: 2003-10-06 21:00:59 CEST

On Mon, Oct 06, 2003 at 01:44:04AM +0100, Philip Martin <philip@codematters.co.uk> wrote:
> > -- cut --
> > # Libraries that this one depends upon.
> > dependency_libs=' -L/usr/lib /root/build/subversion-0.30.0/build-shared-svn/subversion/libsvn_ra_local/libsvn_ra_local-1.la -L/build/buildd/openldap2-2.0.23/debian/build/libraries /root/build/subversion-0.30.0/build-shared-svn/subversion/libsvn_repos/libsvn_repos-1.la /root/build/subversion-0.30.0/build-shared-svn/subversion/libsvn_fs/libsvn_fs-1.la /root/build/subversion-0.30.0/build-shared-svn/subversion/libsvn_ra_dav/libsvn_ra_dav-1.la /usr/lib/libneon.la -lssl -lcrypto /usr/lib/libxml2.la -lz /root/build/subversion-0.30.0/build-shared-svn/subversion/libsvn_ra_svn/libsvn_ra_svn-1.la /root/build/subversion-0.30.0/build-shared-svn/subversion/libsvn_delta/libsvn_delta-1.la /root/build/subversion-0.30.0/build-shared-svn/subversion/libsvn_subr/libsvn_subr-1.la /usr/lib/libaprutil-0.la /usr/lib/libldap.la -llber -lresolv -lsasl /usr/lib/liblber.la -ldb /usr/lib/libexpat.la /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -ldl
>
> >From the position of the -lsasl in that list I suspect it is there
> because apr-util is asking for it. The apu-config script is probably
> in /usr/bin, judging from the libaprutil-0.la path. What output do you
> get from "apu-config --libs"? How did you build Apache?
It says:
bash-2.05a# apu-config --libs
 -lldap -llber -ldb -lexpat
Also:
bash-2.05a# apr-config --libs
 -lrt -lm -lcrypt -lnsl -ldl
Tried the same with all /usr/bin/*-config, none of them contains lsasl.
Apache is compiled by the same method, like the other packages: from
debian package sources with debian tools (debuild). But to answer your
question, Debian uses the following switches for configure:
--enable-layout=Debian --enable-so --with-program-name=apache2
--with-dbm=db4 --enable-speling=shared --enable-include=shared
--enable-rewrite=shared --enable-cgid=shared --enable-vhost-alias=shared
--enable-info=shared --enable-suexec=shared --enable-ssl=shared
--enable-unique-id=shared --enable-usertrack=shared
--enable-expires=shared --enable-cern-meta=shared
--enable-mime-magic=shared --enable-headers=shared
--enable-auth-anon=shared --enable-proxy=shared --enable-dav=shared
--enable-dav-fs=shared --enable-auth-dbm=shared --enable-deflate=shared
--enable-cgi=shared --enable-asis=shared --enable-imap=shared
--enable-logio --enable-ext-filter=shared --enable-authn-dbm=shared
--enable-authn-anon=shared --enable-authz-dbm=shared
--enable-auth-digest=shared --enable-actions=shared
--enable-file-cache=shared --enable-cache=shared
--enable-disk-cache=shared --enable-mem-cache=share
--with-suexec-caller=www-data --with-suexec-bin=/usr/lib/apache2/suexec2
--with-suexec-docroot=/var/www --with-suexec-userdir=public_html
--with-suexec-logfile=/var/log/apache2/suexec.log --with-ldap=yes
--with-ldap-include=/usr/include --with-ldap-lib=/usr/lib
--enable-ldap=shared --enable-auth-ldap=shared
--with-mpm=various_from_a_loop

I do not see any offending one... Stop. Just tried ldd /usr/lib/lib*,
and found out that libldap links with SASL, also on Sarge, but it links
with SASL2, and none of other libs link with any SASL. Also, on Woody,
libldap.la exists, but not on Sarge. You may know the root of the
problem by now; as libldap.la contains:
-- cut --
# Libraries that this one depends upon.
dependency_libs='
-L/build/buildd/openldap2-2.0.23/debian/build/libraries -llber -lnsl
-lresolv -ldl -lsasl'
-- cut --
I think it will solve my problem. Thank you very much helping me out! I
will report any success or more failures by fixing this.

Cheers,
GCS

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 6 21:13:12 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.