Debian Bug report logs - #313590
/usr/lib/odbc/psqlodbc.so: undefined symbol: ucs2_to_utf8

version graph

Package: odbc-postgresql; Maintainer for odbc-postgresql is Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>; Source for odbc-postgresql is src:psqlodbc (PTS, buildd, popcon).

Reported by: "Alexander V. Inyukhin" <shurick@sectorb.msk.ru>

Date: Tue, 14 Jun 2005 13:18:02 UTC

Severity: important

Found in version 1:08.00.0101-2

Fixed in versions psqlodbc/1:08.01.0005-1, psqlodbc/1:08.00.0102-1

Done: Peter Eisentraut <petere@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Peter Eisentraut <petere@debian.org>:
Bug#313590; Package odbc-postgresql. (full text, mbox, link).


Acknowledgement sent to "Alexander V. Inyukhin" <shurick@sectorb.msk.ru>:
New Bug report received and forwarded. Copy sent to Peter Eisentraut <petere@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Alexander V. Inyukhin" <shurick@sectorb.msk.ru>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /usr/lib/odbc/psqlodbc.so: undefined symbol: ucs2_to_utf8
Date: Tue, 14 Jun 2005 17:04:02 +0400
Package: odbc-postgresql
Version: 1:08.00.0101-2
Severity: important

Hi.
After upgrading system odbc-postgresql stops working.
Here is the iodbctest log:

$ iodbctest rli1000
iODBC Demonstration program
This program shows an interactive SQL processor
Driver Manager: 03.52.0205.0204
1: SQLDriverConnect = [iODBC][Driver Manager]/usr/lib/odbc/psqlodbc.so: undefined symbol: ucs2_to_utf8 (0) SQLSTATE=00000
2: SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003

I have found the same error with other distrubutions using google,
so I think this is a odbc-postgresql trouble.

odbc-postgresql version is 1:08.00.0101-2
postgresql version is 7.4.7-6sarge1


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.11-avi
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages odbc-postgresql depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  odbcinst1                   2.2.4-11     Support library and helper program

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Peter Eisentraut <petere@debian.org>:
Bug#313590; Package odbc-postgresql. (full text, mbox, link).


Acknowledgement sent to Peter Eisentraut <peter_e@gmx.net>:
Extra info received and forwarded to list. Copy sent to Peter Eisentraut <petere@debian.org>. (full text, mbox, link).


Message #10 received at 313590@bugs.debian.org (full text, mbox, reply):

From: Peter Eisentraut <peter_e@gmx.net>
To: "Alexander V. Inyukhin" <shurick@sectorb.msk.ru>, 313590@bugs.debian.org
Subject: Re: Bug#313590: /usr/lib/odbc/psqlodbc.so: undefined symbol: ucs2_to_utf8
Date: Mon, 1 Aug 2005 14:58:20 +0200
Am Dienstag, 14. Juni 2005 15:04 schrieb Alexander V. Inyukhin:
> $ iodbctest rli1000
> iODBC Demonstration program
> This program shows an interactive SQL processor
> Driver Manager: 03.52.0205.0204
> 1: SQLDriverConnect = [iODBC][Driver Manager]/usr/lib/odbc/psqlodbc.so:
> undefined symbol: ucs2_to_utf8 (0) SQLSTATE=00000 2: SQLDriverConnect =
> [iODBC][Driver Manager]Specified driver could not be loaded (0)
> SQLSTATE=IM003

I'm not sure under which circumstances it would call that function.  Do you 
use Unicode anywhere, either on the server or on the client?



Information forwarded to debian-bugs-dist@lists.debian.org, Peter Eisentraut <petere@debian.org>:
Bug#313590; Package odbc-postgresql. (full text, mbox, link).


Acknowledgement sent to "Alexander V. Inyukhin" <shurick@sectorb.msk.ru>:
Extra info received and forwarded to list. Copy sent to Peter Eisentraut <petere@debian.org>. (full text, mbox, link).


Message #15 received at 313590@bugs.debian.org (full text, mbox, reply):

From: "Alexander V. Inyukhin" <shurick@sectorb.msk.ru>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: 313590@bugs.debian.org
Subject: Re: Bug#313590: /usr/lib/odbc/psqlodbc.so: undefined symbol: ucs2_to_utf8
Date: Mon, 1 Aug 2005 19:25:38 +0400
On Mon, Aug 01, 2005 at 02:58:20PM +0200, Peter Eisentraut wrote:
> Am Dienstag, 14. Juni 2005 15:04 schrieb Alexander V. Inyukhin:
> > $ iodbctest rli1000
> > iODBC Demonstration program
> > This program shows an interactive SQL processor
> > Driver Manager: 03.52.0205.0204
> > 1: SQLDriverConnect = [iODBC][Driver Manager]/usr/lib/odbc/psqlodbc.so:
> > undefined symbol: ucs2_to_utf8 (0) SQLSTATE=00000 2: SQLDriverConnect =
> > [iODBC][Driver Manager]Specified driver could not be loaded (0)
> > SQLSTATE=IM003
> 
> I'm not sure under which circumstances it would call that function.  Do you 
> use Unicode anywhere, either on the server or on the client?

ltrace shows, that dlopen is called by iodbctest with RTLD_NOW flag,
so the driver fails to load if it contains unresolved symbols.
This behavior is independent from encodings or whatever.

I fix the package using the following link
http://gborg.postgresql.org/project/psqlodbc/bugs/bugupdate.php?1176

My applications are working now but iodbctest reports another message:
iodbctest rli1000
iODBC Demonstration program
This program shows an interactive SQL processor
Driver Manager: 03.52.0205.0204
1: SQLDriverConnect = Unknown connect option (Set) (205) SQLSTATE=HY009



Reply sent to Peter Eisentraut <petere@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to "Alexander V. Inyukhin" <shurick@sectorb.msk.ru>:
Bug acknowledged by developer. (full text, mbox, link).


Message #20 received at 313590-close@bugs.debian.org (full text, mbox, reply):

From: Peter Eisentraut <petere@debian.org>
To: 313590-close@bugs.debian.org
Subject: Bug#313590: fixed in psqlodbc 1:08.00.0102-1
Date: Wed, 03 Aug 2005 02:17:05 -0700
Source: psqlodbc
Source-Version: 1:08.00.0102-1

We believe that the bug you reported is fixed in the latest version of
psqlodbc, which is due to be installed in the Debian FTP archive:

odbc-postgresql_08.00.0102-1_i386.deb
  to pool/main/p/psqlodbc/odbc-postgresql_08.00.0102-1_i386.deb
psqlodbc_08.00.0102-1.diff.gz
  to pool/main/p/psqlodbc/psqlodbc_08.00.0102-1.diff.gz
psqlodbc_08.00.0102-1.dsc
  to pool/main/p/psqlodbc/psqlodbc_08.00.0102-1.dsc
psqlodbc_08.00.0102.orig.tar.gz
  to pool/main/p/psqlodbc/psqlodbc_08.00.0102.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 313590@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Eisentraut <petere@debian.org> (supplier of updated psqlodbc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed,  3 Aug 2005 10:11:28 +0200
Source: psqlodbc
Binary: odbc-postgresql
Architecture: source i386
Version: 1:08.00.0102-1
Distribution: unstable
Urgency: medium
Maintainer: Peter Eisentraut <petere@debian.org>
Changed-By: Peter Eisentraut <petere@debian.org>
Description: 
 odbc-postgresql - ODBC driver for PostgreSQL
Closes: 313590
Changes: 
 psqlodbc (1:08.00.0102-1) unstable; urgency=medium
 .
   * New upstream release (closes: #313590)
Files: 
 ecc304add84801d69e1b895b6bfef4d0 639 libs optional psqlodbc_08.00.0102-1.dsc
 6e6efea8563ad277e9e7ace7a905f75e 552992 libs optional psqlodbc_08.00.0102.orig.tar.gz
 fac8457d48bff6a9034130c1956f935a 4453 libs optional psqlodbc_08.00.0102-1.diff.gz
 3435f7120847249e1ac85db8e25d6885 153006 libs optional odbc-postgresql_08.00.0102-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC8IZPTTx8oVVPtMYRAhVdAJwIql3yeEwt7j2eBMUdPCZkKP7H5ACfadwf
iGzIwhIQGvX/ZnRH2LBLrFU=
=YN6n
-----END PGP SIGNATURE-----




Marked as fixed in versions psqlodbc/1:08.01.0005-1. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Fri, 01 Nov 2013 01:21:47 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 29 Nov 2013 07:48:58 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Nov 6 20:55:11 2017; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.