×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Can't Install Postgresql

Can't Install Postgresql

Can't Install Postgresql

(OP)
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?

RE: Can't Install Postgresql

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"
(http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close