[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

libstdc++ version conflict



Hi,

I recently got a new machine and installed debian on it. Unfortunately I
got a radeon video card which uses version 8.41.7 of the fglrx driver. The
silly people at radeon compiled it such that it needs libstdc++5 and hence
linking with /usr/lib/libGL.so requires libstdc++5, however libGLU and
libGLUT e.t.c. require libstdc++6 and when I compile my own opengl
applications I get the following warning:

/usr/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/libGL.so , may
conflict with libstdc++.so.6

or I get the reverse warning if I use libstdc++5 to compile:

/usr/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/libGLU.so , may
conflict with libstdc++.so.5

The resulting executable sometimes works and sometimes does not and most
of the time it starts works until some point and then seg faults. Can
anyone sugges some way to work around this problem?

Basically I can download the mesa opengl library, but how can I tell it to
compile and link with libstdc++.so.5, and then how do I make my
compilation/linking use this version of the mesa library instead of the
system default?

Thanks for any help.

Kaloyan



Reply to: