libm.so.5, needed by /usr/lib/libstdc++.so, conflicts with libm.so.6

libm.so.5, needed by /usr/lib/libstdc++.so, conflicts with libm.so.6

Post by Geoff Rimme » Fri, 04 Apr 1997 04:00:00



I recently updated a few libraries, and seem to have missed something.
If I try to compile the following (foo.cc):

    int main() { return 0; }

using the following:

    gcc -o foo foo.cc -lm -lstdc++

(I know I don't need those libraries for this simple program, but it
demonstrates the point).

I get the following error:

    libm.so.5, needed by /usr/lib/libstdc++.so, conflicts with libm.so.6

Now, how do I fix this problem?  Is there a more up-to-date
libstdc++.so that uses libm.so.6 rather than libm.so.5 ?  The one I
downloaded was simply the binary version (no source that I could
compile).

I'd appreciate it if you could email me rather than just posting in
this newsgroup.  Thanks in advance.

Geoff
--

http://www.quango.demon.co.uk

 
 
 

1. libm.so.4.5.21 in /usr/lib ??

        I belive someone made this suggestion earier, but why don't we
have a LIBPATH variable or have it automaticaly check /lib then /usr/lib
then /usr/X386/lib? Would it break all programs in existance or be impossible
to implement?

--

"Angelheaded hipsters burning for the ancient heavenly connection to the
 starry dynamo in the machinery of night."  --"Howl" by Allen Ginsberg

2. Diamond Supra Express e 56k modem??

3. Help me with Server Side Includes

4. TCL, libs: libm.so.4 and libc.so.4

5. Disk Suite, Veritas Volume Manager, and a crashed boot disk

6. libm.so.6 needed with new xfree86

7. Mozilla joy at last

8. Need libm.so.1 Help for Solaris8

9. /usr/lib/libm.so: undefined reference to `__getfpucw'

10. /usr/lib/libm.so.1

11. Where to find libm.so.4.6.X ??

12. libm.so.1 ambiguity with SUNWspro