pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problem: plperl load failed (PGSQL 7.1.2)
3+ messages / 2 participants
[nested] [flat]

* Problem: plperl load failed (PGSQL 7.1.2)
@ 2001-07-17 12:58  Markwalder Philip <pm@ibp.ch>
  0 siblings, 1 reply; 3+ messages in thread

From: Markwalder Philip @ 2001-07-17 12:58 UTC (permalink / raw)
  To: pgsql-admin

Hi

I tried to load plperl into postgres. But got this error message:

ERROR:  Load of file /opt/postgres/7.1.2//lib/plperl.so failed: undefined symbol: ap_null_cleanup                    

I did compile postgres 7.1.2 and perl 5.6.1 on Linux with gcc. All the rest works ok. 

My questions:
- is there somebody else having this problem?
- did anybody solve this?

( I checked out also the most recent 7.1.2 from the cvs server, but got the same messages) 

Thanks


Philip Markwalder

==============================
Markwalder Philip
Consultant
Philip.Markwalder@trivadis.com

Trivadis AG
Kanalstrasse 5
CH-8152 Glattbrugg
Tel.:   +41- 1-808 70 20
Fax :   +41- 1-808 70 21
Mobile: +41-79-445 77 87
http://www.trivadis.com
==============================



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

* Re: Problem: plperl load failed (PGSQL 7.1.2)
@ 2001-07-17 16:14  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Markwalder Philip <pm@ibp.ch>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2001-07-17 16:14 UTC (permalink / raw)
  To: Markwalder Philip <pm@ibp.ch>; +Cc: pgsql-admin

Markwalder Philip <pm@ibp.ch> writes:
> I tried to load plperl into postgres. But got this error message:

> ERROR:  Load of file /opt/postgres/7.1.2//lib/plperl.so failed: undefined symbol: ap_null_cleanup                    

Hm.  There's no such symbol anywhere in the Postgres sources.  My bet is
that you are seeing a problem with the linker failing to locate the
additional shared libraries that plperl.so requires --- libperl.so being
the most obvious one, but maybe there are more in your configuration.

Check ldconfig and so forth to see if the shared library search path
is set up correctly.

			regards, tom lane



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

* Re: Problem: plperl load failed (PGSQL 7.1.2)
@ 2001-07-18 07:33  Markwalder Philip <pm@ibp.ch>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Markwalder Philip @ 2001-07-18 07:33 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin

Hi Tom

Thanks to your hint. 

The problem in my envirement is, that I don't use the standard perl, so the libperl.so isn't in the default ld.so.conf directories. 
After extending the envirement variable LD_LIBRARY_PATH the createlang command went smooth.

Thanks

Philip

PS: Should have thought of it myself ... :( 

On Tue, 17 Jul 2001 12:14:08 -0400
Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Markwalder Philip <pm@ibp.ch> writes:
> > I tried to load plperl into postgres. But got this error message:
> 
> > ERROR:  Load of file /opt/postgres/7.1.2//lib/plperl.so failed: undefined symbol: ap_null_cleanup                    
> 
> Hm.  There's no such symbol anywhere in the Postgres sources.  My bet is
> that you are seeing a problem with the linker failing to locate the
> additional shared libraries that plperl.so requires --- libperl.so being
> the most obvious one, but maybe there are more in your configuration.
> 
> Check ldconfig and so forth to see if the shared library search path
> is set up correctly.
> 
> 			regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://www.postgresql.org/search.mpl
> 


==============================
Markwalder Philip
Consultant
Philip.Markwalder@trivadis.com

Trivadis AG
Kanalstrasse 5
CH-8152 Glattbrugg
Tel.:   +41- 1-808 70 20
Fax :   +41- 1-808 70 21
Mobile: +41-79-445 77 87
http://www.trivadis.com
==============================



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


end of thread, other threads:[~2001-07-18 07:33 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-07-17 12:58 Problem: plperl load failed (PGSQL 7.1.2) Markwalder Philip <pm@ibp.ch>
2001-07-17 16:14 ` Tom Lane <tgl@sss.pgh.pa.us>
2001-07-18 07:33   ` Markwalder Philip <pm@ibp.ch>

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