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

Nick Gorham nick at lurcher.org
Fri May 27 22:37:51 BST 2011

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).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20110527/4a3cc570/attachment.html>

More information about the unixODBC-support mailing list