Opened 16 years ago

Closed 16 years ago

#13059 closed defect (fixed)

leopard freetds runtime error

Reported by: macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: iodbc freetds leopard Cc:
Port:

Description

iODBC Demonstration program
This program shows an interactive SQL processor
Driver Manager: 03.52.0406.1211
1: SQLDriverConnect = [iODBC][Driver Manager]dlopen(/opt/local/lib/libtdsodbc.so, 6): Symbol not found: _MD4Final
  Referenced from: /opt/local/lib/libtdsodbc.so
  Expected in: flat namespace
 (0) SQLSTATE=00000
2: SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003

----

[ODBC Drivers]
FreeTDS = Installed

[FreeTDS]
Description     = FreeTDS
Driver          = /opt/local/lib/libtdsodbc.so

FreeTDS installed from macports on leopard seems to be having a problem with iODBC.

Change History (3)

comment:1 Changed 16 years ago by nerdrew@…

I just posted this for Ticket #13038 as well. I had a similar problem, but with a different missing symbol.

I added this to my Portfile and it worked for me:

platform darwin 9 {
        patchfiles      patch-src-tds-Makefile.in patch-src-server-Makefile.in \
                patch-src-ctlib-Makefile.in patch-src-odbc-Makefile.in \
                patch-src-dblib-Makefile.in patch-src-apps-Makefile.in
        configure.compiler      gcc-4.0

        pre-build {
                system "cp /usr/bin/glibtool ${worksrcpath}/libtool"
        }
}

comment:2 Changed 16 years ago by macports@…

This fixed worked great for me. Thank you very much for posting this to this ticket!

comment:3 Changed 16 years ago by afb@…

Resolution: fixed
Status: newclosed

Applied, r30584.

Note: See TracTickets for help on using tickets.