Open MPI logo

Hardware Locality Users' 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: [hwloc-users] "-lnuma" missing from pkg-config information?
From: Erik Schnetter (schnetter_at_[hidden])
Date: 2013-01-04 10:47:00


Brice

Yes, this did the trick. Thanks!

-erik

On Fri, Jan 4, 2013 at 1:33 AM, Brice Goglin <Brice.Goglin_at_[hidden]> wrote:

> Hello Erik
> I am not a pkgconfig expert but my feeling is that this has buggy for a
> long time. hwloc.pc.in should likely use HWLOC_LIBS instead of LIBS. On
> my machine, it makes Libs.private change from -dl to -lm -lnuma here (with
> -lpci -lxml2 depending on the config). We also need to check whether -ldl
> should be kept because of plugin support too.
> Can you change LIBS instead HWLOC_LIBS in hwloc.pc.in, rerun configure,
> and try again?
> Brice
>
>
>
> Le 04/01/2013 04:50, Erik Schnetter a écrit :
>
> I just installed hwloc 1.6 on a Linux Red Hat system. libnuma is
> required for linking -- I receive linker errors if I omit -lnuma, and I see
> that -lnuma is listed in libhwloc.la under "dependency_libs". However,
> pkgconfig/hwloc.pc does not mention libnuma. It does mention libpci, though.
>
> Does this sound like an error when hwloc.pc is generated, or am I
> misunderstanding how pkg-config works? If you give me a pointer, I'd be
> happy to try an provide a patch.
>
> -erik
>
>
> --
> Erik Schnetter <schnetter_at_[hidden]>
> http://www.perimeterinstitute.ca/personal/eschnetter/
>
>
> _______________________________________________
> hwloc-users mailing listhwloc-users_at_[hidden]http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users
>
>
>

-- 
Erik Schnetter <schnetter_at_[hidden]>
http://www.perimeterinstitute.ca/personal/eschnetter/