pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ODBC Installation woes
2+ messages / 2 participants
[nested] [flat]

* ODBC Installation woes
@ 2001-01-30 21:05  Chris Hayner <hayner80@astro.ocis.temple.edu>
  0 siblings, 1 reply; 2+ messages in thread

From: Chris Hayner @ 2001-01-30 21:05 UTC (permalink / raw)
  To: ; +Cc: pgsql-interfaces; PostgreSQL odbc list <pgsql-odbc@postgresql.org>

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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [ODBC] ODBC Installation woes
@ 2001-02-05 16:52  Thomas Lockhart <lockhart@alumni.caltech.edu>
  parent: Chris Hayner <hayner80@astro.ocis.temple.edu>
  0 siblings, 0 replies; 2+ messages in thread

From: Thomas Lockhart @ 2001-02-05 16:52 UTC (permalink / raw)
  To: Chris Hayner <hayner80@astro.ocis.temple.edu>; +Cc: pgsql-interfaces; PostgreSQL odbc list <pgsql-odbc@postgresql.org>

> 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

> 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-02-05 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-30 21:05 ODBC Installation woes Chris Hayner <hayner80@astro.ocis.temple.edu>
2001-02-05 16:52 ` Thomas Lockhart <lockhart@alumni.caltech.edu>

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