I'm getting some errors when I go to compile postgresql 8.3.5 on 64-bit linux SLES 9 with the newer version of openssl for FIPS compliance.
Basically, everything compiles fine with an older version.
This is me creating my makefile with out an issue. I tried --enable-shared to see if it would help, but it didn't
1017 ./configure --prefix=/usr/local/pgsql.v835 --with-includes=/usr/local/openssl-fips-1.1.2/include:/usr/local/include --with-libraries=/usr/local/openssl-fips-1.1.2/lib:/usr/local/lib --enable-shared --with-pam -with-openssl --with-pgport=5433 --with-perl
This is the last part of the compilation (gmake 3.80)
/usr/bin/ld: /usr/local/openssl-fips-1.1.2/lib/libssl.a(t1_meth.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC/usr/local/openssl-fips-1.1.2/lib/libssl.a: could not read symbols: Bad valuecollect2: ld returned 1 exit statusgmake[3]: *** [libpq.so.5.1] Error 1gmake[3]: Leaving directory `/usr/local/src/postgresql-8.3.5/src/interfaces/libpq'gmake[2]: *** [all] Error 2gmake[2]: Leaving directory `/usr/local/src/postgresql-8.3.5/src/interfaces'gmake[1]: *** [all] Error 2gmake[1]: Leaving directory `/usr/local/src/postgresql-8.3.5/src'gmake: *** [all] Error 2postgres(at)cap:/usr/local/src/postgresql-8.3.5>
Thanks for any help !
_________________________________________________________________
Color coding for safety: Windows Live Hotmail alerts you to suspicious email.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_safety_112008