Re: Compiling freetds on OS X 10.6

"Craig A. Berry" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On Jun 23, 2010, at 3:43 PM, Craig Yoshida wrote:

> Hi all,
>
> I'm trying to get freetds to compile on OS X 10.6 for use with  
> pymssql and the Enthought python distribution.  I'm not concerned  
> about ODBC drivers, etc. (should I be?).  The Enthought Python  
> distribution is 32-bit, so I've been trying to get freetds to  
> compile as a 32-bit library as well, but I get errors during the  
> linking step.  Has anyone done this before and are willing to advise?

Still slumming along on Leopard here, not Snow Leopard, but IIRC I now  
have to configure with --disable-libiconv in order to force FreeTDS to  
use its own iconv routines.  I don't remember the details, but there's  
some funny business about the iconv that comes with Mac OS X.  At one  
time I think --disable-libiconv was done by default on OS X; I'm not  
sure if that was removed intentionally or fell by the wayside  
accidentally (or if I simply misremember).

This would only help if the link errors you're seeing are related to  
iconv.  Otherwise, people would need to see the exact details of those  
errors in order to advise you.

________________________________________
Craig A. Berry
mailto:[email protected]

"... getting out of a sonnet is much more
  difficult than getting in."
                  Brad Leithauser
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.