Re: unixodbc: no ??
Brian Bruns <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <CAAATWxkzOUujk4EJzVC+6y6FiTahLyEZX4=G1XrSJNd83AAxHQ@mail.gmail.com> |
The packaging of unixODBC is very distribution specific. Some (like Gentoo) always install headers, some (like Redhat) separate the packages in to the main unixODBC and unixODBC-devel. Sorry, I don't know enough about SUSE to know what it does, from a quick google it looked like they had -devel packages. This has nothing to do with FreeTDS per se. Suffice it to say, if you have sql.h, sqlext.h and friends, then you should have all you need. You can't really bypass unixODBC for DBD::ODBC, well, technically you could but you are at that point muttering strange incantations and sacrificing many a chicken. You could alternately be using DBD::Sybase instead of DBD::ODBC, which bypasses ODBC altogether. Brian On Mon, Oct 10, 2011 at 5:05 PM, Perl_to_SQL_Server <[email protected]> wrote: > At the moment I've got loose ends with this 'unixODBC-devel' package because: > > - I can't find mention of it in the freeTDS documentation. If this is official > and definitely needed then it's got to be somewhere in the documentation? > Unless the '-devel' suffix belongs to standard Linux common knowledge and its > necessity assumed to be known? > > - I've found a resource where to obtain 'unixODBC-devel': > http://rpm.pbone.net/index.php3/stat/4/idpl/11368942/dir/opensuse/com/unixODBC- > devel-32bit-2.2.12-93.1.x86_64.rpm.html > but the 'Content of RPM:' doesn't list sql.h > > - there is otherwise another location to get unixODBC-devel: > http://sourceforge.net/projects/unixodbc/files/ > as linked to by http://www.unixodbc.org/download.html, but its last update is 6 > years ago (2005) so perhaps not right place to look at? > > - after having dowloaded a fresh standard unixODBC-2.3.0, I see that it has > sql.h under include/. The odbc_inst utility is responsive so I 'think' that the > installation of unixODBC-2.3.0 was successful despite a number of confest.c > errors in its config.log, but I'm not familiar enough with this. > > Can we bypass unixODBC altogether? I've read a number of times that it's > recommended but not essential. I had freeTDS tsql working without unixodbc, > perhaps I can hook it to DBD::ODBC directly? > > > _______________________________________________ > FreeTDS mailing list > [email protected] > http://lists.ibiblio.org/mailman/listinfo/freetds >