From: pierce at hogranch.com (John R Pierce) Date: Fri, 07 May 2010 22:24:59 -0700 Subject: [Pljava-dev] pljava install problems In-Reply-To: References: Message-ID: <4BE4F5AB.2080109@hogranch.com> 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.