Skip to Content.
Sympa Menu

freetds - [freetds] Compiling FreeTDS on Mac OS 10.5 Leopard

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Matthijs Langenberg" <mlangenberg AT gmail.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] Compiling FreeTDS on Mac OS 10.5 Leopard
  • Date: Thu, 1 Nov 2007 14:41:52 +0100

I'm running into some trouble while trying to connect to a MS SQL server
using iODBC and FreeTDS on Leopard.
I've installed FreeTDS using macports, as I also did on my Tiger install,
but now it seems that the driver couldn't be loaded. (SQLDriverConnect =
[iODBC][Driver Manager]Data source name not found and no default driver
specified. Driver could not be loaded (0) SQLSTATE=IM002).

So at that point, I download the FreeTDS source on both my Tiger and Leopard
machine and looked at the error messages that where thrown out during
compile time.
On both machines I ran:
./configure, and "make > /dev/null" so I would only see the compile errors.


The output is available here: http://p.caboo.se/113037

The 'ranlib' errors scare me (although I've no clue about the meaning of
them).


Running 'make' doesn't halt with an error though, I'm still able to run
'make install'.
This also yields some 'ranlib' errors when installing the libraries in
/usr/lib, saying that the libraries doesn't contain any symbols.
So I figured that would be the cause of the driver not being loaded by
iODBC.


It looks to me that some libraries have been moved around between Mac OS
10.4 (Tiger) and Mac OS 10.5 (Leopard), but I'm not able to find the actual
cause of the problem, nor am i able to understand why the compilation
process didn't halt with an error, and just is breaking functionality.

Can anyone give me a hint on where to look for, so I can fix this issue?


Thanks in advance,

Matthijs Langenberg




Archive powered by MHonArc 2.6.24.

Top of Page