Hi, Marko Riedel schrieb:
When I compile and run my test program, however, I get the following error message:
/usr/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found \ (required by /usr/local/lib/libginac-1.3.so.2)
Am I perhaps missing some environment variables or compiler switches here? I have the following files:
/usr/include/c++/3.3/cxxabi.h /usr/local/include/c++/4.0.2/i686-pc-linux-gnu/bits/cxxabi_tweaks.h /usr/local/include/c++/4.0.2/cxxabi.h
I compiled my program with the following command:
c++ -g complete41.cpp -o complete41 -I/usr/local/include -lcln -lginac
I would use c++ `ginac-config --cppflags --libs` -g -o complete41 complete41.cpp just to be sure to get the right flags. This ginac-config script gives you the right include and library paths. Did you un-install the Debian GiNaC package? If not, you may have linked against the "old" Debian libginac, because your command line is missing the -L flag. By the way, CLN is also C++ library and if you use the package from Debian you will have the same mixing problem as before. Compile CLN as well? And then you will need to compile libgmp with C++ interface enabled as well ... If you don't really need gcc 4.* it is probably easier to stick to the Debian default build chain. Regards, Jens