[MDEV-5763] libmyodbc.so: undefined symbol: int2str Created: 2014-02-27 Updated: 2014-03-26 Resolved: 2014-03-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.36, 10.0.9 |
| Fix Version/s: | 5.5.37, 10.0.10 |
| Type: | Bug | Priority: | Major |
| Reporter: | Jorge Martínez López | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Environment: |
Ubuntu 12.04.4 LTS |
||
| Issue Links: |
|
||||||||
| Description |
|
Since I upgraded to 5.5.36 I can't use libmyodbc to connect to the database:
Could it be a regression introduced by |
| Comments |
| Comment by Sergei Golubchik [ 2014-02-27 ] | |||||||||||||
|
Not quite, it's a regression introduced by | |||||||||||||
| Comment by Jorge Martínez López [ 2014-02-27 ] | |||||||||||||
|
Fantastic job Sergei, thanks for your swift response. Is there a workaround while 5.5.37 goes out? | |||||||||||||
| Comment by Elena Stepanova [ 2014-02-27 ] | |||||||||||||
|
As a workaround, you can install libmysqlclient18 from 5.5.35 repository.
(if you prefer a different mirror, you can tweak the path in the similar fashion and see if the 5.5.35 repo is there, at least some mirrors have it).
Then you can remove 5.5.35 repo from the sources.list. | |||||||||||||
| Comment by Jorge Martínez López [ 2014-02-27 ] | |||||||||||||
|
Thanks Elena, I'm afraid that didn't work as downgrading libmysqlclient18 and libmariadbclient18 triggers the removal of mariadb-client and mariadb-server (and a few other packages). | |||||||||||||
| Comment by Elena Stepanova [ 2014-02-27 ] | |||||||||||||
|
Sorry, I didn't know you had the server on the same machine. Then you can just downgrade the whole set, whichever mariadb-5.5.36 packages you have, to 5.5.35, in the same way, and maybe pin the version to prevent automatic upgrades until 5.5.37 is released. Alternatively, I suppose you can just pull the 5.5.35 library, put it somewhere and upgrade the LD_LIBRARY_PATH for the client, will it work for you? | |||||||||||||
| Comment by Jorge Martínez López [ 2014-02-28 ] | |||||||||||||
|
Downgraded by running
Then I added a hold to the packages
libmyodbc works again:
Thanks Elena and Sergei! | |||||||||||||
| Comment by Steph Locke [ 2014-03-18 ] | |||||||||||||
|
I got this issue and was having trouble downgrading with the code provided by Jorge, turns out you have to also remove the var/lib/mysql files
|