pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
BUG #15397: perl error 2+ messages / 2 participants [nested] [flat]
* BUG #15397: perl error @ 2018-09-24 14:53 PG Bug reporting form <noreply@postgresql.org> 0 siblings, 1 reply; 2+ messages in thread From: PG Bug reporting form @ 2018-09-24 14:53 UTC (permalink / raw) To: pgsql-bugs@lists.postgresql.org; +Cc: prakash.ramakrishnan.ap@nielsen.com The following bug has been logged on the website: Bug reference: 15397 Logged by: ramakrishnan r Email address: prakash.ramakrishnan.ap@nielsen.com PostgreSQL version: 10.4 Operating system: CentOS Linux release 7.5.1804 (Core) Description: Hi Team we upgrade the perl version but still not able to create the perl extension please find the below details. [root@sydcosausd001 ~]# perl -v This is perl 5, version 26, subversion 1 (v5.26.1) built for x86_64-linux-thread-multi (with 30 registered patches, see perl -V for more detail) postgres=# CREATE EXTENSION plperl; ERROR: could not load library "/opt/app/PostgreSQL/10/lib/postgresql/plperl.so": /opt/app/PostgreSQL/10/lib/postgresql/plperl.so: undefined symbol: Perl_xs_handshake postgres=# ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #15397: perl error @ 2018-09-24 15:52 Tom Lane <tgl@sss.pgh.pa.us> parent: PG Bug reporting form <noreply@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2018-09-24 15:52 UTC (permalink / raw) To: prakash.ramakrishnan.ap@nielsen.com; +Cc: pgsql-bugs@lists.postgresql.org =?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes: > Hi Team we upgrade the perl version but still not able to create the perl > extension please find the below details. > [root@sydcosausd001 ~]# perl -v > This is perl 5, version 26, subversion 1 (v5.26.1) built for > x86_64-linux-thread-multi > (with 30 registered patches, see perl -V for more detail) > postgres=# CREATE EXTENSION plperl; > ERROR: could not load library > "/opt/app/PostgreSQL/10/lib/postgresql/plperl.so": > /opt/app/PostgreSQL/10/lib/postgresql/plperl.so: undefined symbol: > Perl_xs_handshake > postgres=# Well, you've still got some kind of library version mismatch problem. One thing that might help you figure out what's wrong is to try ldd /opt/app/PostgreSQL/10/lib/postgresql/plperl.so which will show you just which copy of libperl.so plperl is trying to bind to. My guess is that it isn't the one you upgraded :-(. If all else fails, you'll have to build your own copy of Postgres to get one that matches the libraries you have installed. Or use some other binary distribution of Postgres; the one you are trying to use is evidently not a good match to your platform. regards, tom lane ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-09-24 15:52 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-09-24 14:53 BUG #15397: perl error PG Bug reporting form <noreply@postgresql.org> 2018-09-24 15:52 ` 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