Neon's shared libraries are probably not getting built (per the
configure output "Build libraries: Shared=no, Static=yes" below). Its
configure needs to be run with --enable-shared.
Is this something that Subversion's configure process is supposed to
handle for in-tree Neon?
On Tue, 12 Sep 2006, David Kågedal wrote:
> I tried building from subversion-1.4.0.tar.bz2, using
> subversion-deps-1.4.0.tar.bz2 on an amd64 linux system, and
> failed. The problem is that neon is built without -fPIC and later
> linked into a shared library.
> What I did:
> $ tar jxf subversion-1.4.0.tar.bz2
> $ tar jxf subversion-deps-1.4.0.tar.bz2
> $ mkdir builddir
> $ cd builddir
> $ ../subversion-1.4.0/configure
> $ make
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: /home/david/src/builddir/neon/src/.libs/libneon.a(ne_request.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
> This is an excerpt from the configure output:
> > configure: Configured to build neon 0.25.5:
> > Install prefix: /usr/local
> > Compiler: gcc
> > XML Parser: expat
> > SSL library: SSL support is not enabled
> > zlib support: zlib support enabled, using -lz
> > Build libraries: Shared=no, Static=yes
> > neon configured properly
> If I manually go in and update builddir/neon/src/Makefile to add -fPIC
> to CFLAGS, it will compile cleanly, but I'm not sure that is the
> correct solution. My libtool knowledge is pretty limited.
> Some more information:
> $ uname
> Linux knatte 188.8.131.52 #3 SMP Fri Jun 16 15:19:04 CEST 2006 x86_64 x86_64 x86_64 GNU/Linux
> $ gcc --version
> gcc (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> David Kågedal
> To unsubscribe, e-mail: firstname.lastname@example.org
> For additional commands, e-mail: email@example.com
Received on Tue Sep 12 19:20:57 2006
- application/pgp-signature attachment: stored