Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] jdbc fails to compile

From: "Jose' Soares Da Silva" <sferac(at)proxy(dot)bazzanese(dot)com>
To: Peter T Mount <pgint(at)maidast(dot)demon(dot)co(dot)uk>
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] jdbc fails to compile
Date: 1998-04-20 16:54:33
Message-ID: Pine.LNX.3.96.980420165154.1826A-100000@proxy.bazzanese.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
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.


In response to

pgsql-interfaces by date

Next:From: David HartwigDate: 1998-04-20 17:21:50
Subject: Re: ODBC FAQ
Previous:From: The Hermit HackerDate: 1998-04-20 15:56:31
Subject: Re: [INTERFACES] Re: ODBC 16 bit support

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group