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
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: libstdc+ +.6.0.9. dylib libstdc+ +.6.dylib libstdc+ +.dylib
/usr/lib/
/usr/lib/
/usr/lib/
which is why -lstdc++ works for me (it automatically looks in /usr/lib).
Thanks!
Patrick