Yes, what I meant is that when running: /usr/local/bin/gfortran -o conftest conftest.f
outside of configure it does work. I don't think I have DYLD_LIBRARY_PATH set, but I will check when I get back to my home computer. On Mon, Dec 2, 2013 at 3:47 PM, Jeff Squyres (jsquyres) <jsquy...@cisco.com>wrote: > On Dec 2, 2013, at 3:00 PM, Raiden Hasegawa <raiden.haseg...@gmail.com> > wrote: > > > Thanks, Jeff. The compiler does in fact work when running the > troublesome line in ./configure. > > Errr... I'm not sure how to parse that. The config.log you cited shows > that the compiler does *not* work in configure: > > ----- > configure:29606: checking if Fortran compiler works > configure:29635: /usr/local/bin/gfortran -o conftest conftest.f >&5 > Undefined symbols for architecture x86_64: > "__gfortran_set_options", referenced from: > _main in cccSAmNO.o > ld: symbol(s) not found for architecture x86_64 > collect2: error: ld returned 1 exit status > configure:29635: $? = 1 > configure: program exited with status 1 > configure: failed program was: > | program main > | > | end > configure:29651: result: no > configure:29665: error: Could not run a simple Fortran program. Aborting. > ----- > > Did you typo and mean that the compiler does work when outside of > configure, and fails when it is inside configure? > > > I haven't set either FC, FCFLAGS nor do I have LD_LIBRARY_PATH set in my > .bashrc. Do you have any thoughts on what environmental variable may trip > this up? > > Do you have DYLD_LIBRARY_PATH set? > > -- > Jeff Squyres > jsquy...@cisco.com > For corporate legal information go to: > http://www.cisco.com/web/about/doing_business/legal/cri/ > > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users >