[unixODBC-support] Can I have 2 driver manager running at the same time?

Eugenia Moreno eugemz at hotmail.com
Mon May 30 23:22:33 BST 2011

Hi Nick, 

Thanks for all your help. 

I was able to install both Driver Manger, one compiled with SQLLEN and the other default. Just to be sure that they are connecting to the right driver manager, I
have separated odbc.ini and odbcinst.ini, that will not be a problem. 

The DSNs are working fine, if I use the isql of each installation (going to folder bin directory), it connects OK.

However, I still do not know how to tell the application to use any of the driver manager. I just need this to work, I though perl because I know it better, but it could be Python or other language. You mention to set the the search path library, do you mean the to LD_Library_path? I try that but it didn't work. I am new in Linux, so I am lost too.. 

Thanks in advance.. Eugenia

Date: Fri, 27 May 2011 22:37:51 +0100
From: nick at lurcher.org
To: unixodbc-support at mailman.unixodbc.org
Subject: Re: [unixODBC-support] Can I have 2 driver manager running at the same time?


    On 27/05/2011 21:30, Eugenia Moreno wrote:
      I am just planning to do a perl scrip that needs to connect to
      Vertica using the driver compiled with the
      BUILD_LEGACY_64_BIT_MODE option.


      There are other applications that already connect to the unix_odbc
      2.2.14 with 8 bytes so I am not sure if I compile the new lib in
      other folder how I will tell my perl script to choose the correct
      driver manager. Having two sets of libs in the system, means also
      have 2 sets of ODBC.ini and ODBCinst.ini? 


    You can use the same ini files if you have seperate entries for the
    two drivers. A bigger problem is that Perl (assuming you are using
    DBD::ODBC) needs to know the size of SQLLEN (32 or 64 bit).





unixODBC-support mailing list
unixODBC-support at mailman.unixodbc.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20110530/3fb11803/attachment.html>

More information about the unixODBC-support mailing list