Re: [netcdfgroup] nc-config --libs output -- should it include hdf5 libs if netcdf-4 enabled

  • To: "Gregory Sjaardema" <gdsjaar@xxxxxxxxxx>
  • Subject: Re: [netcdfgroup] nc-config --libs output -- should it include hdf5 libs if netcdf-4 enabled
  • From: Ed Hartnett <ed@xxxxxxxxxxxxxxxx>
  • Date: Wed, 07 Sep 2011 07:19:55 -0600
"Gregory Sjaardema" <gdsjaar@xxxxxxxxxx> writes:

> On 9/6/11 4:22 PM, Ed Hartnett wrote:
>> "Gregory Sjaardema"<gdsjaar@xxxxxxxxxx>  writes:
>>
>>> We typically use non-shared library builds which need the hdf5
>>> specified explicitly.
>>> --Greg
>> For static builds, the nc-config program should list all libraryes,
>> including the HDF5 one...
>>
>> Ed
>>
> OK, sorry for the confusion.  If I do build just the static library
> (--disable-shared), then nc-config does show all of the libraries.
> However, if I build both shared and static, then nc-config shows only
> the netcdf library.  In my use, we install both shared and static
> libraries and some applications link to the shared and some to the
> static and they need some way to get all of the library information
> from the nc-config...
>
> Thanks,
> --Greg

Ah ha! Now I get it.

So would you like to have all libraries listed, even for shared builds?
I believe this will be harmless...

Anyone else have a preference on this?

Thanks,

Ed

-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx



  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: