pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Current Driver and Mac OS X Build questions
2+ messages / 2 participants
[nested] [flat]

* Current Driver and Mac OS X Build questions
@ 2006-11-17 19:25  Andrew Satori <dru@druware.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Andrew Satori @ 2006-11-17 19:25 UTC (permalink / raw)
  To: pgsql-odbc

Gents,

I just got finished building the current driver on Mac OS X and  
before I file a bug and write a patch, I wanted to check to see if  
this is a by design deal or just an omission.

First, a default ./configure fails to add the -liodbc to the ldflags,  
this must be forced using --with-iodbc

Second, ./configure --with-iodbc fails to link due to missing symbols  
_CONNLOCK_ACQUIRE (and related).  The issue is that in connection.h,  
there is a definition for that function if multi-threading is  
enabled, but if you don't explicitly define --enable-pthread there is  
no definiection for CONNLOCK_AQUIRE and friends.

So, is this by intent?   second, what is the desired behaviour for  
non-pthread builds?

Andy




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

* Re: Current Driver and Mac OS X Build questions
@ 2006-11-18 07:20  Peter Eisentraut <peter_e@gmx.net>
  parent: Andrew Satori <dru@druware.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2006-11-18 07:20 UTC (permalink / raw)
  To: pgsql-odbc; +Cc: Andrew Satori <dru@druware.com>

Andrew Satori wrote:
> First, a default ./configure fails to add the -liodbc to the ldflags,
> this must be forced using --with-iodbc

This is intentional.

> Second, ./configure --with-iodbc fails to link due to missing symbols
> _CONNLOCK_ACQUIRE (and related).  The issue is that in connection.h,
> there is a definition for that function if multi-threading is
> enabled, but if you don't explicitly define --enable-pthread there is
> no definiection for CONNLOCK_AQUIRE and friends.

This is a bug; see discussion a few days back.
-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



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


end of thread, other threads:[~2006-11-18 07:20 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-11-17 19:25 Current Driver and Mac OS X Build questions Andrew Satori <dru@druware.com>
2006-11-18 07:20 ` 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