From: Jose' Soares Da Silva <sferac@proxy.bazzanese.com>
To: Peter T Mount <pgint@maidast.demon.co.uk>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] jdbc fails to compile
Date: Mon, 20 Apr 1998 16:54:33 +0000 (UTC)
Message-ID: <Pine.LNX.3.96.980420165154.1826A-100000@proxy.bazzanese.com> (raw)
In-Reply-To: <Pine.LNX.3.95.980417173301.29749A-100000@maidast.demon.co.uk>
On Fri, 17 Apr 1998, Peter T Mount wrote:
> On Fri, 17 Apr 1998, Jose' Soares Da Silva wrote:
>
> > Hi, all
> > I can't compile jdbc interface. There's somebody that can help me ?
> >
> > $ make
> > javac postgresql/CallableStatement.java
> > javac postgresql/geometric/PGbox.java
> > javac postgresql/geometric/PGcircle.java
> > javac postgresql/geometric/PGlseg.java
> > javac postgresql/geometric/PGpath.java
> > javac postgresql/geometric/PGpolygon.java
> > jar -c0f postgresql.jar $(find postgresql -name "*.class" -print)
> > Failed to locate native library in path:
> > /usr/local/pgsql/lib
> > Aborting.
> > make: *** [postgresql.jar] Error 1
>
> Hmmm, that's strange as the driver isn't dependent on any native
> libraries. It's also strange that this has happened only for the jar
> command.
>
> Have you tried running jar manually?
>
> Also, you could run it with:
>
> jar -c0f postgresql.jar postgresql/*.class postgresql/*/*.class
>
I had two different versions of jar on: (/usr/local/bin/jar and /usr/bin/jar)
Now it's Ok. Thanks anyway Peter.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-interfaces@postgresql.org
Cc: sferac@proxy.bazzanese.com, pgint@maidast.demon.co.uk
Subject: Re: [INTERFACES] jdbc fails to compile
In-Reply-To: <Pine.LNX.3.96.980420165154.1826A-100000@proxy.bazzanese.com>
References: <Pine.LNX.3.95.980417173301.29749A-100000@maidast.demon.co.uk> <Pine.LNX.3.96.980420165154.1826A-100000@proxy.bazzanese.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox