Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wont load libmatio.so.2 unless it has hdf5 support #7

Closed
jonathantompson opened this issue Oct 24, 2014 · 2 comments
Closed

wont load libmatio.so.2 unless it has hdf5 support #7

jonathantompson opened this issue Oct 24, 2014 · 2 comments

Comments

@jonathantompson
Copy link

No description provided.

@soumith
Copy link
Owner

soumith commented Nov 2, 2014

hey, so i looked into this today (sorry for the delay). libmatio seems to have some linking issues with hdf5 by default, and their bug might not have been resolved.

What I looked into first is to see if the dylibs have properly generated dependencies:
otool -L /usr/local/lib/libmatio.dylib
/usr/local/lib/libmatio.dylib:
/usr/local/lib/libmatio.2.dylib (compatibility version 3.0.0, current version 3.2.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)

and turns out hdf5 is completely missing from that (I made sure that I am building with hdf5 support, and my makefile said so at the end).
However, when I looked at the output of nm: nm /usr/local/lib/libmatio.dylib
it did indeed point me to a bunch of hdf5 symbols that is should be linking aginst, but isn't.

Anyways, to conclude. This seems to be an upstream matio bug. (for example if you run matio's test-suite, you will see all the hdf5/MAT73 tests fail too).

Your only option here is to just build matio without hdf5 support (./configure --without-hdf5)

@soumith soumith closed this as completed Nov 2, 2014
@ramzizouari
Copy link

I tried to load "xxx.mat' file of 65 Mega Octet using matio but an error is occur. it disp "Killed"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants