> > > /bin/bash ../libtool --tag=CXX --mode=link g++ -I../../dbinterface > > > -DUNICODE -DUNIXODBC -I`odbc_config --cflags` -g -O0 -L../dbinterface > > > -ldbinterface `odbc_config --libs` -lodbcinst -o libodbc_lib.la > > > -rpath /usr/local/lib libodbc_lib_la-database_odbc.lo > > > /bin/bash: line 1: odbc_config: command not found > > > /bin/bash: line 1: odbc_config: command not found > > > > You're missing -lodbc here. Presumably that should have come from > > your backtick command, which obviously failed, because it's not the > > correct command substitution for this platform. > > Do you mean to say that the backticks are not supported on Debian?
No. I'm saying that the command odbc_config --libs is not supported on Debian. Apparently Debian uses a different command (pkg-config) for this purpose. > Or that there is no odbc_config installed when it should? What does "should" mean? You seriously need to find the mailing list, web forum, IRC channel, Discord server, or WHATEVER it is, where this libodbc thing is supported. Ask them how it's supposed to be done. I've given you my best guesses and workarounds. If the MAINTAINERS OF LIBODBC ITSELF say that odbc_config is supposed to be installed and present, then it's a bug in Debian and you can pursue that theough the Bug Tracking System. This is the end user mailing list. Here, you get our best guesses. But hey, would you like another workaround? OK. Go install a shell script named odbc_config in /usr/local/bin and have it print the values you need it to print. I bet the thing on Gentoo is a shell script. Just don't have it print the values that Gentoo's script prints. Have it print the correct values for Debian. They are not the same.