Hi,

On Fri, Oct 26, 2001 at 09:06:56AM -0500, Mate Wierdl wrote:
> Which gcc did you install (what is the output of rpm -q gcc).  There are two
> gcc's coming with 7.2.

Ok, I have finally traced it and it is not due to compiler problems -
problem is with lyx SRPM and lyx-1.1.6.spec file.  After rebuilding
lyx in a couple of ways with both rpm and manually it turns out the
only difference is the line that I didn't notice at first (due to my
typo I thought the library was not present on my system and hence that
this was never used, I should've checked with ldd first, ah...):

------------------------
if [ -r /usr/lib/libstdc++-libc6.1-1.so.2 ]
then
        make CXX=gcc LYX_LIBS='-l/usr/lib/libstdc++-libc6.1-1.so.2 -lforms -lXpm'
else
        make
fi
------------------------

The library in question belongs to compat-libstc++-6.2-2.9.0.16 rpm
package which is almost always installed (well, netscape is one of
applications that depend on it). Hence, when lyx is rebuilt from rpm
it gets linked with this library and this alone breaks it.  Not really
surprising...  I just dropped the previous check from spec file,
rebuilt the package and everything is ok. 

Anyway, binary rpm packages available from lyx ftp site will run on
7.2 (except for the font problem!).

> BTWY, your mailer does not fold lines, so it is difficult to quote your
> message.

Sorry about that and thanks for cc-ing me (I am not on the list - too
many lists I already subscribe to...).

Josko

Reply via email to