针对本地符号'错误重定位R_X86_64_32

use*_*r10 5 svn openssl

我正在尝试使用Apache支持安装Subversion.我安装apr,apr-utils,neon,并OpenSSL--enable-shared标志.但是,在尝试安装subversion时出现以下错误:

/usr/bin/ld: /usr0/software/openssl/ossl/lib/libssl.a(s23_clnt.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr0/software/openssl/ossl/lib/libssl.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libserf-0.la] Error 1
make[1]: Leaving directory `/usr0/sources/svn/subversion-1.6.3/serf'
make: *** [external-all] Error 1
Run Code Online (Sandbox Code Playgroud)

在Subversion FAQ中声明,如果我收到此错误,我应该使用该--enable-shared标志,它应该工作.但是,这没有帮助.关于如何解决这个问题的任何想法?

use*_*r10 5

我发现问题出在openssl安装上.使用enable-shared重新安装openssl.