in reply to Re^2: connecting to mssql on rhel7 with new mssql driver
in thread connecting to mssql on rhel7 with new mssql driver

/bin/sh: gcc: command not found

As marto++ and hippo++ have told you, your system lacks a C compiler. Unfortunately, this has become quite usual for binary Linux distributions. And most likely, your system not only lacks a C compiler, but perhaps also a lot of headers, libraries and so on. So, making your package manager install gcc is most likely not sufficient. Look up the documentation and FAQs for your distribution for something like "how to I compile a C program". Often, you will read that you should install some kind of "development meta package" that installs gcc and the other missing stuff.

Also note that DBD::mysql is said to be in a sad state ("DBD::mysql is dead right now"):

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Replies are listed 'Best First'.
Re^4: connecting to mssql on rhel7 with new mssql driver
by vcoderv2 (Novice) on Sep 28, 2017 at 20:10 UTC
    Looks like unixODBC-devel.x86_64 was already installed... :/
    rpm -ql unixODBC-devel.x86_64 /usr/include/autotest.h /usr/include/odbcinst.h /usr/include/odbcinstext.h /usr/include/sql.h /usr/include/sqlext.h /usr/include/sqltypes.h /usr/include/sqlucode.h /usr/include/unixodbc_conf.h /usr/include/unixodbc_conf_x86_64.h /usr/include/uodbc_extras.h /usr/include/uodbc_stats.h /usr/lib64/libesoobS.so /usr/lib64/libmimerS.so /usr/lib64/libnn.so /usr/lib64/libodbccr.so /usr/lib64/libodbcdrvcfg1S.so /usr/lib64/libodbcdrvcfg2S.so /usr/lib64/libodbcminiS.so /usr/lib64/libodbcnnS.so /usr/lib64/libodbctxtS.so /usr/lib64/liboplodbcS.so /usr/lib64/liboraodbcS.so /usr/lib64/libsapdbS.so /usr/lib64/libtdsS.so /usr/lib64/libtemplate.so
      Monks, please don't give up on me :) heeeelllppp!!! :)
        Monks, please don't give up on me

        Let me repeat:

        most likely, your system not only lacks a C compiler, but perhaps also a lot of headers, libraries and so on. So, making your package manager install gcc is most likely not sufficient. Look up the documentation and FAQs for your distribution for something like "how to I compile a C program". Often, you will read that you should install some kind of "development meta package" that installs gcc and the other missing stuff.

        :) heeeelllppp!!! :)

        Hire an expert.

        Alexander

        --
        Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)