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

Re: make -lz error

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

Hi,

I seems that manually deleting "-lz" will compile but it will not work.

I get the following error:
symbol compress2: referenced symbol not found

So, I need "-lz". How can I fix the following error:
ld: fatal: relocations remain against allocatable but non-writable sections

Thanks a lot,
Ray

Rares Vernica wrote:
> 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:57:13 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.