Thread: installing pgsql
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@student.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@postgresql.org
stm23 <STM23@student.canterbury.ac.nz> writes: > 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
On Sat, Feb 28, 2004 at 02:14:56PM +1300, stm23 wrote: > 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@student.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 rpmwhen it tries to install itself checks the rpm-database for existence of necessary rpms, and if it doesn't see that, itdoesn'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, ifthe libraries on there in an available place. Or, you could install those libraries from rpms. joe -- speigle www.sirfsup.com
hi, wget ftp://216.254.0.38/linux/redhat/updates/9/en/os/SRPMS/postgresql-7.3.4-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: > 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@student.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@postgresql.org > > > ---------------------------(end of broadcast)--------------------------- > TIP 7: don't forget to increase your free space map settings -- joe speigle www.sirfsup.com