Bug #7866 odbc.ini supplied references non-existing driver files
Submitted: 13 Jan 2005 9:49 Modified: 25 Oct 2005 14:35
Reporter: Anders Karlsson Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / ODBC Severity:S3 (Non-critical)
Version: OS:
Assigned to: Peter Harvey CPU Architecture:Any

[13 Jan 2005 9:49] Anders Karlsson
Description:
The supplied odbc.ini with MyODBC for HP-UX references libmyodbc3.so as the name of the driver file. This is not a file that is part of the distribution of MyODBC on HP-UX, and is not appropriate shared library naming on HP-UX.

How to repeat:
Trying to use the spplied odbc.ini file will fail, of course, saying that the file does not exist, which of course it doesn't.
[13 Jan 2005 11:58] Aleksey Kishkin
MyODBC distribution contains file INSTALL-BINARY with instructions how to install odbc driver. One of steps is: 

(cite)
Now, install the driver by copying the libmyodbc3* files to 
either '/usr/lib' or '/usr/local/lib' or any other desired path.

Make sure the link to 'libmyodbc3.so' points to right file. 
While copying if you get the duplicated library, them remove 
that and re-create the link as 

 cd /usr/local
 ln -s libmyodbc3-$version.so libmyodbc3.so
[13 Jan 2005 13:01] Anders Karlsson
.so is NOT the appropriate extension for a shared library on HP-UX, rather it's .sl. Any file called libmyodbc3-$version.so does not exist in the distributed HP-UX version of MyODBC.
[13 Jan 2005 13:38] Aleksey Kishkin
yes. So, some files (like INSTALL-BINARY) must be rectified.
[13 Jan 2005 13:47] Anders Karlsson
Yes, and above all, as noted previously, odbc.ini has a reference to an .so file in it, which should be changed, to make this a working sample configuration file.
[25 Oct 2005 14:35] Peter Harvey
This is moot as the install package has changed.