[MDEV-6131] Unable to build Connector/ODBC 5.2.5 undefined reference to `my_charset_latin1' Created: 2014-04-17  Updated: 2014-05-06  Resolved: 2014-05-06

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.37, 10.0.10
Fix Version/s: 5.5.38, 10.0.11

Type: Bug Priority: Major
Reporter: Brian Evans Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: packaging


 Description   

With either 5.5.37 or 10.0.10 installed, I get the following trying to build Connector/ODBC 5.2.5 from Oracle.

This used to build previously but I haven't noticed when it stopped.

Linking C executable ../bin/myodbc-installer
../lib/libmyodbc3u.a(stringutil.c.o): In function `my_os_charset_to_mysql_charset':
stringutil.c:(.text+0xdb0): undefined reference to `my_charset_latin1'
collect2: error: ld returned 1 exit status
installer/CMakeFiles/myodbc-installer.dir/build.make:90: recipe for target 'bin/myodbc-installer' failed
make[2]: *** [bin/myodbc-installer] Error 1
CMakeFiles/Makefile2:228: recipe for target 'installer/CMakeFiles/myodbc-installer.dir/all' failed
make[1]: *** [installer/CMakeFiles/myodbc-installer.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....



 Comments   
Comment by Elena Stepanova [ 2014-04-20 ]

Same for all my_charset* symbols.

Comment by Sergei Golubchik [ 2014-04-29 ]

I wasn't able to repeat this. How exactly did you build?

Comment by Brian Evans [ 2014-04-29 ]

The stock MariaDB 5.5.37 installed, myodbc fails to build on Gentoo.
The MariaDB version in Gentoo has a trivial patch to expose my_charset_latin1 so we don't break user's builds.

Generated at Thu Feb 08 07:09:36 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.