I found out a workaround, but don't know the proper fix.
If found (by using nm) that the symbol is missing from
libmysqlclient.so.6.0.0 but exists in libmysqlclient.so.9.0.0
Now, I don't know why odbc was using the older library, but by pointing
libmysqlclient.so.6 at the newer library (by ln -s) fixed the problem.
Best Regards,
Brian
"Brian S. Craigie" wrote:
>
> The original message was received at Mon, 2 Oct 2000 12:34:54 +0100
> >Description:
>
> root@grayling:/newhtdocs/SOURCES/libiodbc-2.50.3/samples [ 1293 ]>
> LD_LIBRARY_PATH=/usr/local/lib/mysql
> ./odbctest
> OpenLink ODBC Demonstration program
> This program shows an interactive SQL processor
>
> Enter ODBC connect string (? shows list): DSN=proxy_users
> [iODBC][Driver Manager]Specified driver could not be loaded,
> SQLSTATE=IM003
> [iODBC][Driver Manager]ld.so.1: ./odbctest: fatal: relocation error:
> file /newhtdocs/opt/coldfusion/lib/libmyodbc.so: symbol
> default_charset_info: referenced symbol not found, SQLSTATE=00000
>
> Have a nice day.
>
> >How-To-Repeat:
> as above
> >Fix:
> I don't know. Can you help me please?
>
> >Submitter-Id: <submitter ID>
> >Originator: Brian S. Craigie
> >Organization: NEC
>
> >MySQL support: none
> >Synopsis: odbc doesn't work - symbol referencing errors
> >Severity: non-critical
> >Priority: low
> >Category: mysql
> >Class: support
> >Release: mysql-3.23.24-beta (Source distribution)
> >Server: /usr/local/bin/mysqladmin Ver 8.8 Distrib 3.23.24-beta, for
> sun-solaris2.7 on sparc
> Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
> This software comes with ABSOLUTELY NO WARRANTY. This is free software,
> and you are welcome to modify and redistribute it under the GPL license
>
> Server version 3.22.27
> Protocol version 10
> Connection Localhost via UNIX socket
> UNIX socket /tmp/mysql.sock
> Uptime: 69 days 17 hours 31 min 52 sec
>
> Threads: 2 Questions: 26521 Slow queries: 0 Opens: 972 Flush tables:
> 1 Open tables: 61
> >Environment:
>
> System: SunOS grayling 5.7 Generic_106541-07 sun4m sparc
> SUNW,SPARCstation-5
> Architecture: sun4
>
> Some paths: /usr/bin/perl /usr/ccs/bin/make /usr/local/bin/gmake
> /usr/local/bin/gcc /usr/ucb/cc
> GCC: Reading specs from
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/specs
> gcc version 2.95.1 19990816 (release)
> Compilation info: CC='gcc' CFLAGS='' CXX='c++' CXXFLAGS=''
> LDFLAGS=''
> LIBC:
> -rw-r--r-- 1 bin bin 1694308 Jul 25 20:09 /lib/libc.a
> lrwxrwxrwx 1 root root 11 Oct 4 1999 /lib/libc.so ->
> ./libc.so.1
> -rwxr-xr-x 1 bin bin 1115940 Jul 25 20:09 /lib/libc.so.1
> -rw-r--r-- 1 bin bin 1694308 Jul 25 20:09 /usr/lib/libc.a
> lrwxrwxrwx 1 root root 11 Oct 4 1999 /usr/lib/libc.so
> -> ./libc.so.1
> -rwxr-xr-x 1 bin bin 1115940 Jul 25 20:09 /usr/lib/libc.so.1
> Configure command: ./configure --without-server
>
> --
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/documentation/manual.php" before
> posting. To request this thread, e-mail mysql-thread52161@stripped
>
> To unsubscribe, send a message to:
> <mysql-unsubscribe-local.mysql=necs.demon.co.uk@stripped>
>
> If you have a broken mail client that cannot send a message to
> the above address (Microsoft Outlook), you can use:
> http://lists.mysql.com/php/unsubscribe.php