Re: [INTERFACES] jdbc fails to compile

From: Peter T Mount <pgint(at)maidast(dot)demon(dot)co(dot)uk>
To: "Jose' Soares Da Silva" <sferac(at)proxy(dot)bazzanese(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] jdbc fails to compile
Date: 1998-04-17 16:38:39
Message-ID: Pine.LNX.3.95.980417173301.29749A-100000@maidast.demon.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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

> SO: Linux ELF 2.0.33
> java version "Linux_JDK_1.1.3_v1"

What is the output of the command:
java -version

--
Peter T Mount petermount(at)earthling(dot)net or pmount(at)maidast(dot)demon(dot)co(dot)uk
Main Homepage: http://www.demon.co.uk/finder
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter(at)maidstone(dot)gov(dot)uk

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter T Mount 1998-04-17 16:41:15 Re: [INTERFACES] Re: Postgres and port unavailable?
Previous Message David Hartwig 1998-04-17 16:26:43 Re: [INTERFACES] ODBC 6.3.2