Re: Install of postgresql

From: "Michael R(dot) Jinks" <mjinks(at)saecos(dot)com>
To: rbird <rbird(at)mail(dot)birco(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Install of postgresql
Date: 2001-05-07 15:16:56
Message-ID: 3AF6BC68.50102@saecos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

rbird wrote:

> initscripts is needed by postgresql-7.1-1
>
> libreadline.so.4.1 is needed by postgresql-7.1-1
>
> libtermcap.so.2 is needed by postgresql-7.1-1
>
> libreadline.so.4.1 is needed by postgresql-server-7.1-1
>
> libtermcap.so.2 is needed by postgresql-server-7.1-1
>
>
>
> ... and the same for more modules

Technically they aren't modules, they're packages (initscripts) and
package components (the rest you mention). In LinuxLand a module is
usually a kernel component.

> I found that libreadline.s0.4.1 is located in the /lib directory
>
> I could not find libtermcap.so.2 and initscripts
>
>
> What have I failed to do?

Sounds like you've downloaded postgresql packages which expect to be
installed on a system other than SuSE, probably RedHat. I would suggest
one of two things; either:

a) Go to rpmfind.net or the SuSE site and download a version of
PostgreSQL which was compiled for your distribution.

The errors you're seeing come from the package file failing to find
files or package database entries which it depends upon; while you may
be missing packages in some cases, in at least some cases you have the
packages installed (your system obviously has initialization scripts or
you'd never be getting this far, but SuSE labels that package or set of
packages as something other than "initscripts" as Red Hat does) but
they're in a layout such that the Postgres packages are looking for them
someplace else. Other packages may be genuinely missing.

Using rpmfind, you could go to the page for each Postgres component you
want to install, look up its dependencies, download and install those,
and repeat until you've run out of dependencies, but I actually
recommend against this until you have a copy of Postgres that expects to
install on SuSE, because otherwise you run the risk of replacing some
basic components of your system with components from some other
distribution and breaking something else in the process.

Or:

b) Grab the tarball and compile from source.

I haven't compiled PostgreSQL in a while so can't comment on how
difficult it is, but I would guess not very; however if you're
inexperienced with installing system software you may be in for a
learning experience.

--
~~~Michael Jinks, IB // Technical Entity // Saecos Corporation~~~~

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message pejac 2001-05-07 15:36:57 re : default value not working?
Previous Message Stephen M. Ford 2001-05-07 14:47:47 Re: Install of postgresql