From: thhal at mailblocks.com (Thomas Hallgren) Date: Mon, 20 Jun 2005 20:24:48 +0200 Subject: [Pljava-dev] could not load library "libpljava.dll": dynamic load errorpljava-dev@gborg.postgresql.org In-Reply-To: <84c8335505062010424ee44276@mail.gmail.com> References: <84c8335505062010424ee44276@mail.gmail.com> <42B709F0.9010806@mailblocks.com> Message-ID: Humberto, Check your postgresql.conf dynamic_library_path setting and the PATH environment setting. All other settings are irrelevant for the error that you get. Nothing should be moved to the system32 directory. You will find a fair amount of threads covering this issue in the mailing-list archive. Perhaps they can be of help. Regards, Thomas Hallgren >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 > > >