Обсуждение: [ADMIN] Missing libpq.so in postgresql v10

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

[ADMIN] Missing libpq.so in postgresql v10

От
Long Nguyen
Дата:

I got the postgresql 10 packages for Ubuntu 16.04 server from 


deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main


I then installed postgresql v10 through

     apt-get install postgresql-10


The lib directory is /usr/lib/postgresql/10/lib. However I cannot find a libpq.so file in it. It is required by our commvault backup system.


I checked what postgresql packages were installed with 'dpkg -l |grep postgres" and it showed these


ii  postgresql-10

ii  postgresql-client-10

ii  postgresql-client-common

ii  postgresql-common

ii  postgresql-server-dev-10


Just wonder if I missed something here.


Thanks



Re: [ADMIN] Missing libpq.so in postgresql v10

От
Ian Barwick
Дата:
Hi

On 11/14/2017 04:37 PM, Long Nguyen wrote:
> I got the postgresql 10 packages for Ubuntu 16.04 server from
> 
> 
> |deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main|
> 
> 
> I then installed postgresql v10 through
> 
>       apt-get install postgresql-10
> 
> 
> The lib directory is /usr/lib/postgresql/10/lib. However I cannot find a libpq.so file in it. It is required by our
commvaultbackup system.
 
> 
> 
> I checked what postgresql packages were installed with 'dpkg -l |grep postgres" and it showed these
> 
> 
> ii  postgresql-10
> 
> ii  postgresql-client-10
> 
> ii  postgresql-client-common
> 
> ii  postgresql-common
> 
> ii  postgresql-server-dev-10
> 
> 
> Just wonder if I missed something here.


On Debian et al, libpq is installed as a separate package, libpq5, and
is not specific to the installed PostgreSQL version.


Regards

Ian Barwick


--  Ian Barwick                   http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training &
Services


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] Missing libpq.so in postgresql v10

От
Shreeyansh Dba
Дата:


On Tue, Nov 14, 2017 at 1:07 PM, Long Nguyen <nguyenxl@hotmail.com> wrote:

I got the postgresql 10 packages for Ubuntu 16.04 server from 

deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main

I then installed postgresql v10 through 

     apt-get install postgresql-10

The lib directory is /usr/lib/postgresql/10/lib. However I cannot find a libpq.so file in it. It is required by our commvault backup system.

I checked what postgresql packages were installed with 'dpkg -l |grep postgres" and it showed these

ii  postgresql-10

ii  postgresql-client-10

ii  postgresql-client-common

ii  postgresql-common

ii  postgresql-server-dev-10

Just wonder if I missed something here.


Thanks


Hi,

Follow the following steps for installing postgresql-10

1. Add PostgreSQL apt repository

echo 'deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main' >> /etc/apt/sources.list.d/pgdg.list

2. Import the repository signing key, and update the package lists.

wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -

3. Install PostgreSQL

sudo apt-get update
sudo apt-get install postgresql-10



--
http://www.shreeyansh.com