From: carvalho.humberto at gmail.com (Humberto Carvalho) Date: Thu, 23 Jun 2005 02:42:40 +0100 Subject: [Pljava-dev] could not load library "libpljava.dll": dynamic load errorpljava-dev@gborg.postgresql.org In-Reply-To: References: <42B709F0.9010806@mailblocks.com> <84c8335505062010424ee44276@mail.gmail.com> Message-ID: <84c8335505062218425b30a3b@mail.gmail.com> I tried to change de dll file to c: directory and also change the dynamic_library_path to: "dynamic_library_path = '$libdir;c:\\' and now it works... Thanks for your advice... Humberto Carvalho On 6/20/05, Thomas Hallgren wrote: > 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 > > > > > > > > > -- Humberto Carvalho