pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
openssl-fips-1.1.2
2+ messages / 2 participants
[nested] [flat]

* openssl-fips-1.1.2
@ 2008-11-07 20:28  dx k9 <bitsandbytes88@hotmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: dx k9 @ 2008-11-07 20:28 UTC (permalink / raw)
  To: pgsql-admin



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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: openssl-fips-1.1.2
@ 2008-11-07 20:42  Tom Lane <tgl@sss.pgh.pa.us>
  parent: dx k9 <bitsandbytes88@hotmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2008-11-07 20:42 UTC (permalink / raw)
  To: dx k9 <bitsandbytes88@hotmail.com>; +Cc: pgsql-admin

dx k9 <bitsandbytes88@hotmail.com> writes:
> 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

It looks like you didn't build a shared-library version of libssl (would
be called libssl.so on most platforms).  Either that or you didn't tell
PG's configure where to find it.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2008-11-07 20:42 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-11-07 20:28 openssl-fips-1.1.2 dx k9 <bitsandbytes88@hotmail.com>
2008-11-07 20:42 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox