Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] libtool *.la files with references to install dir
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2013-05-06 21:29:50

On May 3, 2013, at 10:19 AM, Stefan Friedel <stefan.friedel_at_[hidden]> wrote:

> dependency_libs=' -L/root/openmpi-1.6.4/opal/mca/hwloc/hwloc132/hwloc/src -ldl -lrt -lnsl -lutil -lm'

Yow; it looks like .la's are picking up an internal intermediate library path. Hmm. I wonder how that's happening...

[...time passes...]

Ok, I see the issue. It looks like a minor bug in the hwloc distribution itself (hwloc is a software package that OMPI wholly embeds). I've committed a fix in OMPI, hwloc, and have queued up the change to be in the next releases of Open MPI. Thanks for bringing it to our attention!

As a workaround, you can simply remove this -L from the .la files.

I am somewhat amused to note that this has been OMPI's behavior for quite some time -- you're the first to notice it!

> # are the *.la files necessary at all?
> (probably the answer is no: we tested this by deleting all *.la files in
> /usr/opt/openmpi-1.6.4 and it helped: application is compiling+running)

Yes; they're really only an aid for projects that build with Libtool. But the libtool that installs these files automatically, anyway; I don't know of an easy way to *not* install these .la files.

Jeff Squyres
For corporate legal information go to: