An issue installing an extension

From: stan <stanb(at)panix(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: An issue installing an extension
Date: 2019-10-22 17:14:23
Message-ID: 20191022171423.GB23862@panix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I have 3 machines that _should_ be nearly idnetical. On 2 of them, i have
no issues installing an extension I copiled. On one I get the followign
error message:

icadb=# CREATE EXTENSION IF NOT EXISTS pg_libphonenumber;
ERROR: could not load library
"/usr/lib/postgresql/11/lib/pg_libphonenumber.so": libphonenumber.so.7:
cannot open shared object file: No such file or directory
icadb=# ls -l /usr/lib/postgresql/11/lib/pg_libphonenumber.so

Yet,

root(at)ica-db:/home/stan/BUILD/pg-libphonenumber-master# ls -l /usr/lib/postgresql/11/lib/pg_libphonenumber.so
-rwxr-xr-x 1 root root 182976 Oct 22 16:11 /usr/lib/postgresql/11/lib/pg_libphonenumber.so

This appears to be identical to the other machines where this works,

root(at)smokey:/home/stan/BUILD/pg-libphonenumber-master# logout
stan(at)smokey:~/BUILD/pg-libphonenumber-master$ ls -l /usr/lib/postgresql/11/lib/pg_libphonenumber.so
-rwxr-xr-x 1 root root 182976 Oct 22 09:47 /usr/lib/postgresql/11/lib/pg_libphonenumber.so

What else could be wrong?

--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2019-10-22 17:18:22 Re: An issue installing an extension
Previous Message David G. Johnston 2019-10-22 16:35:17 Re: Lookup Primary Key of Foreign Server's Table