[Pljava-dev] PL/Java 64bit - The specified procedure could not be found.

From: binoyaf at gmail(dot)com (Binoy)
To:
Subject: [Pljava-dev] PL/Java 64bit - The specified procedure could not be found.
Date: 2012-05-23 18:15:10
Message-ID: CAN_V8gkGH0LWBg4TetEi10YcWtX6iRWzJfqkbCc1HODx7auEag@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

hi,

I get this error when I try to install PL/Java 1.4.2.

java -classpath
D:\PostgreSQL\pljava\deploy.jar;D:\Drivers\postgresql-9.1-902.jdbc4.jar
org.postgresql.pljava.deploy.Deployer -install -database mydb -user
postgres -password pass

org.postgresql.util.PSQLException: ERROR: could not load library
"D:/PostgreSQL/pljava/pljava.dll": The specified procedure could not be
found.

I have tried the suggestions from the archives without any success. Can you
please let me know if I am missing out on any configuration settings?

PostgreSQL
PostgreSQL 9.1.3, compiled by Visual C++ build 1500, 64-bit

Windows
Windows 7 Enterprise 64 bit

Java
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

PL/Java
pljava-x86_64-w64-mingw32-pg9.0-1.4.2.tar.gz

postgresql.conf
Added the following three lines,
dynamic_library_path = '$libdir;D:\\PostgreSQL\\pljava'
custom_variable_classes = 'pljava'
pljava.classpath = 'D:\\PostgreSQL\\pljava\\pljava.jar'

PATH
C:\Program Files\Java\jre6\bin;C:\Program
Files\Java\jre6\bin\server;D:\PostgreSQL\9.1\bin;...

Dependency Walker on pljava.dll shows,
Error: At least one required implicit or forwarded dependency was not found.
Error: At least one module has an unresolved import due to a missing export
function in an implicitly dependent module.
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing
export function in a delay-load dependent module.

The two modules are MSVCR90.DLL and IESHIMS.DLL

Thanks,
Binoy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20120523/86728879/attachment.html>

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Johann 'Myrkraverk' Oskarsson 2012-05-23 21:05:24 [Pljava-dev] PL/Java 64bit - The specified procedure could not be found.
Previous Message Welty, Richard 2012-05-18 11:37:19 [Pljava-dev] null pointer exception in pl/java jdbc driver