[MDEV-9881] INSTALL SONAME 'ha_connect' requires logical link libodbc.so.1 Created: 2016-04-06  Updated: 2016-05-09  Resolved: 2016-05-09

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Connect
Affects Version/s: 10.1.11
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Andy Ferretti Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: need_feedback
Environment:

RHEL



 Description   

When we run command: INSTALL SONAME 'ha_connect';
We get error:

ERROR 1126 (HY000): Can't open shared library '/opt/app/mysql/product/mariadb-10.0.20-linux-x86_64/lib/plugin/ha_connect.so' (errno: 2,      libodbc.so.1: cannot open shared object file: No such file or directory)

We fix this with the following:

$ cd /usr/lib64
$ ln -s libodbc.so.2.0.0 libodbc.so.1 

I have asked our SA to do this several times. The last time I did, he resisted, noting that MariaDB should be able to find the right libraries.
Can this be done:?



 Comments   
Comment by Elena Stepanova [ 2016-04-06 ]

How do you install MariaDB server and connect engine?

Comment by Andy Ferretti [ 2016-04-06 ]

We install using the tar ball into our own file structure /opt/app/mysql.
For the connect engine, all I have to do is run the command above:
INSTALL SONAME 'ha_connect';
It fails, the SA creates the logical link, then it works.

Comment by Elena Stepanova [ 2016-04-06 ]

Did you tell your SA that you are using a binary tarball?
If you want MariaDB pull dependencies for you, and be distribution-specific, you need to use RPMs installed by a package manager. If you are using the binary tarball, then a) it's generic and not suitable for every distribution, and b) cannot pull dependencies, it's just a packed set of files.

Comment by Elena Stepanova [ 2016-05-09 ]

Please comment to re-open if you have further information on the issue.

Generated at Thu Feb 08 07:38:01 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.