On Feb 27, 2016, at 5:42 AM, Emmanuel Thomé <emmanuel.th...@gmail.com> wrote: > > Specifically, I have /usr/lib/libosmcomp.la. If I delete that file, > then no -L/usr/lib shows up in the relink command for libmpi; libtool > just emits -losmcomp alone, which is fine. Then the subsequent > -lopen-rte finds the one installed for the library being build, not > the /usr one.
Does /usr/lib/libosmcomp.la contain the -L/usr/lib flag, or rpath it? If so, then Open MPI has no way of knowing that a given dependent library's .la file is faulty (i.e., inserting -L / etc. flags that point to linker-default locations). The real fix would be to fix /usr/lib/libosmcomp.la. -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/