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

RE: relocation R_X86_64_32S can not be used when making a shared object

From: <stuart.c.brown_at_hsbcgroup.com>
Date: 2007-11-01 10:04:46 CET

Hi Mike

Thanks for your help and input with this

Ive done what you suggested and reran with ./configure --enable-shared

Unfortunately I'm getting the same problem when I subsequently run the make
command

/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3
/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib/libz.a(crc32.o):
relocation R_X86_64_32 can not be used when making a shared object;
recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value

Maybe I need to try an earlier version of subversion to ascertain if its
release related or something else ?

This is getting frustrating as Im gonna have to host subversion on a
windows server if I don't get this fixed (which is really not ideal !)

Many thanks again for your help

Stu

                                                                           
             "Harper, Michael
             L."
             <Michael.Harper@a To
             lcoa.com> stuart.c.brown@hsbcgroup.com,
                                       <users@subversion.tigris.org>
             31/10/2007 17:39 cc
             Mail Size: 7595
                                                                   Subject
                                       RE: relocation R_X86_64_32S can
                                       not be used when making a shared
                                       object
                                                                    Entity
                                       HSBC Bank plc (Treasury IT) -
                                       GMIITD
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           

Hi Stuart,

I encountered this problem under Red Hat Enterprise 4. For some reason,
the configure script is not turning on the build shared option by
default. I changed this by calling ./configure with --enable-shared.
This appeared to do the build fine but now I cannot get most of the self
tests (make check) to pass and have no idea why. Your mileage may vary
of course.

I have build version 1.3.x several times on Red Hat without problems but
still haven't managed to build 1.4.5 without problems. Do not know why
and it may very well be a problem with my setup somewhere. This is a
newly built Red Hat system though, so things should be pretty standard.
However, it does seem like the configure script for 1.4.x is less robust
(with Red Hat) than it used to be.

Mike Harper
Alcoa Technical Center
100 Technical Drive
Alcoa Center, PA 15069
Office: (724)337-5414
FAX: (724)337-2255
email: michael.harper@alcoa.com

-----Original Message-----
From: stuart.c.brown@hsbcgroup.com [mailto:stuart.c.brown@hsbcgroup.com]

Sent: Wednesday, October 31, 2007 6:21 AM
To: users@subversion.tigris.org
Subject: relocation R_X86_64_32S can not be used when making a shared
object

Hi

I'm very new to subversion and am having real issues installing on SLES9
64bit
I believe I've followed the correct process

I've built and installed Apache which appears to be ok

I've followed the INSTALL doc supplied with subversion 1.4.5

./configure
rm /usr/local/lib/libsvn*
make clean
make
this is when I get an issue, the error says (relocation R_X86_64_32S can
not be used when making a shared object; recompile with -fPIC)

Not sure how I recompile with -fPIC and what that actually does ?

I was going to try again with --disabled-shared however the release
notes
say mod_dav_svn must be build as a shared library

I've spent ages on this but I'm not getting anywhere, if anyone can
offer
some ideas that would be really appreciated

Thanks again

Stu

************************************************************
HSBC Bank plc
Registered Office: 8 Canada Square, London E14 5HQ
Registered in England - Number 14259
Authorised and regulated by the Financial Services Authority
************************************************************

-----------------------------------------
SAVE PAPER - THINK BEFORE YOU PRINT!

This E-mail is confidential. It may also be legally privileged. If
you are not the addressee you may not copy, forward, disclose or
use any part of it. If you have received this message in error,
please delete it and all copies from your system and notify the
sender immediately by return E-mail.

Internet communications cannot be guaranteed to be timely, secure,
error or virus-free.

The sender does not accept liability for any errors or omissions.

---------------------------------------------------------------------
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

************************************************************
HSBC Bank plc
Registered Office: 8 Canada Square, London E14 5HQ
Registered in England - Number 14259
Authorised and regulated by the Financial Services Authority
************************************************************

-----------------------------------------
SAVE PAPER - THINK BEFORE YOU PRINT!

This E-mail is confidential. It may also be legally privileged. If
you are not the addressee you may not copy, forward, disclose or
use any part of it. If you have received this message in error,
please delete it and all copies from your system and notify the
sender immediately by return E-mail.
    
                                                  
Internet communications cannot be guaranteed to be timely, secure,
error or virus-free.
                                                  
The sender does not accept liability for any errors or omissions.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 1 10:01:39 2007

This is an archived mail posted to the Subversion Users mailing list.