dbTalk Databases Forums  

installing pgsql

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss installing pgsql in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
stm23
 
Posts: n/a

Default installing pgsql - 02-27-2004 , 07:14 PM






hi, thanx for yr previous advice. i have found that i do have openssl
(0.9.7a) installed. could any1 help advise me how to get my system to find
these files (libcrypto.so.2 & libssl.so.2). i have looked at the LDCONFIG man
page but are still unsure what i need to alter. to alter my library path what
file do i need to modify? perhaps then i could send u my current library path
details, & u might be able to see what is missing.
thanx, sam

Quote:
===== Original Message From stm23 <STM23 (AT) student (DOT) canterbury.ac.nz> =====
hi, i tryed to install postgresql 7.4.1 on my redhat 8.0 OS. i got the
following error message:

[root@localhost POSTGRESQL]# rpm -i postgresql-7.4.1-1PGDG.i386.rpm
error: Failed dependencies:
libcrypto.so.2 is needed by postgresql-7.4.1-1PGDG
libssl.so.2 is needed by postgresql-7.4.1-1PGDG

does any1 have any advice as to how i can install pgsql successfully?
any help would be greatly appreciated
thanx, sam


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings



Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: installing pgsql - 02-27-2004 , 09:59 PM






stm23 <STM23 (AT) student (DOT) canterbury.ac.nz> writes:
Quote:
hi, thanx for yr previous advice. i have found that i do have openssl
(0.9.7a) installed. could any1 help advise me how to get my system to find
these files (libcrypto.so.2 & libssl.so.2).
You're apparently using an RPM that was built against something later
than RHL 8.0. (I only see libssl.so.1 on my RHL 8.0 system.)

The best answer is to download the source RPM (SRPM) and do an
"rpmbuild -ba" to build an RPM that's customized to your system.
You might be able to find a binary RPM that is built for RHL 8.0,
but I wouldn't count on it.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match



Reply With Quote
  #3  
Old   
joseph speigle
 
Posts: n/a

Default Re: installing pgsql - 02-28-2004 , 10:49 AM



On Sat, Feb 28, 2004 at 02:14:56PM +1300, stm23 wrote:
Quote:
hi, thanx for yr previous advice. i have found that i do have openssl
(0.9.7a) installed. could any1 help advise me how to get my system to find
these files (libcrypto.so.2 & libssl.so.2). i have looked at the LDCONFIG man
page but are still unsure what i need to alter. to alter my library path what
file do i need to modify? perhaps then i could send u my current library path
details, & u might be able to see what is missing.
thanx, sam

===== Original Message From stm23 <STM23 (AT) student (DOT) canterbury.ac.nz> =====
hi, i tryed to install postgresql 7.4.1 on my redhat 8.0 OS. i got the
following error message:

[root@localhost POSTGRESQL]# rpm -i postgresql-7.4.1-1PGDG.i386.rpm
error: Failed dependencies:
libcrypto.so.2 is needed by postgresql-7.4.1-1PGDG
libssl.so.2 is needed by postgresql-7.4.1-1PGDG

does any1 have any advice as to how i can install pgsql successfully?
any help would be greatly appreciated
thanx, sam

These error messages don't mean that it can't find the libraries but that it needs to have those rpms installed; the rpm when it tries to install itself checks the rpm-database for existence of necessary rpms, and if it doesn't see that, it doesn't attempt the install. Even if you have those libraries installed like from tarball, it will refuse to build. There are some rpm options like --force which will build without the dependent rpms being there, and it will succeed, if the libraries on there in an available place. Or, you could install those libraries from rpms.


joe
--
speigle
www.sirfsup.com

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend



Reply With Quote
  #4  
Old   
joseph speigle
 
Posts: n/a

Default Re: installing pgsql - 03-02-2004 , 12:18 AM



hi,

wget ftp://216.254.0.38/linux/redhat/upda...3.rhl9.src.rpm
rpm -ivh postgresql-7.3.4-3.rhl9.src.rpm
cd /usr/src/redhat/SPECS/
vi postgresql.spec
and edit lines to give you the following


%{!?plperl:%define plperl 1}
%{!?pls:%define pls 1}
%{!?ssl:%define ssl 0}
%{!?kerberos:%define kerberos 1}
%{!?nls:%define nls 1}

(ssl == 0)

rpm -bb postgresql.spec

and good luck!



On Sat, Feb 28, 2004 at 02:14:56PM +1300, stm23 wrote:
Quote:
hi, thanx for yr previous advice. i have found that i do have openssl
(0.9.7a) installed. could any1 help advise me how to get my system to find
these files (libcrypto.so.2 & libssl.so.2). i have looked at the LDCONFIG man
page but are still unsure what i need to alter. to alter my library path what
file do i need to modify? perhaps then i could send u my current library path
details, & u might be able to see what is missing.
thanx, sam

===== Original Message From stm23 <STM23 (AT) student (DOT) canterbury.ac.nz> =====
hi, i tryed to install postgresql 7.4.1 on my redhat 8.0 OS. i got the
following error message:

[root@localhost POSTGRESQL]# rpm -i postgresql-7.4.1-1PGDG.i386.rpm
error: Failed dependencies:
libcrypto.so.2 is needed by postgresql-7.4.1-1PGDG
libssl.so.2 is needed by postgresql-7.4.1-1PGDG

does any1 have any advice as to how i can install pgsql successfully?
any help would be greatly appreciated
thanx, sam


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org


---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
--
joe speigle
www.sirfsup.com

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.