Freetds Error Sql.h Not Found
Contents |
freetds ! org [Download fatal error: 'sql.h' file not found message RAW] Nicholas Parry wrote: > > configure: error: sql.h not found >
Unixodbc-dev
> I've looked on a few forums, and I have unixodbc-devel and unixodbc > installed, and the sql.h file is in my /usr/include dir. > > This
Unixodbc-devel
is my configure parameter: > > ./configure --with-unixodbc=/usr/include You want: ./configure --with-unixodbc=/usr You're telling configure that unixODBC is installed in /usr, with the header files in /usr/include and the libraries in /usr/lib. You might not need the option at all. I would hope configure would find it automatically. HTH. --jkl _______________________________________________ FreeTDS mailing list FreeTDS@lists.ibiblio.org http://lists.ibiblio.org/mailman/listinfo/freetds [prev in list] [next in list] [prev in thread] [next in thread] Configure | About | News | Addalist | SponsoredbyKoreLogic
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of fatal error: sql.h: no such file or directory this site About Us Learn more about Stack Overflow the company Business Learn
Unixodbc Mac
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question install freetds x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up http://marc.info/?l=freetds&m=121803415928201 sql.h header file missing though unixODBC is installed up vote 7 down vote favorite 3 I am on an up-to-date Ubuntu 12.04 system. I have unixodbc (v2.2.14 from ubuntu repos), MySQL and its relevant drivers installed. Also connected to a valid DSN. Verified by issuing isql DBName UName passwd. I am trying to compile a C application that interacts with the database using ODBC. http://stackoverflow.com/questions/15447386/sql-h-header-file-missing-though-unixodbc-is-installed Almost everywhere I searched seemed to indicate that I should have "sql.h" installed somewhere. A find / -iname sql.h -print showed I don't have it. So my question is: where is it? Did something go wrong with the install (no errors were reported though)? And what steps do you recommend? Reinstallation? Compilation from source code (the latest version?)? c ubuntu odbc header-files unixodbc share|improve this question edited May 10 at 11:36 luchaninov 2,47232558 asked Mar 16 '13 at 8:52 Richard 172116 add a comment| 1 Answer 1 active oldest votes up vote 11 down vote accepted You need to install the unixodbc-dev package to get the development header files. sudo apt-get install unixodbc-dev The -dev packages contain the require header files required to compile and build programs using these headers to make calls to the library. The library files themselves would be part of the regular package i.e. unixodbc in your case. If you want to know which package provides a certain file, you could use apt-file: sudo apt-file update sudo apt-file find sql.h share|improve this answer answered Mar 16 '13 at 8:57 Tuxdude 16.8k75872 Thanks
IP PBX Asterisk Based PBX Hosted PBX Virtual PBX VOIP Billing PBX Phone System SBCs / Softswitch VOIP Hardware VOIP Fax Residential VOIP Residential Voip Providers Internet http://www.voip-info.org/wiki/index.php?page_id=1279&comments_page=1 Phone SIP Sip Providers About Sip SIP Trunking Call Center Software Automatic Call http://mailman.unixodbc.org/pipermail/unixodbc-support/2009-April/002150.html Distributor IVR Predictive Dialer Wholesale VOIP Call Termination Call Origination Bulk SMS Forums List Forums Asterisk FreeSWITCH GrandStream Polycom Phones VOIP Questions and Help Hardware For Sale Minutes For Sale or Wanted Zycoo Tech Menu login| register Home Main Page Quick Links Main Page Asterisk VOIP PBX and Servers Open Source not found VOIP Software VOIP Service Providers VOIP Phones What is VOIP? VOIP Event Calendar PBX Internet Speed Test About Voip-info.org Business VOIP Business Voip Providers IP PBX Asterisk Based PBX Hosted PBX Virtual PBX VOIP Billing PBX Phone System SBCs / Softswitch VOIP Hardware VOIP Fax Residential VOIP Residential Voip Providers Internet Phone SIP Sip Providers About Sip SIP Trunking Call Center Software Automatic Call sql.h not found Distributor IVR Predictive Dialer Wholesale VOIP Call Termination Call Origination Bulk SMS Forums List Forums Asterisk FreeSWITCH GrandStream Polycom Phones VOIP Questions and Help Hardware For Sale Minutes For Sale or Wanted Zycoo Tech View Discussion (2) History FreeTDSTap here to compare the top VoIP providersTap here to hide the top VoIP Providers Business VoIP Residential VoIP Last modif pagesvoip-info.orgVoice2Phone Outbound Call APIWaxyayKamailio ConsultantsVOIP Event CalendarSmall Business VoIPSIP Trunk Providers NetherlandsComNet TelecomBULK SMSAstChannelsLiveShow More… VoIP Speed Test Get HelpAsk a questionANSWER CALL FROM CLI CONSOLEby giezireyes Wed 12 of Oct, 2016help configure QOSby keivan Thu 22 of Sep, 2016Cisco 7911by mutimafc Thu 15 of Sep, 2016View More... What is FreeTDS?Definition From the FreeTDS web page:FreeTDS is a set of libraries for Unix and Linux that allows your programs to natively talk to Microsoft SQL Server and Sybase databases.Technically speaking, FreeTDS is an open source implementation of the TDS (Tabular DataStream) protocol used by these databases for their own clients. It supports many different flavors of the protocol and supports several APIs to access it. Additionally FreeTDS works with other software such as Perl and PHP, providing access from those langua
0.82 and unixODBC 2.2.14 on shared linux host Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] I am attempting to get freetds and unixodbc to play nice in a shared hosting environment. I've been through just about everything I can find and it appears that everyone but me is not using a --prefix on the configure command to put it in a "non-standard" directory. Based on the instructions I've found, I need to install unixodbc-2.2.14 first. So, I: ./configure --prefix=$HOME/local/unixodbc --enable-gui=no This configures and then makes and installs without excitement. Then I attempt to install freetds-0.82: ./configure --prefix=$HOME/local/freetds --with-unixodbc=$HOME/local/unixodbc --with-tdsver=8.0 And no matter how much I try to change things up - I still get a configure: error: sql.h not found. I've attempted adding /include to the --with-unixodbc clause, and removing unixodbc (as some instructions omit) Is there a conflict between these versions? (The only sql.h I can find are in $HOME/local/unixodbc/include so I think I'm doing the right thing) I can successfully install freetds and connect to my server with tsql, but without the unixodbc option I don't believe I will have an ODBC driver for unixODBC. I'd appreciate any help anyone has. Thanks! Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: