FreeTDS not installed for Azure App Services on Linux RRS feed

  • Question

  • I am trying to deploy my Ruby web app using App Services on Linux.

    Using Ruby 2.5 runtime stack and tiny_tds gem, I am getting this error on deployment:

    remote: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
    remote:     current directory: /tmp/bundle/gems/tiny_tds-2.1.2/ext/tiny_tds
    remote: /usr/local/.rbenv/versions/2.5.5/bin/ruby -r ./siteconf20200213-2506-1no9ahv.rb
    remote: extconf.rb
    remote: checking for sybfront.h... no
    remote: checking for sybdb.h... no
    remote: checking for tdsdbopen() in -lsybdb... no
    remote: checking for dbanydatecrack() in -lsybdb... no
    remote: Failed! Do you have FreeTDS 0.95.80 or higher installed?
    remote: *** extconf.rb failed ***
    remote: Could not create Makefile due to some reason, probably lack of necessary
    remote: libraries and/or headers.  Check the mkmf.log file for more details.  You may
    remote: need configuration options.

    It seems like FreeTDS is not correctly installed on the Linux image.

    Friday, February 14, 2020 12:42 AM

All replies