[Pljava-dev] could not load library "libpljava.dll": dynamic load errorpljava-dev at gborg.postgresql.org

Humberto Carvalho carvalho.humberto at gmail.com
Mon Jun 20 17:42:20 UTC 2005


Hello

I'm having a problem when i try to install pl/java in my windows.

It give me always the error:

ERROR: could not load library "c:/pljava/libpljava.dll": dynamic load error

i thougth that i should move the libpljava.dll to system32 directory,
but the error is the same.

i have tried to follow the foruns, but i think that all the
configurations are correct.

Directory of:

java:       C:\Program Files\Java\jdk1.5.0
pljava:     C:\pljava
postgres:   C:\Program Files\PostgreSQL8.0


I also made some modifications in postgresql.conf file:


dynamic_library_path = '$libdir;c:\\pljava'
custom_variable_classes = 'pljava'
pljava.classpath = 'c:\\pljava\\pljava.jar'


System variables:
classpath:
.;C:\Program Files\PostgreSQL8.0\jdbc\postgresql-8.0-311.jdbc3.jar;
c:\pljava\deploy.jar

path:
C:\Program Files\java\jdk1.5.0\jre\bin;
C:\Program Files\java\jdk1.5.0\jre\bin\client;
C:\Program Files\PostgreSQL8.0\bin;


ld_library_path:
C:\Program Files\Java\jdk1.5.0\jre\bin;C:\Program
Files\java\jdk1.5.0\jre\bin\client;

I hope that someone can help me.

thanks

-- 
Humberto Carvalho



More information about the Pljava-dev mailing list