agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Installing under freebsd
Date: Mon, 10 Sep 2007 08:30:02 -0700
Message-ID: <46E562FA.10708@mcsnw.com> (raw)

Hi all,

I'm trying to install PL/Java under FreeBSD (6.1-STABLE). postgres is 
installed from ports with no modifications. I'm running into a roadblock 
with some shared libraries. I get this error message when I try to 
install into the db.

ERROR:  could not load library "/usr/local/lib/postgresql/pljava.so": 
dlopen (/usr/local/lib/postgresql/pljava.so) failed: 
/usr/local/diablo-jdk1.5.0/jre/lib/i386/server/libjvm.so: Undefined 
symbol "pthread_create"

I have the following environment variables set for the pgsql user:
JAVA_HOME=/usr/local/diablo-jdk1.5.0
LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386:$JAVA_HOME/jre/lib/i386/native_threads:$JAVA_HOME/jre/lib/i386/server

I've found references (for Linux) that solve this problem with the 
addition of the "native_threads" bit to the pathname above, but that 
doesn't appear to change anything here.

Has anyone had success getting PL/Java to run under FreeBSD?

Thanks,
Lucas





Message-ID: <46E562FA.10708@mcsnw.com>
Permalink:  ../46E562FA.10708@mcsnw.com/
Also on:    postgresql.org/message-id/46E562FA.10708@mcsnw.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] Installing under freebsd
  In-Reply-To: <46E562FA.10708@mcsnw.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