pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
An issue installing an extension
2+ messages / 2 participants
[nested] [flat]

* An issue installing an extension
@ 2019-10-22 17:14 stan <stanb@panix.com>
  2019-10-22 17:18 ` Re: An issue installing an extension Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: stan @ 2019-10-22 17:14 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org


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@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@smokey:/home/stan/BUILD/pg-libphonenumber-master# logout
stan@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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: An issue installing an extension
  2019-10-22 17:14 An issue installing an extension stan <stanb@panix.com>
@ 2019-10-22 17:18 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2019-10-22 17:18 UTC (permalink / raw)
  To: stan <stanb@panix.com>; +Cc: pgsql-general@lists.postgresql.org

stan <stanb@panix.com> writes:
> 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

This seems to be complaining about another library "libphonenumber.so.7"
that pg_libphonenumber.so depends on.  I think you forgot to install
that one on this machine.

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-10-22 17:18 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-10-22 17:14 An issue installing an extension stan <stanb@panix.com>
2019-10-22 17:18 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox