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

make -lz error

From: Rares Vernica <rvernica_at_gmail.com>
Date: 2006-11-07 09:07:18 CET

Hi,

I am trying to compile Subversion and I have a problem with zlib.

If I use subversion-1.4.0.tar.gz and subversion-deps-1.4.0.tar.gz and I
./configure with no extra options, when I run make, at link time I get
the following error:

ld: fatal: relocations remain against allocatable but non-writable sections

The full error is very similar with the one from here:
http://svn.haxx.se/dev/archive-2003-07/0476.shtml

When I remove "-lz" form the line that generated the error it works fine.

If I remove "-lz" manually around 20 times and sometimes I also remove
"libneon.la", I manage to build it.

I would like to know the way to convince ./configure not to add "-lz".

I tried "--without-zlib" but it does not seem to make any difference.

I also tried "--with-zlib=" and I specified the location where I have
zlib file (compiled separately and not the one form subversion-deps).

Thanks a lot,
Ray

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 7 09:25:44 2006

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.