You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got tiny_tds to install just fine on OS X where I do my development, but the server I'm running is sporting Debian 5. FreeTDS has been compiled manually in /usr/local (which is exactly what I've done in OS X), however when I try to install tiny_tds I get the following error on Deb:
$ sudo gem install tiny_tds
Building native extensions. This could take a while...
ERROR: Error installing tiny_tds:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
looking for library directory /usr/local/lib ... yes
checking for main() in -liconv... no
looking for library directory /usr/local/lib/freetds ... no
looking for library directory /usr/lib ... yes
checking for main() in -liconv... no
-----
Can not find FreeTDS's db-lib or include directory.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby
--with-iconv-dir
--without-iconv-dir
--with-iconv-include
--without-iconv-include=${iconv-dir}/include
--with-iconv-lib
--without-iconv-lib=${iconv-dir}/lib
--with-freetds-dir
--without-freetds-dir
--with-freetds-include
--without-freetds-include=${freetds-dir}/include
--with-freetds-lib
--without-freetds-lib=${freetds-dir}/lib
--with-iconvlib
--without-iconvlib
--with-iconvlib
--without-iconvlib
looking for library directory /usr/lib/freetds ... no
looking for library directory /usr/X11R6/lib ... no
looking for library directory /usr/X11R6/lib/freetds ... no
I'm baffled as to why it can't find it when it explicitly says looking for library directory /usr/local/lib ... yes. Is this somehow related to the iconv errors in the other issue? checking for main() in -liconv... no
The text was updated successfully, but these errors were encountered:
Okay! I thought that might be the case but my error message didn't look exactly the same. Sorry to keep being such a bother! I'm entirely too excited about being able to ditch ODBC and appreciate your time and effort.
I got tiny_tds to install just fine on OS X where I do my development, but the server I'm running is sporting Debian 5. FreeTDS has been compiled manually in /usr/local (which is exactly what I've done in OS X), however when I try to install tiny_tds I get the following error on Deb:
I'm baffled as to why it can't find it when it explicitly says
looking for library directory /usr/local/lib ... yes
. Is this somehow related to the iconv errors in the other issue?checking for main() in -liconv... no
The text was updated successfully, but these errors were encountered: