Skip to Content.
Sympa Menu

freetds - Re: [freetds] Need help with setting up freetds-devel 0.82

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Thomas, Christopher (LLU)" <cwthomas AT llu.edu>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Need help with setting up freetds-devel 0.82
  • Date: Wed, 11 Mar 2009 11:13:18 -0700

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: freetds-bounces AT lists.ibiblio.org [mailto:freetds-
> bounces AT lists.ibiblio.org] On Behalf Of Mohit Vazirani
> Sent: Wednesday, March 11, 2009 4:10 AM
> To: freetds AT lists.ibiblio.org
> 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
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds




Archive powered by MHonArc 2.6.24.

Top of Page