Hi,
I've been trying to compile openssl with -fPIC on an x86_64 (AMD)
box but always receive the error described here
http://www.seagate.cc:8000/message/20050809.155214.93f4ce0b.en.html
when compiled in a Fedora Core 4 environment using GCC:
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)
but when compiled using identical hardware under a Fedora Core 2
installation with GCC:
Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --disable-libunwind-exceptions --with-system-zlib
--enable-__cxa_atexit --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
it worked perfectly.
The solution proposed in the earlier post didn't resolve the issue
although I'm convinced that their assertion that the issue is the
compiler environment, is accurate but I don't see what's missing. I did
try using GCC 3.2 (the provided compatibility compiler) under FC4 to
rule out GCC version as the direct cause.
Thinking that perhaps I was just missing come compiler args, I looked at
the FC4 RPM for openssl. Using the exact same args as the RPM, I get the
exact same broken result. While examining this, I found that the RPM
fails to package the files in /lib64 and/or /usr/lib64 which is
something that needs to be taken up wit the RPM maintainer.
I wonder if anyone has been able to get openssl build with -fPIC for use
with mod_ssl (apache13x) on Fedora Core 4 x86_64
Best Regards,
Colin Hill
--
Scoophost.com - a service of Pinnacle Digital
Scoop consulting and hosting services
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]