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

From: hal(dot)hildebrand at me(dot)com (Hal Hildebrand)
To:
Subject: [Pljava-dev] Building pl/java on OS/X (Mountain Lion)
Date: 2012-10-14 02:38:24
Message-ID: 16853424-3367-4ADB-8D21-073B254759B9@me.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Thanks for the suggestions, but sadly neither seemed to do the trick. I tried any number of variations of what I *think* is the correct value, but who knows :)

/Library/PostgreSQL/9.2/pljava/:/System/Library/Frameworks/JavaVM.framework/Libraries

the /System/Library/Frameworks/JavaVM.framework/Libraries is the place where all the native libraries and dynamic libraries for the JVM live. So that should have done the trick. Unfortunately, postgres still refuses to start up.

Was also wondering if there's a more verbose mode for postgres startup, as what I'm getting is just a non zero exit. Would be nice if there was something that gave some idea of what went wrong ;)

Again, thanks for the help though. Appreciated.

-Hal

On Oct 13, 2012, at 5:44 PM, John R Pierce <pierce at hogranch.com> wrote:

> On 10/13/12 5:30 PM, John R Pierce wrote:
>> 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/'
>
> let me add, you MAY need to have the right paths for your libjvm.dynlib from your Java JRE 1.5 .... I have *NO* idea what Java looks like on OSX.
>
> on IBM Java on AIX (which is a PPC64 environment), I had to use...
> |
> dynamic_library_path = ||'$libdir:/opt/pljava:/usr/java5_64/jre/bin:/usr/java5_64/jre/bin/j9vm'|
>
> these are completely different paths than the equivalent files on a Sun/Oracle java implementation.
>
> --
> john r pierce N 37, W 122
> santa cruz ca mid-left coast
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at pgfoundry.org
> http://pgfoundry.org/mailman/listinfo/pljava-dev

In response to

Responses

Browse pljava-dev by date

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