Help with Connector/ODBC 3.51.29
Manh Do <[email protected]> Fri, 21 Oct 2011 14:59:41 -0700
| Newsgroups | gmane.comp.db.mysql.odbc |
|---|---|
| Message-ID | <3B4401D703ADD94B809D5F7A66FB92221677C2E37D@sv2exmb01.us.win.equinix.com> |
Hello All, I'm trying to run a make for the Connector/ODBC 3.51.29 and run into this linking error: # make /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ISO8859-15) Making all in util make[1]: Entering directory `/home/mdo/mysql-connector-odbc-3.51.29/util' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/mdo/mysql-connector-odbc-3.51.29/util' Making all in driver make[1]: Entering directory `/home/mdo/mysql-connector-odbc-3.51.29/driver' /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ISO8859-15) make all-am /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ISO8859-15) make[2]: Entering directory `/home/mdo/mysql-connector-odbc-3.51.29/driver' /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ISO8859-15) make[2]: Leaving directory `/home/mdo/mysql-connector-odbc-3.51.29/driver' make[1]: Leaving directory `/home/mdo/mysql-connector-odbc-3.51.29/driver' Making all in dsn-editor make[1]: Entering directory `/home/mdo/mysql-connector-odbc-3.51.29/dsn-editor' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/mdo/mysql-connector-odbc-3.51.29/dsn-editor' Making all in installer make[1]: Entering directory `/home/mdo/mysql-connector-odbc-3.51.29/installer' gcc -DHAVE_CONFIG_H -I. -I../driver -I/usr/local/include -O3 -DDBUG_OFF -I/usr/local/mysql/include -g -g -O2 -MT myodbc3i.o -MD -MP -MF .deps/myodbc3i.Tpo -c -o myodbc3i.o myodbc3i.c /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ISO8859-15) mv -f .deps/myodbc3i.Tpo .deps/myodbc3i.Po /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ISO8859-15) /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ISO8859-15) /bin/bash ../libtool --tag=CC --mode=link gcc -O3 -DDBUG_OFF -I/usr/local/mysql/include -g -g -O2 -o myodbc3i myodbc3i.o ../util/libmyodbc3u.la -ldl -ldl -L/usr/local/lib -lodbcinst /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ISO8859-15) /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ISO8859-15) libtool: link: gcc -O3 -DDBUG_OFF -I/usr/local/mysql/include -g -g -O2 -o myodbc3i myodbc3i.o ../util/.libs/libmyodbc3u.a -L/usr/local/lib /usr/local/lib/libodbcinst.so -ldl -lpthread -pthread make[1]: Leaving directory `/home/mdo/mysql-connector-odbc-3.51.29/installer' Making all in monitor make[1]: Entering directory `/home/mdo/mysql-connector-odbc-3.51.29/monitor' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/mdo/mysql-connector-odbc-3.51.29/monitor' Making all in test make[1]: Entering directory `/home/mdo/mysql-connector-odbc-3.51.29/test' gcc -DHAVE_CONFIG_H -I. -I../driver -I../test -I/usr/local/include -O3 -DDBUG_OFF -I/usr/local/mysql/include -g -g -O2 -MT my_basics.o -MD -MP -MF .deps/my_basics.Tpo -c -o my_basics.o my_basics.c /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ISO8859-15) my_basics.c: In function 't_bug31959': my_basics.c:575: warning: cast to pointer from integer of different size mv -f .deps/my_basics.Tpo .deps/my_basics.Po /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ISO8859-15) /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ISO8859-15) /bin/bash ../libtool --tag=CC --mode=link gcc -O3 -DDBUG_OFF -I/usr/local/mysql/include -g -g -O2 ../driver/libmyodbc3_r.la -o my_basics my_basics.o -ldl -L/usr/local/lib -lodbcinst /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ISO8859-15) /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ISO8859-15) *** Warning: Linking the executable my_basics against the loadable module *** libmyodbc3_r.so is not portable! libtool: link: gcc -O3 -DDBUG_OFF -I/usr/local/mysql/include -g -g -O2 -o .libs/my_basics my_basics.o ../driver/.libs/libmyodbc3_r.so -L/usr/local/lib -L/usr/local/mysql/lib -lmysqlclient_r -lm -lrt /usr/local/lib/libodbcinst.so -ldl -lpthread -pthread ../driver/.libs/libmyodbc3_r.so: undefined reference to `dynstr_append_mem' ../driver/.libs/libmyodbc3_r.so: undefined reference to `dynstr_append' ../driver/.libs/libmyodbc3_r.so: undefined reference to `dynstr_free' ../driver/.libs/libmyodbc3_r.so: undefined reference to `dynstr_realloc' ../driver/.libs/libmyodbc3_r.so: undefined reference to `strfill' ../driver/.libs/libmyodbc3_r.so: undefined reference to `init_dynamic_string' ../driver/.libs/libmyodbc3_r.so: undefined reference to `dynstr_append_os_quoted' collect2: ld returned 1 exit status make[1]: *** [my_basics] Error 1 make[1]: Leaving directory `/home/mdo/mysql-connector-odbc-3.51.29/test' make: *** [all-recursive] Error 1 I would really appreciate any help. Thanks, Manh