Обсуждение: Upgrade to postgresql 8.01

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

Upgrade to postgresql 8.01

От
"Andrei Bintintan"
Дата:
Hi,
 
I wanted to upgrade Postgre Server from 7.4 to 8.0.  I downloaded the rpm's and made the upgrade.
 
I use Suse Linux 9.1. Everything worked fine exept a single thing: YAST always says that libdb-4.1.so  is required by postgresql server( I think it requires the db4.1). I looked in the Berkeley DB Database Library package and I have libdb-4.2.so installed(db4.2.52). Also at the installation Yast told me this message. I just ignored it.
 
Now, the database runs well( from what I could notice in 30 minutes) but this error still worries me.
What is to be done? I readed on a forum that some files like libdb-4.2.so must be linked in libdb-4.1.so. I linked only this file but don't know if that is just the correct thing to do.
 
Please advice.
Thanks.
 
Andy.
 

Re: Upgrade to postgresql 8.01

От
Tom Lane
Дата:
"Andrei Bintintan" <klodoma@ar-sd.net> writes:
> I use Suse Linux 9.1. Everything worked fine exept a single thing: YAST =
> always says that libdb-4.1.so  is required by postgresql server( I think =
> it requires the db4.1).

Postgres does not use libdb at all.  Sounds to me like a packaging error
on Suse's part ... suggest complaining to them.

            regards, tom lane

Re: Upgrade to postgresql 8.01

От
"Joshua D. Drake"
Дата:
Tom Lane wrote:

>"Andrei Bintintan" <klodoma@ar-sd.net> writes:
>
>
>>I use Suse Linux 9.1. Everything worked fine exept a single thing: YAST =
>>always says that libdb-4.1.so  is required by postgresql server( I think =
>>it requires the db4.1).
>>
>>
>
>Postgres does not use libdb at all.
>
No, but RPM does. I am guess that the package was compiled up for
possibly SuSE 9.0? The error is reasonably harmless but you are
going to break your RPM dependency requirements. If you ever
use an auto-updater PostgreSQL might likely break because the updater
will change the packages around.

I would suggest grabbing the .src.rpm and compiling it.

Sincerely,

Joshua D. Drake





> Sounds to me like a packaging error
>on Suse's part ... suggest complaining to them.
>
>            regards, tom lane
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
>


--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL


Вложения