Comment 2 for bug 1147010

Revision history for this message
Patrick Farrell (pefarrell) wrote :

I don't blame you for not wanting to recompile PETSc! However, I *think* the only thing you have to do is to add

--with-c-support

to your configure line.

Anyway, on to your bug. Could you please paste the output of:

find /usr -name 'libstdc++*'

?

On my machine it gives:
/usr/lib/libstdc++.6.0.9.dylib
/usr/lib/libstdc++.6.dylib
/usr/lib/libstdc++.dylib

which is why -lstdc++ works for me (it automatically looks in /usr/lib).

Thanks!

Patrick