help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linking Octave with HDF5


From: John W. Eaton
Subject: Linking Octave with HDF5
Date: Mon, 14 Nov 2005 10:43:13 -0500

On 14-Nov-2005, Lester Wade wrote:

| Well, I had no luck with sorting out zlib problems on my 64bit system so 
| I just tried things out on a 32bit one.   A bit different this time as 
| doing a configure -with-hdf5=/hdf5directory works ok, but at the end 
| then says "ZLIB library not found".   Having install ZLIB into 
| /usr/local/lib/ I then tried;  configure -with-hdf5=/hdf5directory 
| -with-zlib=/usr/local/lib.   Didn't work so I presume this isn't viable, 
| how should I specify where to find the zlib files?  I presume it looks 
| for zlib.so ?

Configure options like

  --with-zlib=/a/dir

are not the right way to tell your compiler where to find the library.

You should use

  CPPFLAGS=-I/a/dir/include LDFLAGS=-L/a/dir/lib configure ...

instead.  Then the value of CPPFLAGS and LDFLAGS are passed to the
compiler when running the tests and you should not have to use
--with-zlib (the configure script will look for zlib by default).

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]