You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Rares Vernica <rv...@gmail.com> on 2006/11/07 08:07:18 UTC
make -lz error
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
Re: make -lz error
Posted by Rares Vernica <rv...@gmail.com>.
It worked!
Thanks a lot,
Ray
Bob Hiestand wrote:
> Ray,
>
> From a clean unzip of the subversion and -deps packages, run
> configure with the '--enable-shared' command. Does that help?
>
> Thank you,
>
> Bob
>
> On 11/8/06, Rares Vernica <rv...@gmail.com> wrote:
>> My system administrator also tried compiling Subversion on the same
>> machine and surprisingly he got the same error.
>>
>> Do you people have any input? I am thinking about reporting a bug.
>>
>> Regards,
>> Ray
>>
>> Rares Vernica wrote:
>> > Hi,
>> >
>> > Here is some info.
>> >
>> > apple:~> uname -a
>> > SunOS **** 5.9 Generic_118558-14 sun4u sparc SUNW,Sun-Blade-100 Solaris
>> > apple:~> ls ~/pkg/su
>> > subversion-1.4.0.tar.gz subversion-deps-1.4.0.tar.gz
>> >
>> > I use the dependencies provided in the "deps" package.
>> >
>> > Thanks a lot,
>> > Ray
>> >
>> > Erik Huelsmann wrote:
>> >> On 11/7/06, Rares Vernica <rv...@gmail.com> wrote:
>> >>> Hi,
>> >>>
>> >>> I tried with --disable-static --enable-dynamic arguments to configure
>> >>> (each one individually and also both of them) and the same error
>> occurs.
>> >>>
>> >>> Any other ideas?
>> >>
>> >> No. I'm sorry. But could you provide some more data about your
>> >> environment for other users who may have experienced the same
>> >> problems?
>> >>
>> >> OS & version
>> >> version of different dependencies
>> >> existence of zlib (libz), version and static/dynamic linked library
>> >> maybe other relevant data?
>> >>
>> >> bye,
>> >>
>> >> Erik.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: make -lz error
Posted by Bob Hiestand <bo...@gmail.com>.
Ray,
From a clean unzip of the subversion and -deps packages, run
configure with the '--enable-shared' command. Does that help?
Thank you,
Bob
On 11/8/06, Rares Vernica <rv...@gmail.com> wrote:
> My system administrator also tried compiling Subversion on the same
> machine and surprisingly he got the same error.
>
> Do you people have any input? I am thinking about reporting a bug.
>
> Regards,
> Ray
>
> Rares Vernica wrote:
> > Hi,
> >
> > Here is some info.
> >
> > apple:~> uname -a
> > SunOS **** 5.9 Generic_118558-14 sun4u sparc SUNW,Sun-Blade-100 Solaris
> > apple:~> ls ~/pkg/su
> > subversion-1.4.0.tar.gz subversion-deps-1.4.0.tar.gz
> >
> > I use the dependencies provided in the "deps" package.
> >
> > Thanks a lot,
> > Ray
> >
> > Erik Huelsmann wrote:
> >> On 11/7/06, Rares Vernica <rv...@gmail.com> wrote:
> >>> Hi,
> >>>
> >>> I tried with --disable-static --enable-dynamic arguments to configure
> >>> (each one individually and also both of them) and the same error occurs.
> >>>
> >>> Any other ideas?
> >>
> >> No. I'm sorry. But could you provide some more data about your
> >> environment for other users who may have experienced the same
> >> problems?
> >>
> >> OS & version
> >> version of different dependencies
> >> existence of zlib (libz), version and static/dynamic linked library
> >> maybe other relevant data?
> >>
> >> bye,
> >>
> >> Erik.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: make -lz error
Posted by Rares Vernica <rv...@gmail.com>.
My system administrator also tried compiling Subversion on the same
machine and surprisingly he got the same error.
Do you people have any input? I am thinking about reporting a bug.
Regards,
Ray
Rares Vernica wrote:
> Hi,
>
> Here is some info.
>
> apple:~> uname -a
> SunOS **** 5.9 Generic_118558-14 sun4u sparc SUNW,Sun-Blade-100 Solaris
> apple:~> ls ~/pkg/su
> subversion-1.4.0.tar.gz subversion-deps-1.4.0.tar.gz
>
> I use the dependencies provided in the "deps" package.
>
> Thanks a lot,
> Ray
>
> Erik Huelsmann wrote:
>> On 11/7/06, Rares Vernica <rv...@gmail.com> wrote:
>>> Hi,
>>>
>>> I tried with --disable-static --enable-dynamic arguments to configure
>>> (each one individually and also both of them) and the same error occurs.
>>>
>>> Any other ideas?
>>
>> No. I'm sorry. But could you provide some more data about your
>> environment for other users who may have experienced the same
>> problems?
>>
>> OS & version
>> version of different dependencies
>> existence of zlib (libz), version and static/dynamic linked library
>> maybe other relevant data?
>>
>> bye,
>>
>> Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: make -lz error
Posted by Rares Vernica <rv...@gmail.com>.
Hi,
Here is some info.
apple:~> uname -a
SunOS **** 5.9 Generic_118558-14 sun4u sparc SUNW,Sun-Blade-100 Solaris
apple:~> ls ~/pkg/su
subversion-1.4.0.tar.gz subversion-deps-1.4.0.tar.gz
I use the dependencies provided in the "deps" package.
Thanks a lot,
Ray
Erik Huelsmann wrote:
> On 11/7/06, Rares Vernica <rv...@gmail.com> wrote:
>> Hi,
>>
>> I tried with --disable-static --enable-dynamic arguments to configure
>> (each one individually and also both of them) and the same error occurs.
>>
>> Any other ideas?
>
> No. I'm sorry. But could you provide some more data about your
> environment for other users who may have experienced the same
> problems?
>
> OS & version
> version of different dependencies
> existence of zlib (libz), version and static/dynamic linked library
> maybe other relevant data?
>
> bye,
>
> Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: make -lz error
Posted by Erik Huelsmann <eh...@gmail.com>.
On 11/7/06, Rares Vernica <rv...@gmail.com> wrote:
> Hi,
>
> I tried with --disable-static --enable-dynamic arguments to configure
> (each one individually and also both of them) and the same error occurs.
>
> Any other ideas?
No. I'm sorry. But could you provide some more data about your
environment for other users who may have experienced the same
problems?
OS & version
version of different dependencies
existence of zlib (libz), version and static/dynamic linked library
maybe other relevant data?
bye,
Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: make -lz error
Posted by Rares Vernica <rv...@gmail.com>.
Hi,
I tried with --disable-static --enable-dynamic arguments to configure
(each one individually and also both of them) and the same error occurs.
Any other ideas?
Thanks a lot,
Ray
Erik Huelsmann wrote:
> On 11/7/06, Rares Vernica <rv...@gmail.com> wrote:
>> 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
>
> Maybe you need to either disable the staticly linked build or enable a
> dynamicly linked build? --disable-static --enable-dynamic arguments to
> ./configure
>
> HTH,
>
> Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: make -lz error
Posted by Erik Huelsmann <eh...@gmail.com>.
On 11/7/06, Rares Vernica <rv...@gmail.com> wrote:
> 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
Maybe you need to either disable the staticly linked build or enable a
dynamicly linked build? --disable-static --enable-dynamic arguments to
./configure
HTH,
Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: make -lz error
Posted by Rares Vernica <rv...@gmail.com>.
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