Install of postgresql

Поиск
Список
Период
Сортировка
Искать

Install of postgresql

От:
"rbird" <rbird@mail.birco.com>
Дата:
I am running SuSE 7.1
 
I downloaded the postgresql-7.1-1 rpm modules
 
I ran
      rpm -Uvh postgresql-*.rpm
 
messages I received were:
 
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
 
 
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?
 
Thanks,
 
Ron

Re: Install of postgresql

От:
"Stephen M. Ford" <sford@Eng.Auburn.EDU>
Дата:
Set LD_LIBRARY_PATH in your environment first.  You then need to do that to your postgres user also.  

Stephen

On Fri, 4 May 2001, rbird wrote:

> I am running SuSE 7.1
> 
> I downloaded the postgresql-7.1-1 rpm modules
> 
> I ran
>       rpm -Uvh postgresql-*.rpm
> 
> messages I received were: 
> 
> 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
> 
> 
> 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?
> 
> Thanks,
> 
> Ron
> 

Re: Install of postgresql

От:
"Michael R. Jinks" <mjinks@saecos.com>
Дата:
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~~~~

Re: Install of postgresql

От:
"Michael R. Jinks" <mjinks@saecos.com>
Дата:
rpm doesn't look at LD_LIBRARY_PATH to determine which components are 
installed.


Stephen M. Ford wrote:

> Set LD_LIBRARY_PATH in your environment first.  You then need to do that to your postgres user also.  
> 
> Stephen
> 
> On Fri, 4 May 2001, rbird wrote:
> 
> 
>> I am running SuSE 7.1
>> 
>> I downloaded the postgresql-7.1-1 rpm modules
>> 
>> I ran
>>       rpm -Uvh postgresql-*.rpm
>> 
>> messages I received were: 
>> 
>> 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
>> 
>> 
>> 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?
>> 
>> Thanks,
>> 
>> Ron
>> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)



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

FAQ