Re: [Cppcms-users] SIGABRT problem raised between SVN rev1474 and 1491
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2010-10-28 05:44:13
|
> I set up a clean Debian Lenny chroot, installed cppcms' dependencies and > built the test program again, it works without problems there. > So your guess seems to be right, I am probably linking to an old > libcppcms version, but the problem is, I don't know why. Do I have to > remove the old libcppcms.so before running make install to install the > new libcppcms? I have no other copy of this library in the chroot than > in /usr/lib, and this is overwritten on make install, at least that is > what cmake outputs. So there seems to be no possibility that my program > links against an old release of libcppcms accidentially. Are the header > files updated reliably, too? Or should I try and remove them from my > /usr/include? > Additionally, I seem to have this problem on the two of my build chroots > - - the one I use for ARM builds and the one I use for my 32bit x86 builds. > I will further investigate into this problem and try to clean my build > root and report back. > > Julian Several notes: 1. Make sure that you hadn't installed a thing in /usr/local/(include|lib) and you always install in same prefix. 2. Generally make install solves problem, but if you have issues, remove following: $PREFIX/bin/cppcms_* $PREFIX/lib/libcppcms* $PREFIX/lib/libbooster* $PREFIX/include/cppcms/ $PREFIX/include/booster/ Where $PREFIX is installation prefix that is /usr or /usr/local or any other location. Generally this is not required, but if you have problems, this is good thing to do. 3. Then build clean version of CppCMS (remove build directory and run full build) 4. Run make test and then make install 5. Fully rebuild your application - full clean and full build. Note: this is the way to uninstall things with generic CMake installation: http://www.cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F Regards, Artyom |