From: Dmitry K. <dm...@ka...> - 2003-11-01 02:30:53
|
Hello team, could you advise? I'm compiling the library on SPARC Solaris 8 with gcc 3.3 and mysql 4.0.15 (64-bit build). These are my configuration options: ./configure CFLAGS=-m64 CXXFLAGS=-m64 --with-mysql='/usr/local' Compilation fails with the following error: ../../libtool: .: /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/../../../sparcv9/libstdc++.l a: cannot execute binary file libtool: link: cannot find name of link library for `/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/../../../sparcv9/libstdc++. la' make: *** [libdatetime.la] Error 1 Could you tell what's wrong? libstdc++.la exists at specified location. BTW note that I had to fix mysqlcppapi_internal.h by removing mysql/ prefix from #include <mysql/mysql.h> TIA, Dmitry |