app-office/mdbtools-0.7.1-r2 does not link in src/odbc subdirectory because of hardcoded /lib directory name in configure.ac thus trying to link 64 bits binaries against 32 bits shared libraries.
I made a patch that fixes this issue, it may not be the best one but...
Steps to Reproduce:
1. Switch to 17.1 profile (then /usr/lib contains 32 bits libraries)
2. Try to merge app-office/mdbtools-0.7.1-r2 with [odbc] USE flag set
link failure in src/odbc subdirectory when attempting to link libmdbodbc.so and libmdbodbcW.so with errors looking like:
./../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libodbcinst.so: error adding symbols: file in wrong format
link against libraries from /usr/lib64 instead of /usr/lib
Created attachment 592590 [details]
Created attachment 592592 [details]
Created attachment 592594 [details, diff]
Ebuild patch proposal
This patch may not be the perfect one but it fixes the problem, at least on my machine(s)