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

Re: Buiding Subversion on Solaris 10 (x86) - ld: fatal: relocations remain against allocatable but non-writable sections

From: Steve Whitson <steven.whitson_at_gmail.com>
Date: Mon, 08 Dec 2008 16:15:42 -0600

Jorge,

Here are a couple things to try:

edit the configure script and add the line:

LIBS="$LIBS -lintl"

This fixed things on one of my solaris systems (sparc).

On another (x86 system) I had to follow the instructions in:

http://chess.eecs.berkeley.edu/ptexternal/wiki/Main/Subversion

see the section "Building SVN under Solaris"

Hope this helps,
    -Steve

Jorge M wrote:
> I just installed Solaris 10 (x86) with the developers packages and I
> want to build Subversion (Version 1.4.6)
>
> I am getting the following error when executing the "make" step:
>
> ld: fatal: relocations remain against allocatable but non-writable
> sections
>
> Here is what I am executing:
>
>
> PATH=/usr/sfw/bin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:/usr/cc
> s/bin
> export PATH
> ./configure
> make
>
> I found someone having a similar error:
> http://www.filibeto.org/pipermail/solaris-users/2004-March/000660.html
>
> So, I got GNU binutils; compiled and installed (under /usr/local/bin)
> I added /usr/local/bin to the PATH and tried again:
>
>
> PATH=/usr/bin/local:/usr/sfw/bin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/
> usr/ucb:/usr/ccs/bin
> export PATH
> ./configure
> make
>
> But I am still having the same problem.
>
> ld: fatal: relocations remain against allocatable but non-writable
> sections
> collect2: ld returned 1 exit status
> make: *** [subversion/libsvn_ra_dav/libsvn_ra_dav-1.la] Error 1
>
> The output from ./configure show that the ld supplied with Solaris is
> still being used:
>
> checking for ld used by gcc... /usr/ccs/bin/ld
> checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
>
> Any help is appreciated.
>
> -Jorge
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981302
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981335

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-08 23:21:13 CET

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.