On Tue, Sep 18, 2012 at 12:03 AM, Paul Hui Sun <[email protected]>wrote:

> The list of output libraries are:
> /Users/Paul/sfw/libmesh/lib/x86_64-apple-darwin12.1.0_opt/libmesh.dylib
> (compatibility version 0.0.0, current version 0.0.0)
> /usr/local/gfortran/lib/libstdc++.6.dylib (compatibility version 7.0.0,
> current version 7.16.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
> 169.3.0)
> /usr/local/gfortran/lib/libgcc_s.1.dylib (compatibility version 1.0.0,
> current version 1.0.0)
>
> To make things simple, I haven't built libmesh with any other libraries. I
> simply run ./configure with --prefix=… and several environmental variables
>

What are the other environment variables you specify? It's very fishy that
it's linking against libstdc++ in the /usr/local/gfortran directory as
opposed to the one in /usr/lib (i.e. the one the installed g++ is
expecting). This jives with the message your seeing because Apple does
annoying things in their std library. See
http://newartisans.com/2009/10/a-c-gotcha-on-snow-leopard/ for an
interesting discussion.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to