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

Current Driver and Mac OS X Build questions

From: Andrew Satori <dru(at)druware(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Current Driver and Mac OS X Build questions
Date: 2006-11-17 19:25:54
Message-ID: A88A1E29-79FB-4D0E-9409-4141765207CA@druware.com (view raw or flat)
Thread:
Lists: 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


Responses

pgsql-odbc by date

Next:From: Peter EisentrautDate: 2006-11-18 07:20:31
Subject: Re: Current Driver and Mac OS X Build questions
Previous:From: Dmitriy IvanovDate: 2006-11-17 17:22:34
Subject: Re: Serial columns and ADO

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