I found the .la file in /usr/local/lib and /usr/local/lib/i386. After removing the incorrect LD, the warning messages are gone. Thank you again for your info.
Xujun On Thu, Jul 30, 2015 at 9:27 AM, John Peterson <jwpeter...@gmail.com> wrote: > > > On Wed, Jul 29, 2015 at 6:00 PM, Xujun Zhao <xzha...@gmail.com> wrote: > >> I installed my GCC using brew install. >> Do you know where I can find this .la file? >> > > I don't know. Homebrew probably installed it in /usr/local, but I don't > recommend messing around with these files if you don't understand what > you're doing. > > >> I also used GCC to build PETSc, but it didn't have such warnings where I >> run a PETSc program. The libmesh was built with mpicc/mpicxx in the >> PETSC_ARCH directory, and it caused such warnings. >> > > That's probably because PETSc doesn't link against libstdc++.la > > -- > John > ------------------------------------------------------------------------------ _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users