agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Building pl/java on OS/X (Mountain Lion)
Date: Sat, 13 Oct 2012 17:30:47 -0700
Message-ID: <507A07B7.3040909@hogranch.com> (raw)
In-Reply-To: <E4ADE262-FAE2-40EC-B53F-D92F2FA51185@me.com>
References: <86510D0E-3824-40CC-B432-944032169D3E@me.com>
	<E4ADE262-FAE2-40EC-B53F-D92F2FA51185@me.com>

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





view thread (7+ messages)  latest in thread

Message-ID: <507A07B7.3040909@hogranch.com>
Permalink:  ../507A07B7.3040909@hogranch.com/
Also on:    postgresql.org/message-id/507A07B7.3040909@hogranch.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] Building pl/java on OS/X (Mountain Lion)
  In-Reply-To: <507A07B7.3040909@hogranch.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