agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] could not load library "libpljava.dll": dynamic load errorpljava-dev@gborg.postgresql.org
Date: Thu, 23 Jun 2005 02:42:40 +0100
Message-ID: <84c8335505062218425b30a3b@mail.gmail.com> (raw)
In-Reply-To: <thhal-0cqKSAwv3zjYgQoTrbesqDvwyQIIpx0@mailblocks.com>
References: <42B709F0.9010806@mailblocks.com>
	<84c8335505062010424ee44276@mail.gmail.com>
	<thhal-0cqKSAwv3zjYgQoTrbesqDvwyQIIpx0@mailblocks.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 <thhal at mailblocks.com> 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




view thread (3+ messages)

Message-ID: <84c8335505062218425b30a3b@mail.gmail.com>
Permalink:  ../84c8335505062218425b30a3b@mail.gmail.com/
Also on:    postgresql.org/message-id/84c8335505062218425b30a3b@mail.gmail.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] could not load library "libpljava.dll": dynamic load errorpljava-dev@gborg.postgresql.org
  In-Reply-To: <84c8335505062218425b30a3b@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox