----- Original Message -----
From: "P Kishor" <[email protected]>
>>> -----
>>> [11:39 PM] /usr/local/lib$ls libh*
>>> libhdf5.6.dylib* libhdf5.dylib@ libhdf5.settings
>>> libhdf5_hl.a libhdf5_hl.la* libhdf5.a
>>> libhdf5.la* libhdf5_hl.0.dylib* libhdf5_hl.dylib@
Which of those do you need to link to ?
(I don't have the hdf library, or a mac ... so I'm not in a position to test
any of this.)
Assuming you need to link libhdf5.a, you could change the PDL::IO::HDF
section in perldl.conf from:
# Whether or not to build the PDL::IO::HDF module
# 0 -> don't use
# true -> force use
WITH_HDF => undef,
HDF_LIBS => undef,
HDF_INC => undef,
to:
# Whether or not to build the PDL::IO::HDF module
# 0 -> don't use
# true -> force use
WITH_HDF => 1,
HDF_LIBS => '-L/usr/local/lib -lhdf5',
HDF_INC => '-I/usr/local/include',
and see if that helps. Or perhaps that section instead needs to be:
# Whether or not to build the PDL::IO::HDF module
# 0 -> don't use
# true -> force use
WITH_HDF => 1,
HDF_LIBS => '/usr/local/lib',
HDF_INC => '/usr/local/include',
(Just something you can try while you're waiting for someone who knows this
stuff to come forward.)
Make your changes to perldl.conf, then run:
make realclean
perl Makefile.PL
make test
Cheers,
Rob
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl