pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: psqlodbc-08.02.0002 on os x tiger build fails, with workarounds
2+ messages / 2 participants
[nested] [flat]

* Re: psqlodbc-08.02.0002 on os x tiger build fails, with workarounds
@ 2006-07-02 15:02  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 1 reply; 2+ messages in thread

From: Dave Page @ 2006-07-02 15:02 UTC (permalink / raw)
  To: Ash Gokhale <ash@aeria.net>; +Cc: pgsql-odbc

Please send future bug reports/patches to the mailing list, not directly
to me (I rarely work on ODBC atm).

I've forwarded this there.

Thanks, Dave.

> -----Original Message-----
> From: Ash Gokhale [mailto:ash@aeria.net] 
> Sent: 30 June 2006 23:44
> To: Dave Page
> Subject: psqlodbc-08.02.0002 on os x tiger build fails, with 
> workarounds
> 
>   the build fails with:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -g -O2 -MT  
> options.lo -MD -MP -MF .deps/options.Tpo -c options.c  -fno-common - 
> DPIC -o .libs/options.o
> options.c:288: error: conflicting types for 'PGAPI_SetConnectOption'
> pgapifunc.h:126: error: previous declaration of  
> 'PGAPI_SetConnectOption' was here
> make[1]: *** [options.lo] Error 1
> make: *** [all] Error 2
> 
> my patch is thus:
> root@devi.local:psqlodbc-08.02.0002}diff options.c oldoptions.c  
> {root@/dev/ttyp3
> 287c287
> < SQLUINTEGER vParam)
> ---
>  > SQLULEN vParam)
> Exit 1
> 
> Then it refuses to link:
> gcc  -o .libs/psqlodbc.so -bundle  .libs/info.o .libs/bind.o .libs/ 
> columninfo.o .libs/connection.o .libs/convert.o 
> .libs/drvconn.o .libs/ 
> environ.o .libs/execute.o .libs/lobj.o .libs/win_md5.o .libs/ 
> misc.o .libs/options.o .libs/pgtypes.o .libs/psqlodbc.o .libs/ 
> qresult.o .libs/results.o .libs/socket.o .libs/parse.o .libs/ 
> statement.o .libs/tuple.o .libs/dlg_specific.o .libs/loadlib.o .libs/ 
> multibyte.o .libs/odbcapi.o .libs/descriptor.o .libs/ 
> odbcapi30.o .libs/pgapi30.o .libs/info30.o .libs/mylog.o .libs/ 
> odbcapiw.o .libs/odbcapi30w.o .libs/win_unicode.o  
> -L/usr/local/lib -lpq
> /usr/bin/ld: Undefined symbols:
> _SSL_get_error
> _SSL_read
> _SSL_write
> _SQLGetPrivateProfileString
> _SQLWritePrivateProfileString
> collect2: ld returned 1 exit status
> make: *** [psqlodbc.la] Error 1
> 
> It needed  -liodbc -liodbcinst  -lssl hacked  into the 
> Makefile added  
> libs, then it linked. Life is too short to fix auto config!!
> 
> cheers,
>  >ash 
> 



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

* Re: psqlodbc-08.02.0002 on os x tiger build fails, with workarounds
@ 2006-07-13 16:52  Peter Eisentraut <peter_e@gmx.net>
  parent: Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2006-07-13 16:52 UTC (permalink / raw)
  To: pgsql-odbc; +Cc: Ash Gokhale <ash@aeria.net>

Am Sonntag, 2. Juli 2006 17:02 schrieb Dave Page:
> > Subject: psqlodbc-08.02.0002 on os x tiger build fails, with
> > workarounds

The build is known to fail with newer iodbc versions (which is what is used on 
Mac OS X).  There are more discussions on this in the mailing list archive.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



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


end of thread, other threads:[~2006-07-13 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-07-02 15:02 Re: psqlodbc-08.02.0002 on os x tiger build fails, with workarounds Dave Page <dpage@vale-housing.co.uk>
2006-07-13 16:52 ` Peter Eisentraut <peter_e@gmx.net>

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