[ODBC-112] Undefined symbol: max_allowed_packet when using dynamic linking Created: 2017-09-05 Updated: 2017-09-06 Resolved: 2017-09-06 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | None |
| Affects Version/s: | 3.0.1 |
| Fix Version/s: | 3.0.2 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Augusto Caringi | Assignee: | Lawrin Novitsky |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Environment: |
Linux/Fedora x86_64 |
||
| Description |
|
Hello, We are working to pack c/odbc 3.0 in Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=1381548)... As "c/c 3.0 can be dynamically linked against c/odbc 3.0" ( /usr/lib64/libmaodbc.so: error: symbol lookup error: undefined symbol: max_allowed_packet (fatal) Can you look into that please? Thanks! |
| Comments |
| Comment by Lawrin Novitsky [ 2017-09-05 ] |
|
This is strange. I remember I removed reference to max_allowed_packet from c/odbc, and I cannot find string "max_allowed_packet" throughout the source besides one commented out line. |
| Comment by Augusto Caringi [ 2017-09-06 ] |
|
The tgz file that I downloaded from here: https://downloads.mariadb.org/connector-odbc/3.0.1/ has a reference to max_allowed_packet at line 1332... $ grep -rni max_allowed And I can see that this symbols is undefined in the shared library: $ objdump -T /usr/lib64/libmaodbc.so|grep max |
| Comment by Michal Schorm [ 2017-09-06 ] |
|
Hi Lawrin, In that case, If you can provide us links to latest CONC/C and CONC/ODBC on GitHub that should have this solved, we can re-build our packages and try it again with them. |
| Comment by Lawrin Novitsky [ 2017-09-06 ] |
|
Closed bugs have "Fixed version", and it's 3.0.2. That version is not released yet C/ODBC and C/C branches: |