Re: compile errors in new PL/Pler

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: mail(at)joeconway(dot)com, scrappy(at)postgresql(dot)org, jd(at)commandprompt(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: compile errors in new PL/Pler
Date: 2004-07-02 09:34:33
Message-ID: 40E52C29.3070509@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> 1 is not acceptable, and 2 kinda sucks.
>
> Please try adding this to SPI.xs,
>
> #ifndef aTHX_
> #define aTHX_
> #endif
>
> recompile and test by calling spi_exec_query with more than 2 arguments like
> this:

Hmmm, compiled fine, but then I get this:

-bash-2.05b$ createlang -d test plperl
ERROR: could not load library
"/home/chriskl/local/lib/postgresql/plperl.so": dlopen
'/home/chriskl/local/lib/postgresql/plperl.so' failed.
(/home/chriskl/local/lib/postgresql/plperl.so: Undefined symbol "eval_pv")
createlang: language installation failed: ERROR: could not load library
"/home/chriskl/local/lib/postgresql/plperl.so": dlopen
'/home/chriskl/local/lib/postgresql/plperl.so' failed.
(/home/chriskl/local/lib/postgresql/plperl.so: Undefined symbol "eval_pv")

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Hallgren 2004-07-02 11:14:39 Re: transactions within functions
Previous Message Andrew Dunstan 2004-07-02 08:50:19 Re: compile errors in new PL/Pler