[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: Harper, Michael L. <Michael.Harper_at_alcoa.com>
Date: 2007-10-31 18:39:52 CET

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
Received on Wed Oct 31 18:40:09 2007

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.