agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Windows binaries
Date: Sun, 23 Jan 2011 15:02:29 -0800
Message-ID: <4D3CB385.6010403@gmail.com> (raw)
In-Reply-To: <4D3CAF3D.2060802@hogranch.com>
References: <C1A6B6FC8196CF43B9B4D0D2C63BFA5A18C4E39967@SPR3V9.office.local>
	<4D3A3076.4070905@gmail.com>
	<op.vporvh2cuxs6vk@asuka>
	<COL116-W28471A0A9040F98339CD80D3FB0@phx.gbl>
	<4D3C6777.10708@gmail.com>
	<op.vprvlq0cuxs6vk@asuka>
	<4D3C6B11.3010706@gmail.com>
	<op.vprv75equxs6vk@asuka>
	<4D3C6F68.9060304@gmail.com>
	<op.vprxbo05uxs6vk@asuka>
	<4D3C7606.5080205@gmail.com>
	<op.vpryofceuxs6vk@asuka>
	<4D3C7E10.7080906@gmail.com>
	<op.vpr0nfoauxs6vk@asuka>
	<4D3CA4BD.3010206@gmail.com>
	<op.vpr76nenuxs6vk@asuka>
	<4D3CAF3D.2060802@hogranch.com>

On 2011-01-23 2:44 PM, John R Pierce wrote:
> On 01/23/11 2:17 PM, Johann 'Myrkraverk' Oskarsson wrote:
>> On Sun, 23 Jan 2011 21:59:25 -0000, Eric Kolotyluk 
>> <eric.kolotyluk at gmail.com> wrote:
>>
>>> Is it common to have this much trouble getting pljava working?
>>
>> Not in Linux or Solaris.  As evident, I do not have prior experience 
>> with it on Windows.  I'm sorry but I've run out of ideas.  Perhaps 
>> you can get more help on general PostgreSQL forums since loading a 
>> library isn't PL/Java specific.
>>
>
>
> use / for Windows paths, not \
>
> \ is only required in CMD commands and .BAT files and such.

OK, I tried both 'C:/postgres/pljava.dll' and '/postgres/pljava.dll' in 
the install.sql file and I get the same error message.

C:\Program Files (x86)\PostgresPlus\9.0SS\share\pljava>psql -f install.sql
Password:
CREATE SCHEMA
GRANT
psql:install.sql:6: ERROR:  could not load library 
"/postgres/pljava.dll": The specified module could not be found.

I also used

dynamic_library_path = 'C:/postgres;$libdir'

in the config file and I still get the same message.

Could it be that pljava.dll is just not a proper DLL file?

Chees, Eric




view thread (42+ messages)  latest in thread

Message-ID: <4D3CB385.6010403@gmail.com>
Permalink:  ../4D3CB385.6010403@gmail.com/
Also on:    postgresql.org/message-id/4D3CB385.6010403@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] Windows binaries
  In-Reply-To: <4D3CB385.6010403@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