[Pljava-dev] Building pl/java on OS/X (Mountain Lion)

From: pierce at hogranch(dot)com (John R Pierce)
To:
Subject: [Pljava-dev] Building pl/java on OS/X (Mountain Lion)
Date: 2012-10-14 00:30:47
Message-ID: 507A07B7.3040909@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

On 10/13/12 5:01 PM, Hal Hildebrand wrote:
> dynamic_library_path = $libdir:'/Library/PostgreSQL/9.2/pljava/'

' in the wrong place. s/b ...

dynamic_library_path = '$libdir:/Library/PostgreSQL/9.2/pljava/'

>
> log_min_messages = info
> custom_variable_classes = 'pljava'
> pljava.classpath = '/Library/PostgreSQL/9.2/pljava/pljava.jar'
>
> I have put the pljava.so and *.jars in /Library/PostgreSQL/9.2/pljava
>
> This results with the startup of the postmaster with :
> 10/13/12 4:52:01.866 PM com.apple.launchd[1]: (com.edb.launchd.postgresql-9.2[1778]) Exited with code: 1
> 10/13/12 4:52:01.866 PM com.apple.launchd[1]: (com.edb.launchd.postgresql-9.2) Throttling respawn: Will start in 10 seconds

those errors tell us nothing other than that postgres didn't start.
find and read the postgres startup log, wherever thats kept. its
/probably/ got an error about that ' on the dynamic_library_path.

I believe the .so should be called a .dynlib on OSX but I've never used
that platform so take this with a grain of salt.

--
john r pierce N 37, W 122
santa cruz ca mid-left coast

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message John R Pierce 2012-10-14 00:44:58 [Pljava-dev] Building pl/java on OS/X (Mountain Lion)
Previous Message Hal Hildebrand 2012-10-14 00:01:09 [Pljava-dev] Building pl/java on OS/X (Mountain Lion)