build error / unixodbc / debian-squeeze
Building unixodbc-2.2.14p2 on debian/squeeze which you just fetched
through apt-get source unixodbc
.
~/src/unixodbc-2.2.14p2$ ./configure
... works fine ...
~/src/unixodbc-2.2.14p2$ make
...
make[1]: Entering directory `/home/walter/src/unixodbc-2.2.14p2/odbcinst'
make[1]: *** No rule to make target `libltdl/libltdlc.la', needed by `libodbcinst.la'. Stop.
make[1]: Leaving directory `/home/walter/src/unixodbc-2.2.14p2/odbcinst'
make: *** [install-recursive] Error 1
The fix: add top_build_prefix to the environment.
~/src/unixodbc-2.2.14p2$ top_build_prefix=`pwd`/ make
...
success!