Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't Install Postgresql

Status
Not open for further replies.

taneujin

MIS
Aug 14, 2001
61
SG
I have a RH 7.2 and I want to install postgresql. The first attempt resulted in some failed dependencies. I proceeded to attempt the installation with this command

# rpm -i *.rpm --nodeps

It seems to run ok but when I type postgres (as postgres user), it said that it can't find the /var/lib/data/pg_ctrl. Upon checking /var/lib, there are only 2 directores in it, backup and data. Nothing else.

So I downloaded the rpm to fulfill the libssl.so.1 and libcrypt.so.1 and then typed

# rpm -ivF *.rpm

This time, no more failed dependencies.

But when I return to the /var/lib, again there is nothing there except for the 2 directories.

I tried
#rpm -e *.rpm
to try to remove but it said that postgre(all of the packages) is not installed

but when I put -i, it said that it is already installed.

Any advice on how I can get this working?
 
This is one of the problems with RPM. Once something is not exactly where you expect it, it is a real pain to fix.

My recommendation: try compiling PostgreSQL from the source code.

Here is my post on how to do this in FreeBSD. It shouldn't be too different on Linux: thread699-52163 -------------------------------------------

Big Brother: "War is Peace" -- Big Business: "Trust is Suspicion"
(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top