Using the patch for the version number bug (1486869),
and running configure and make with default options,
i.e.,
./configure
make
the following compilation error appears in CentOS and
Fedora Core 3 (did not see the problem on Red Hat
7.3) :
make[2]: Leaving directory `/tmp2/libodbc++-
0.2.4pre3/src'
make[2]: Entering directory `/tmp2/libodbc++-
0.2.4pre3/src'
if /bin/sh ../libtool --mode=compile --tag=CXX g++ -
DHAVE_CONFIG_H -I. -I. -I.. -I../include -
I../include -DIN_ODBCXX -D_GNU_SOURCE -g -O2 -MT
threads.lo -MD -MP -MF ".deps/threads.Tpo" -c -o
threads.lo threads.cpp; \
then mv -
f ".deps/threads.Tpo" ".deps/threads.Plo"; else rm -
f ".deps/threads.Tpo"; exit 1; fi
libtool: unrecognized option `--tag=CXX'
Try `libtool --help' for more information.
make[2]: *** [threads.lo] Erreur 1
make[2]: Leaving directory `/tmp2/libodbc++-
0.2.4pre3/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/tmp2/libodbc++-
0.2.4pre3'
make: *** [all] Erreur 2
CentOS and Fedora Core 3 use libtool 1.5.6-4, and Red
Hat 7.3 uses libtool 1.4.2-7.
Logged In: NO
A workaround (or the correction?): replace the ltmain.sh
file that comes packaged with libobdc++ with the ltmain.sh
already installed on the system.