Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Installation freetds error

Discussion in 'EasyApache' started by Insidesign, May 9, 2017.

Tags:
  1. Insidesign

    Insidesign Member

    Joined:
    Nov 23, 2016
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brazil
    cPanel Access Level:
    DataCenter Provider
    Hello,



    I'm trying to install freetds following the tutorial Definitive FreeTDS installation instructions

    But when I run the
    ./configure --prefix=/usr/local/freetds --with-tdsver=8.0 --enable-msdblib --enable-dbmfix --with-gnu-ld; command the following error appears:

    "configure: error: cannot run C compiled programs."


    And config.log [Removed External URL]


    What can it be?


    thanks

    Anyone?


    config.log in attachment
     

    Attached Files:

    #1 Insidesign, May 9, 2017
    Last edited by a moderator: May 10, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Those instructions are from several years ago and no longer apply to systems running EasyApache 4. Instead, you'd simply run the following command:

    Code:
    yum install ea-freetds
    Thank you.
     
  3. Insidesign

    Insidesign Member

    Joined:
    Nov 23, 2016
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brazil
    cPanel Access Level:
    DataCenter Provider
    Thanks for the answer.


    I installed the package and it is not working yet. Follow the phpinfo link of our server that is not working and another server that is.

    [Removed Real URLs]

    Do I need to do anything else after installing the package?

    thanks
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you provide the output of what you see in the PHPINFO file regarding the installation of this package? Also, could you provide some more information about the type of script you are setting up?

    Thank you.
     
  5. Insidesign

    Insidesign Member

    Joined:
    Nov 23, 2016
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brazil
    cPanel Access Level:
    DataCenter Provider
    Hello,


    When I try to make the connection this is giving the error:

    SQLSTATE[01002] Adaptive Server connection failed (severity 9)
    Erro connection

    The phpinfo () of our server can be seen in:

    - Removed -

    The code that is connected:

    Code:
    function sr_conecta($serverName,$database,$uid,$pwd){
        $oRet = null;
        $dsn  = "dblib:host=$serverName;dbname=$database";
        try {
            $oRet = new PDO( "dblib:host=$serverName:1433;database=$database", $uid, $pwd);
            //$oRet = new PDO($dsn, $uid, $pwd);
            return $oRet;
        } catch( PDOException $e ) {
            echo $e->getMEssage();
            return $oRet;
        }
    }
    
    
    thanks
     
    #5 Insidesign, May 10, 2017
    Last edited by a moderator: May 10, 2017
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I recommend first verifying that FreeTDS is working properly via the command line. The following document should help you with this:

    http://www.freetds.org/userguide/confirminstall.htm

    Note that "tsql" is located at /opt/cpanel/freetds/bin/tsql and "freetds.conf" is located at /opt/cpanel/freetds/etc/freetds.conf.

    Thank you.
     
  7. Insidesign

    Insidesign Member

    Joined:
    Nov 23, 2016
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brazil
    cPanel Access Level:
    DataCenter Provider
    Hello,



    Now I'm trying to migrate EasyApache 3 to 4 to install freetds on another server of ours to verify if it works in this new one, however, when I do the migration this is giving error in several sites that uses the function mysql_connect and not encounter of easy apache to install. What could be happening?



    thanks
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know the specific error message you notice?

    Thank you.
     
  9. Insidesign

    Insidesign Member

    Joined:
    Nov 23, 2016
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brazil
    cPanel Access Level:
    DataCenter Provider
    Hello,


    There are several errors in the site, below it follows what appears in error_log:

    Code:
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/bcmath.so' - /usr/lib64/php5/modules/bcmath.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/bz2.so' - /usr/lib64/php5/modules/bz2.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/calendar.so' - /usr/lib64/php5/modules/calendar.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/ctype.so' - /usr/lib64/php5/modules/ctype.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/curl.so' - /usr/lib64/php5/modules/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/dom.so' - /usr/lib64/php5/modules/dom.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/exif.so' - /usr/lib64/php5/modules/exif.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/fileinfo.so' - /usr/lib64/php5/modules/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/ftp.so' - /usr/lib64/php5/modules/ftp.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/gd.so' - /usr/lib64/php5/modules/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/gettext.so' - /usr/lib64/php5/modules/gettext.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/iconv.so' - /usr/lib64/php5/modules/iconv.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/imap.so' - /usr/lib64/php5/modules/imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/intl.so' - /usr/lib64/php5/modules/intl.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/json.so' - /usr/lib64/php5/modules/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/mbstring.so' - /usr/lib64/php5/modules/mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/mcrypt.so' - /usr/lib64/php5/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/mysqlnd.so' - /usr/lib64/php5/modules/mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/mysqlnd_mysql.so' - /usr/lib64/php5/modules/mysqlnd_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/mysqlnd_mysqli.so' - /usr/lib64/php5/modules/mysqlnd_mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/pdo.so' - /usr/lib64/php5/modules/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/pdo_mysqlnd.so' - /usr/lib64/php5/modules/pdo_mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/pdo_sqlite.so' - /usr/lib64/php5/modules/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/phar.so' - /usr/lib64/php5/modules/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/posix.so' - /usr/lib64/php5/modules/posix.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/pspell.so' - /usr/lib64/php5/modules/pspell.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/simplexml.so' - /usr/lib64/php5/modules/simplexml.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/soap.so' - /usr/lib64/php5/modules/soap.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/sockets.so' - /usr/lib64/php5/modules/sockets.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/sqlite3.so' - /usr/lib64/php5/modules/sqlite3.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/tidy.so' - /usr/lib64/php5/modules/tidy.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/tokenizer.so' - /usr/lib64/php5/modules/tokenizer.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/xml.so' - /usr/lib64/php5/modules/xml.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/wddx.so' - /usr/lib64/php5/modules/wddx.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/xmlreader.so' - /usr/lib64/php5/modules/xmlreader.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/xmlrpc.so' - /usr/lib64/php5/modules/xmlrpc.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/xmlwriter.so' - /usr/lib64/php5/modules/xmlwriter.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/xsl.so' - /usr/lib64/php5/modules/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [11-May-2017 18:36:10 America/Sao_Paulo] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/modules/zip.so' - /usr/lib64/php5/modules/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0

    thanks
     
  10. Insidesign

    Insidesign Member

    Joined:
    Nov 23, 2016
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brazil
    cPanel Access Level:
    DataCenter Provider
    Hello,


    Does anyone know what may be happening?



    thanks
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page