Bug 103280 - unixODBC doesn't work with PostgreSQL
Summary: unixODBC doesn't work with PostgreSQL
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux Beta
Classification: Retired
Component: unixODBC
Version: beta1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Fernando Nasser
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-08-28 15:05 UTC by Chris Ricker
Modified: 2007-04-18 16:57 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-10-15 22:48:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Chris Ricker 2003-08-28 15:05:14 UTC
Out of the box, unixODBC doesn't work with PostgreSQL

/etc/odbcinst.ini has

[PostgreSQL]
Description     = ODBC for PostgreSQL
Driver      = /usr/lib/libodbcpsql.so
Setup       = /usr/lib/libodbcpsqlS.so
FileUsage       = 1

However, /usr/lib/libodbcpsql.so (symlink to .so.2) only exists if
unixODBC-devel is installed

Either unixODBC needs to require unixODBC-devel (which would be very lame) or
the symlink needs to be moved from the unixODBC-devel package to the unixODBC
package

Comment 1 Bill Nottingham 2003-08-28 19:18:01 UTC
Or, the INI file edited to mention the actual file name?

Comment 2 Chris Ricker 2003-08-28 19:28:28 UTC
That would work (and is what I've done), but most documentation (and the
ODBCConfig program, which would also have to be updated) do it without the .1 / .2

Comment 3 Chris Ricker 2003-10-15 22:48:26 UTC
This looks fixed by today's rawhide -- now /usr/lib/libodbcpsql.so is in
unixODBC instead of unixODBC-devel

thanks!


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