Bug 1397869 - odbc plugin has unsatisfied link errors
Summary: odbc plugin has unsatisfied link errors
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mariadb-connector-odbc
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Schorm
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-23 13:42 UTC by Petr Menšík
Modified: 2017-09-30 06:20 UTC (History)
1 user (show)

Fixed In Version: mariadb-connector-odbc-3.0.1-2.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-30 06:20:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1381548 0 unspecified CLOSED Review Request: mariadb-connector-odbc 2021-02-22 00:41:40 UTC

Description Petr Menšík 2016-11-23 13:42:06 UTC
Description of problem:
Current odbc plugin uses symbols from headers of mariadb-connector-c-devel. C connector does limit exported symbols however. So it is impossible to use this plugin.

Version-Release number of selected component (if applicable):
2.0.12-1.fc26

How reproducible:
Always

Steps to Reproduce:
1. dnf install mariadb-connector-odbc
2. setup /etc/odbc.ini and /etc/odbcinst.ini to configure use Mariadb
3. try to use isql with configured database

Actual results:
[unixODBC][Driver Manager]Can't open lib '/usr/lib64/libmaodbc.so' : file not found
[ISQL]ERROR: Could not SQLDriverConnect
$ LANG=C ls -l /usr/lib64/libmaodbc.so 
-rwxr-xr-x. 1 root root 314552 Oct 19 16:57 /usr/lib64/libmaodbc.so

Expected results:
connected

Additional info:
Might be useful to add as contrib documentation how to setup unixODBC.

odbcinst.ini:
[mariadb]
Description=ODBC for mariadb
Driver=/usr/lib/libmaodbc.so
Setup=/usr/lib/libodbcmyS.so
Driver64=/usr/lib64/libmaodbc.so
Setup64=/usr/lib64/libodbcmyS.so

odbc.ini:
[mariadb-vhost]
Description=ODBC to mariadb at host
Driver=mariadb
Database=test
Server=localhost

use LD_DEBUG=symbols isql to display what is loading.

See discussion from review.

Comment 1 Fedora End Of Life 2017-02-28 10:39:38 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 2 Fedora Update System 2017-09-07 13:00:24 UTC
mariadb-connector-odbc-3.0.1-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-dc20706a67

Comment 3 Fedora Update System 2017-09-07 14:34:16 UTC
mariadb-connector-odbc-3.0.1-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-dc20706a67

Comment 4 Fedora Update System 2017-09-30 06:20:30 UTC
mariadb-connector-odbc-3.0.1-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.