[GiNaC-list] libstdc++5 vs 6

Marko Riedel mriedel at neuearbeit.de
Wed Sep 6 17:17:13 CEST 2006


Hi folks,

I installed the GiNaC Debian package on my machine. I now have

||/ Name           Version    Description
+++-==============-==========-==============
ii  libginac-dev   1.3.0-2    The GiNaC framework (development files)

I get the following warning when I link my test program:

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

The program segfaults in GiNaC::matrix::operator= (). How do I tell
the linker to link against libstdc++.so.5 only, thereby avoiding
conflicts?

This is my version of GCC:

gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure 
Thread model: posix
gcc version 4.0.2

Thanks!

-- 
+------------------------------------------------------------+
| Marko Riedel, EDV Neue Arbeit gGmbH, mriedel at neuearbeit.de |
| http://www.geocities.com/markoriedelde/index.html          |
+------------------------------------------------------------+


More information about the GiNaC-list mailing list