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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

