Juergen Spitzmueller <[EMAIL PROTECTED]> writes: | Since my compiler (gcc-4.0.2) fails to build HEAD, I have grabbed gcc-4.1 and | installed in parallel. | | I tried to build 1.5 with it, and it seems to succeed. However, on startup, | LyX exits with the following message: | | *** glibc detected *** free(): invalid next size (fast): 0x0880c188 *** | | I have configured as follows: | | ./configure --with-frontend="qt xforms" --with-qt-dir=/usr/lib/qt3 | --with-version-suffix=-svn --enable-maintainer-mode --disable-stdlib-debug | CXX=/usr/bin/g++_41 CPP=/usr/bin/cpp_41 CC=/usr/bin/gcc_41 | LDFLAGS=-L/usr/lib/gcc/i586-suse-linux/4.1.0/
Have you set LD_LIBRARY_PATH? might be required to pick up the correct libstdc++. I usually change my path when compiling with different compilers. Also I never install in "paralell" I alway install additional compilers in /opt under their own subdir so that I have full control over all its files. to configure gcc build: ../configure --prefix=/opt/gcc41 --enable-languages=c,c++ --disable-checking to setup the runtime envir: #!/bin/bash export PATH=/opt/gcc41/bin:$PATH export LD_LIBRARY_PATH=/opt/gcc41/lib exec bash -i -- Lgb