odbc_config missing

Bug #551701 reported by Enver Haase
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
eiffelstudio (Ubuntu)
New
Undecided
Unassigned
unixodbc (Debian)
Fix Released
Unknown
unixodbc (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: unixodbc

The script "odbc_config" is missing in "/usr/bin".

This is especially annoying as MonetDB is not yet in Ubuntu, but you have
to build it yourself.

If you do, then obdc_config is not found. MonetDB will finish building, but
the resulting MonetDB system always fails with a message saying that the
client did not specify a database.

Also see -- seems the problem was not addressed back then?
http://ubuntuforums.org/showthread.php?t=499123

Kind Regards,
Enver

Mathias Gug (mathiaz)
Changed in unixodbc (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Changed in unixodbc (Debian):
status: Unknown → New
Revision history for this message
Breno Leitão (breno-leitao) wrote :

I just tried with a patch as simple as the following and it worked fine:

--- debian/unixodbc-dev.install.old 2015-08-26 14:30:49.871058695 -0400
+++ debian/unixodbc-dev.install 2015-08-26 14:31:13.927645420 -0400
@@ -5,3 +5,4 @@ usr/lib/*/libodbc.a
 usr/lib/*/libodbccr.a
 usr/lib/*/libodbcinst.a
 usr/include/*
+usr/bin/odbc_config

Changed in unixodbc (Debian):
status: New → Fix Committed
Changed in unixodbc (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Debian fixed this by installing the pkg-config files:
 unixodbc (2.3.6-0.1) unstable; urgency=medium
    - Install pkg-config files (Closes: #422207).

We should do a merge in cosmic, and check if that can be backported to older ubuntu releases.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Confirmed by running MonetDB's ./configure that unixodbc 2.3.6-0.1 or later (in cosmic and later) is fine:
...
checking odbcinst.h usability... yes
checking odbcinst.h presence... yes
checking for odbcinst.h... yes
checking for SQLGetPrivateProfileString in -lodbcinst... yes
checking for SQLGetDiagRec in -lodbc... yes
checking checking whether SQLColAttribute uses SQLLEN * or SQLPOINTER... using "SQLLEN *"
checking size of SQLWCHAR... 2
...
ubuntu@cosmic-unixodbc:~/MonetDB-11.31.11$ apt-cache policy unixodbc-dev
unixodbc-dev:
  Installed: 2.3.6-0.1
  Candidate: 2.3.6-0.1
  Version table:
 *** 2.3.6-0.1 500
        500 http://br.archive.ubuntu.com/ubuntu cosmic/main amd64 Packages

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

FYI 2.3.6-0.1build1 is in Disco and later, so the status is now fix released.

Changed in unixodbc (Ubuntu):
status: Triaged → Fix Released
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.