[ODBC-278] Can not install Connector/ODBC's Debian binary tarball on Debian Stretch/Buster and Ubuntu Eoan/Focal Created: 2020-04-14  Updated: 2020-06-30  Resolved: 2020-06-08

Status: Closed
Project: MariaDB Connector/ODBC
Component/s: General
Affects Version/s: 3.1.7
Fix Version/s: 3.1.9

Type: Bug Priority: Critical
Reporter: Timofey Turenko Assignee: Lawrin Novitsky
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to ODBC-153 Build rpm and deb packages for C/ODBC... Open

 Description   

I'm trying to follow the installation instructions here:

https://mariadb.com/kb/en/about-mariadb-connector-odbc/

1.) First, this command doesn't work on Debian-based systems:

sudo install lib64/libmaodbc.so /usr/lib64/ 

This command should actually be used on Debian-based distributions:

sudo install lib/libmaodbc.so /usr/lib/

This problem has been fixed.

2.) This link to C/ODBC 3.1.7 actually contains files for C/ODBC 3.1.6:

https://downloads.mariadb.org/connector-odbc/3.1.7/

This problem has been fixed.

3.) On Debian Stretch, I also receive the following error:

Error from ODBC 0 01000 [unixODBC][Driver Manager]Can't open lib '/usr/lib/libmaodbc.so' : file not fou"

To determine the root cause of the problem, let's check the library dependencies:

$ ldd /usr/lib/libmaodbc.so 
...
	libssl.so.1.0.0 => not found
	libcrypto.so.1.0.0 => not found
...

We can see that libssl.so.1.0.0 }} and {{libcrypto.so.1.0.0 were not found, but I can see that libssl.so.1.1 does exist.

This problem has NOT been fixed.

This problem affects at least these Debian-based operating systems, and possible others:

  • Debian 9 (Stretch)
  • Debian 10 (Buster)
  • Ubuntu 19.10 (Eoan Ermine)
  • Ubuntu 20.04 LTS (Focal Fossa)


 Comments   
Comment by Lawrin Novitsky [ 2020-04-14 ]

Quick answer on wrong links - Windows Installers link seems to be correct. And it leads to the directory with all files. Also, you can use download at mariadb.com (https://mariadb.com/downloads/#connectors) Not sure whom to ping about mariadb.org site

Comment by Julien Fritsch [ 2020-04-14 ]

It's now a "blocker" priority, since it is blocking MENT-705 which is also a blocker priority.

Comment by Julien Fritsch [ 2020-04-14 ]

ralf.gebhardt@mariadb.com FYI

Comment by Alexey Bychko (Inactive) [ 2020-04-15 ]

I think we should have "ready-for-test" packages.
Timofey should not build them from source or modify or write patches, his work is testing, provided packages are just not ready for test.
Windows platform is completely unrelated, we have (almost) no windows users, main platforms are Linux, so probably Linux is priority, not Windows

Comment by Ralf Gebhardt [ 2020-04-15 ]

tturenko, .org downloads are fixed

Comment by Geoff Montee (Inactive) [ 2020-05-04 ]

KennethDyer also reproduced this problem on Ubuntu 19.10 with Connector/ODBC's mariadb-connector-odbc-3.1.7-ga-debian-x86_64.tar.gz binary tarball package. He had to build Connector/ODBC from source to get it working.

Comment by Lawrin Novitsky [ 2020-06-08 ]

Similarly to C/C, the builders for all linuxes have been added. This is still gonna be tarballs only so far, but I think it's ok to close this issue for now. Also there is separate ticket for the rpm etc packages

Generated at Thu Feb 08 03:27:31 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.