> > On Jun 6, 2005, at 10:26 AM, Jeff Urlwin wrote: > > > [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? > > Jeff: > > I got success. I think that Makefile.PL was incorrectly > identifying the > install as unixodbc (which is definitely NOT installed). > > I edited the Makefile by hand changing: > # --- MakeMaker const_loadlibs section: > > # DBD::ODBC might depend on some other libraries: > # See ExtUtils::Liblist for details > # > EXTRALIBS = -L/usr/lib -lodbc > LDLOADLIBS = -L/usr/lib -lodbc > BSLOADLIBS = > LD_RUN_PATH = > > > # --- MakeMaker const_cccmd section: > > To: > # --- MakeMaker const_loadlibs section: > > # DBD::ODBC might depend on some other libraries: > # See ExtUtils::Liblist for details > # > EXTRALIBS = -L/usr/lib -liodbc -liodbcinst > LDLOADLIBS = -L/usr/lib -liodbc -liodbcinst > BSLOADLIBS = > LD_RUN_PATH = > > > # --- MakeMaker const_cccmd section: > > Thanks for all of the help. >
I'd be gratefull (and you'd be happier the next release ;) if you diagnose why Makefile.PL detects unixODBC. I think the script is looking for $ODBCHOME/*iodbc* or $ODBCHOME/lib/*iodbc*. Is there a reason that your machine doesn't detect that? Thanks, Jeff
