Having trouble with the MariaDB ODBC driver.

I have installed the unixODBC driver manager & downloaded the MariaDB ODBC driver from mariadb.org https://downloads.mariadb.org/connector-odbc/

Problem: they don't have a specific build for suse or even opensue. So I'm using the rhel 7 version they have. Also download the source but I don't know how to properly compile it using cmake. In any case I have added the 32 and 64 bit libraries to the 2 locations /usr/local/lib(64). Configured the odbc.ini & odbcinst.ini in /etc/unixODBC they seem to be recognized the entries but when I run the isql to the DNS entry what it states is that it can't find the file libmaodbc.so. I checked the permissions and everyone can read it so I don't know what is wrong.

Tried both 32 & 64 bit files by changing the odbc.ini to use the particular file and both produce the same results.

any ideas ?