public inbox for [email protected]  
help / color / mirror / Atom feed
[Pljava-dev] pljava install problems
3+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] pljava install problems
@ 2010-05-06 20:21  
  0 siblings, 1 reply; 3+ messages in thread

From:  @ 2010-05-06 20:21 UTC (permalink / raw)

Hi.  I'm having difficulty installing and running pljava 1.4 on Ubuntu 10.04
64-bit.  I'm running Postgresql 8.4.3, and have installed jre1.6.0_20 i586.

When I try to install pljava to a database by running the install.sql
script, I get the following:  ERROR:  could not load library
"/usr/lib/postgresql/8.4/lib/pljava.so":
/usr/lib/postgresql/8.4/lib/pljava.so: undefined symbol: Int64GetDatum

My LD_LIBRARY_PATH is /usr/share/java/jre1.6.0_20/lib/amd64/server
/usr/share/java/jre1.6.0_20/lib/amd64/native_threads
/usr/share/java/jre1.6.0_20/lib/amd64

Any ideas on what I can try to fix this?

Thanks very much!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20100506/df702070/attachment.html;



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

* [Pljava-dev] pljava install problems
@ 2010-05-08 05:24  
  parent: 
  0 siblings, 1 reply; 3+ messages in thread

From:  @ 2010-05-08 05:24 UTC (permalink / raw)

John D. West wrote:
> Hi.  I'm having difficulty installing and running pljava 1.4 on Ubuntu 
> 10.04 64-bit.  I'm running Postgresql 8.4.3, and have installed 
> jre1.6.0_20 i586.
>
> When I try to install pljava to a database by running the install.sql 
> script, I get the following:  ERROR:  could not load library 
> "/usr/lib/postgresql/8.4/lib/pljava.so": 
> /usr/lib/postgresql/8.4/lib/pljava.so: undefined symbol: Int64GetDatum
>
> My LD_LIBRARY_PATH is /usr/share/java/jre1.6.0_20/lib/amd64/server 
> /usr/share/java/jre1.6.0_20/lib/amd64/native_threads 
> /usr/share/java/jre1.6.0_20/lib/amd64
>
> Any ideas on what I can try to fix this?


I got that error on a different environment* when I had issues with 
compilation, where I was compiling a 64bit pl/java but mistakenly using 
32bit postgresql include files.





* solaris 10 for sparc using the SunStudio C compiler.






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

* [Pljava-dev] pljava install problems
@ 2010-05-12 21:17  
  parent: 
  0 siblings, 0 replies; 3+ messages in thread

From:  @ 2010-05-12 21:17 UTC (permalink / raw)

Turns out that (a) pl/java only works with jdk 1.5 (not 1.6, which I was
using) and only works with postgres 8.4 if one downloads the source from CVS
and compiles locally.  Works now.

Thanks for your help!

    -- John


On Fri, May 7, 2010 at 10:24 PM, John R Pierce <pierce at hogranch.com> wrote:

> John D. West wrote:
>
>> Hi.  I'm having difficulty installing and running pljava 1.4 on Ubuntu
>> 10.04 64-bit.  I'm running Postgresql 8.4.3, and have installed jre1.6.0_20
>> i586.
>>
>> When I try to install pljava to a database by running the install.sql
>> script, I get the following:  ERROR:  could not load library
>> "/usr/lib/postgresql/8.4/lib/pljava.so":
>> /usr/lib/postgresql/8.4/lib/pljava.so: undefined symbol: Int64GetDatum
>>
>> My LD_LIBRARY_PATH is /usr/share/java/jre1.6.0_20/lib/amd64/server
>> /usr/share/java/jre1.6.0_20/lib/amd64/native_threads
>> /usr/share/java/jre1.6.0_20/lib/amd64
>>
>> Any ideas on what I can try to fix this?
>>
>
>
> I got that error on a different environment* when I had issues with
> compilation, where I was compiling a 64bit pl/java but mistakenly using
> 32bit postgresql include files.
>
>
>
>
>
> * solaris 10 for sparc using the SunStudio C compiler.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20100512/d03e24d6/attachment.html;




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


end of thread, other threads:[~2010-05-12 21:17 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-05-06 20:21 [Pljava-dev] pljava install problems 
2010-05-08 05:24 ` 
2010-05-12 21:17   ` 

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