Re: Need help with setting up freetds-devel 0.82
"Thomas, Christopher (LLU)" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <6B9B0CEF7F409D439E78288D8665BD8F341AED@oakmont.llu.ad.lluahsc.org> |
Hello, I'm guessing you built freetds using the make;make install way. This doesn't work to well if other programs are looking for freetds as a rpm package. This is a better way of doing it. Build the rpm packages yourself. Here are the instructions: 1) download freetds-stable.tgz 2) rename file to freetds-0.82.tar.gz 3) run the following command to build all the freetds rpms: rpmbuild -tb freetds-0.82.tar.gz The rpm build will create the following packages: /your_build_env_dir/RPMS/i386/freetds-0.82-1.i386.rpm /your_build_env_dir/RPMS/i386/freetds-devel-0.82-1.i386.rpm /your_build_env_dir/RPMS/i386/freetds-unixodbc-0.82-1.i386.rpm /your_build_env_dir/RPMS/i386/freetds-doc-0.82-1.i386.rpm /your_build_env_dir/RPMS/i386/freetds-debuginfo-0.82-1.i386.rpm Now you should have what you want. Chris > -----Original Message----- > From: [email protected] [mailto:freetds- > [email protected]] On Behalf Of Mohit Vazirani > Sent: Wednesday, March 11, 2009 4:10 AM > To: [email protected] > Subject: [freetds] Need help with setting up freetds-devel 0.82 > > > Hi, > > I'm using CentOS 5.2 and I'm trying to install freetds 0.82 and freetds- > devel 0.82. The version in the default repository is freetds 0.64. I am > able to successfully build the freetds-stable.tgz (0.82), however I wasn't > able to find a link to the freetds-devel source on the official site. I > have tried rpms for other distributions (fedora/opensuse etc), however it > always fails to install freetds-devel because it is unable to find > libtdsodbc.so.0. unixodbc is preinstalled on the machine. > > I cannot get around freetds-devel because it is one of the prerequisites > of pymssql. freetds 0.64 and freetds-devel 0.64 worked fine except that > they couldn't handle query timeouts when talking to SQL Server. > > Thanks in advance, > ~Mohit > > > > > _______________________________________________ > FreeTDS mailing list > [email protected] > http://lists.ibiblio.org/mailman/listinfo/freetds