Re: [JDBC] Re: [INTERFACES] Postgresql and JDBC
On Tue, Jan 30, 2001 at 11:51:07AM -0500, Bruce Momjian wrote:
pgsql-jdbc@postgresql.org - its a new list created due to the ammount of
traffic.I've got to update the jdbc pages this week.
PostgreSQL.org web site is already update.
Uh, really? The description for pgsql-interfaces says that the list is
not about JDBC but there is no mention of which list *is* about
postgres and JDBC!
Oh, thanks. Seems I mess it up somehow. Fixed now.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Import Notes
Reply to msg id not found: 20010130180816.A2696@blank.pages.de
When trying to install ODBC on a solaris 7 machine i get the following
make error:
gcc -Wall -Wmissing-prototypes -Wmissing-declarations -fPIC -G
-Wl,-soname,libpsqlodbc.so.0 -Wl,-Bsymbolic info.o bind.o columninfo.o
connection.o convert.o drvconn.o environ.o execute.o lobj.o misc.o
options.o pgtypes.o psqlodbc.o qresult.o results.o socket.o parse.o
statement.o gpps.o tuple.o tuplelist.o dlg_specific.o -lm -ldl -lsocket
-lresolv -lnsl -lm -lc -Wl,-rpath,/usr/local/pgsql/lib -o
libpsqlodbc.so.0.26
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/crt1.o: In function
`_start':
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/crt1.o(.text+0x5c):
undefined reference to `main'
collect2: ld returned 1 exit status
The database made and installed without a hitch. this leaves me confused.
Any help with this bafflement would be appreciated.
thanks,
chris
When trying to install ODBC on a solaris 7 machine i get the following
make error:
You need something like a "-shared" flag on the link step to get a
shared library. The linker is trying instead to find the entry point for
a program, and of course none exists...
Not sure why this isn't happening for you automatically; perhaps it is
because of the Solaris/gcc combination??
- Thomas
Show quoted text
gcc -Wall -Wmissing-prototypes -Wmissing-declarations -fPIC -G
-Wl,-soname,libpsqlodbc.so.0 -Wl,-Bsymbolic info.o bind.o columninfo.o
connection.o convert.o drvconn.o environ.o execute.o lobj.o misc.o
options.o pgtypes.o psqlodbc.o qresult.o results.o socket.o parse.o
statement.o gpps.o tuple.o tuplelist.o dlg_specific.o -lm -ldl -lsocket
-lresolv -lnsl -lm -lc -Wl,-rpath,/usr/local/pgsql/lib -o
libpsqlodbc.so.0.26
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/crt1.o: In function
`_start':
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/crt1.o(.text+0x5c):
undefined reference to `main'
collect2: ld returned 1 exit statusThe database made and installed without a hitch. this leaves me confused.
Any help with this bafflement would be appreciated.
thanks,
chris