ODBC driver can't find libodbcinst.so.1.0.0 because symbolic link is missing

Bug #1748508 reported by Chris Hamilton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unixodbc (Ubuntu)
Opinion
Undecided
Unassigned

Bug Description

Hello,

I noticed that my driver couldn't find certain symbols in libodbcinst.so.1.0.0 because it couldn't find it. The unixODBC-dev package as well as unixODBC package on fedora contain this symbolic link as libodbcinst.so . Can the package include a symbolic link libodbcinst.so that points to the current version of libodbcinst.so shared library (libodbcinst.so.1.0.0 currently)?

I'm currently using Ubuntu 12.04.2 LTS, the unixODBC package version is 2.2.14p2-5ubuntu3.

Regards,
Chris

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
while sometimes there are links from <name>.so to <name>.<version>.so for compat reasons that is no hard requirement IMHO.

You are right - it could be added - but anything built on Ubuntu should get the right linkage on the build.

So for example:
# ldd /usr/bin/odbcinst
        linux-vdso.so.1 => (0x00007fff0efee000)
        libodbcinst.so.1 => /usr/lib/x86_64-linux-gnu/libodbcinst.so.1 (0x00007fbcaeb1f000)

Especially with latter releases having multiple sover's I think not having a default link is even better:
# ll $(dpkg -L odbcinst1debian2 | grep libodbcinst)
lrwxrwxrwx 1 root root 16 Nov 7 07:12 /usr/lib/x86_64-linux-gnu/libodbcinst.so.1 -> libodbcinst.so.2
lrwxrwxrwx 1 root root 20 Nov 7 07:12 /usr/lib/x86_64-linux-gnu/libodbcinst.so.2 -> libodbcinst.so.2.0.0
-rw-r--r-- 1 root root 72032 Nov 7 07:12 /usr/lib/x86_64-linux-gnu/libodbcinst.so.2.0.0

Which "driver" are you referring to that isn't finding it?
We'd need to check why it isn't holding a working linkage info and resolve that IMHO.
incomplete until we know more about the driver to fix it.

Changed in unixodbc (Ubuntu):
status: New → Incomplete
Revision history for this message
Chris Hamilton (chrishamilton) wrote :

Hi Christian,

The drivers in question are the Simba ODBC drivers. These are not built on Ubuntu.

Regards,
Chris

Changed in unixodbc (Ubuntu):
status: Incomplete → Opinion
Revision history for this message
Chris Hamilton (chrishamilton) wrote :

Hi Christian,

We've found a work around you can close this.

Regards,
Chris

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.