Bug 408681 - PostgreSQL ODBC driver does not work
Summary: PostgreSQL ODBC driver does not work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: postgresql-odbc
Version: 8
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Tom Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-03 14:35 UTC by Tom Hughes
Modified: 2013-07-03 03:15 UTC (History)
1 user (show)

Fixed In Version: 08.02.0500-1.fc8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-12-06 20:49:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to fix CONNLOCK macros (612 bytes, patch)
2007-12-03 14:38 UTC, Tom Hughes
no flags Details | Diff

Description Tom Hughes 2007-12-03 14:35:37 UTC
Description of problem:

The PostgreSQL ODBC driver does work as it contains symbols that cannot be
resolved so cannot be loaded.

Version-Release number of selected component (if applicable):

postgresql-odbc-08.02.0200-2.fc8.x86_64

How reproducible:

Every time.

Steps to Reproduce:
1. Define a PostgreSQL ODBC data source
2. Try and connect to it
  
Actual results:

Driver fails to load:

dellow [~] % isql usage     
isql: symbol lookup error: /usr/lib64/psqlodbc.so: undefined symbol: INIT_CONNLOCK

Expected results:

Driver loads.

Additional info:

Comment 1 Tom Hughes 2007-12-03 14:38:00 UTC
Created attachment 275711 [details]
Patch to fix CONNLOCK macros

The problem (which looks like it has come from upstream) is that some of the
CONNLOCK macros are not properly defined which not building in thread safe
mode. This patch fixes that.

The alternative fix is to build it in thread safe mode by configuring with
--enable-pthreads.

Comment 2 Tom Lane 2007-12-03 16:34:14 UTC
This is fixed in rawhide (08.02.0500) so I suppose back-porting that is the thing to do.


Comment 3 Fedora Update System 2007-12-06 20:46:28 UTC
postgresql-odbc-08.02.0500-1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2007-12-06 20:49:22 UTC
postgresql-odbc-08.02.0500-1.fc8 has been pushed to the Fedora 8 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.