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

Re: subversion 1.4.5 compile on centos 5 - x86_64 - can't figure it out

From: David Chapman <dcchapman_at_earthlink.net>
Date: 2007-11-07 01:39:52 CET

Charlie Reddington wrote:
> Hi everyone,
>
> I'm pulling my hair out here. I'm trying to compile subversion. My end
> goal is to have svn + apache.
>
> I installed apache 2.2.4 on a cent os 5 64 bit machine.
>
> I'm compiling svn as such.
>
> ./configure --prefix=/usr/local/subversion
> --with-apxs=/usr/local/apache2/bin/apxs --without-berkely-db
> --with-ssl --enable-shared
>
> I get this error at the end of the make
>
> /bin/sh /root/subversion-1.4.5/libtool --tag=CC --silent
> --mode=compile gcc -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -g
> -O2 -pthread -I./subversion/include -I./subversion
> -I/usr/local/apache2/include -I/usr/local/apache2/include -o
> subversion/libsvn_subr/xml.lo -c subversion/libsvn_subr/xml.c
> cd subversion/libsvn_subr && /bin/sh /root/subversion-1.4.5/libtool
> --tag=CC --silent --mode=link gcc -g -O2 -g -O2 -pthread -rpath
> /usr/local/subversion/lib -o libsvn_subr-1.la auth.lo cmdline.lo
> compat.lo config.lo config_auth.lo config_file.lo config_win.lo
> constructors.lo ctype.lo date.lo dso.lo error.lo hash.lo io.lo
> kitchensink.lo lock.lo md5.lo nls.lo opt.lo path.lo pool.lo prompt.lo
> quoprint.lo simple_providers.lo sorts.lo ssl_client_cert_providers.lo
> ssl_client_cert_pw_providers.lo ssl_server_trust_providers.lo
> stream.lo subst.lo svn_base64.lo svn_string.lo target.lo time.lo
> user.lo username_providers.lo utf.lo utf_validate.lo validate.lo
> version.lo xml.lo /usr/local/apache2/lib/libaprutil-1.la -lsqlite3
> -lexpat /usr/local/apache2/lib/libapr-1.la -luuid -lrt -lcrypt
> -lpthread -ldl -lz
> /usr/lib/libexpat.so: could not read symbols: File in wrong format
> collect2: ld returned 1 exit status
> make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
>
>
> Can someone please shed SOME light on this? I'm totally at a loss here.
>
Is /usr/lib/libexpat.so a 32-bit library? Under SUSE Linux, there are
separate 32-bit and 64-bit libraries. Maybe centos is configured the
same way. I compiled Subversion as a 32-bit application, so I didn't
have to point it at any 64-bit libraries.

My build notes also say that I had lots of trouble until I defined
LD_LIBRARY_PATH in the build user's .bashrc:

export LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.4/lib:/usr/local/ssl/lib

YMMV.

-- 
    David Chapman         dcchapman@earthlink.net
    Chapman Consulting -- San Jose, CA
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 7 01:44:20 2007

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.