[added dbi-users in case there are more people who can help there] > > > On Jun 4, 2005, at 12:44 PM, Jeff Urlwin wrote: > > I grabbed the latest DBD::ODBC and DBI from CPAN to do the > installs, so > both are the latest versions. > > > Did you install with iODBC both times? The same version both times? > > What versions of > > DBD::ODBC & iODBC are you using? > > > Solaris with a very recent version of unix odbc. The Panther install > that succeeded was the pre-installed iodbc libs. That was the > smoothest > error free installation of any.
However, since I'm not a MAC expert (although, I scrounged an old iMac which is running OS/X now). Can you tell which version of iODBC you have? Can you look for the iODBC libs and look through the makefile generated by Makefile.PL. Are all the iODBC libs linking to DBD::ODBC? > > > >> > >> I've installed the FreeTDS package on the Mac OS X Server > and iodbc > >> comes pre-installed. I got your module to install with some failed > >> tests. > >> > >> I tested a DSN and the iodbctest application connects to the DSN. > > > > Ok. That's good. > > > >> > >> I get the following in the Apache Server logs when I > attempt to run a > >> script that works on both the Solaris and Client machines: > >> > >> dyld: perl Undefined symbols: > >> /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBD/ODBC/ > >> ODBC.bundle undefined reference to _SQLGetConfigMode > expected to be > >> defined in a dynamic image > >> /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBD/ODBC/ > >> ODBC.bundle undefined reference to _SQLGetPrivateProfileString > >> expected to be defined in a dynamic image > >> /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBD/ODBC/ > >> ODBC.bundle undefined reference to _SQLSetConfigMode expected to be > >> defined in a dynamic image > >> [Fri Jun 3 14:52:20 2005] [error] [client 10.1.4.4] > >> Premature end of > >> script headers: > >> /Library/WebServer/CGI-Executables/secure/search/phones.cgi > >> > >> Any ideas? > > > > My first suggestion is that DBD::ODBC isn't linking with all the > > libraries on the iODBC > > side. I think, at one point, iODBC split some of their > libraries and > > that may cause some > > issues with DBD::ODBC. > > One other wrinkles. When I installed the DBI package, the installer > informed me that the version of Perl pre-installed on OSX > Server was a > threaded version. I've never built Perl threaded before, > would it be an > issue with your package? > > Thanks for taking the time to respond. While that shouldn't be a problem (but could be), but I wouldn't try running with threads just yet. Jeff
