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

TEST 3/7 nmt:field_t dyld: lazy symbol binding failed: Symbol not found: _util_malloc_ #24

Closed
DanielLenz opened this issue Jul 18, 2018 · 8 comments

Comments

@DanielLenz
Copy link

I managed to install the C libraries, but make check raises the following error:

NaMaster [master●] make check
/Applications/Xcode.app/Contents/Developer/usr/bin/make  test/nmt_checks
make[1]: `test/nmt_checks' is up to date.
/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS
TEST 1/7 nmt:bins_constant [OK]
TEST 2/7 nmt:bins_var [OK]
TEST 3/7 nmt:field_t dyld: lazy symbol binding failed: Symbol not found: _util_malloc_
  Referenced from: /Users/dlenz/software/NaMaster/.libs/libnmt.0.dylib
  Expected in: flat namespace

dyld: Symbol not found: _util_malloc_
  Referenced from: /Users/dlenz/software/NaMaster/.libs/libnmt.0.dylib
  Expected in: flat namespace

/bin/sh: line 1: 60002 Abort trap: 6           ${dir}$tst
FAIL: test/nmt_checks

Any ideas? Let me know what specs you need!

@damonge
Copy link
Owner

damonge commented Jul 19, 2018

Hey Daniel.

humm, that's weird. Have you tried just running the namaster executable to see if that throws the same error? Do you have issues with the python module (beyond the python-3 issues you've mentioned in #25 ?).

@DanielLenz
Copy link
Author

Thanks for the quick response, David!
I'll try to run the C executable later today. Still can't import the lib in the python wrapper, will see how it goes once that is addressed.

@NicolettaK
Copy link

I'm getting the same errors on my Mac.
Both this one and the one in #25

@damonge
Copy link
Owner

damonge commented Aug 31, 2018

@NicolettaK @DanielLenz : you could try the newer version of the code that will be made available after the paper (it's being released as a DESC product, so we had to migrate the repo). The new repo is https://github.com/LSSTDESC/NaMaster (I will advertise this more widely after the paper has passed the internal review, which should be pretty soon). The installation process should be exactly the same.

The new version is not that different from this one, but it does include a very thorough list of unit tests and is travis'd, so maybe some of that may have solved this problem.

If it doesn't, let me know. I am not a Mac expert, but can ask one of the other people in the paper, who has been using it on mac for a while.

@DanielLenz
Copy link
Author

DanielLenz commented Aug 31, 2018

Sorry for not getting back at you earlier, I'll check out the new repo and give it a shot!

Does that also mean that the DESC repo will be the active one and that you'll archive this one here? Just to know which one to follow, where to get any updates, and where to raise issues/PRs.

@damonge
Copy link
Owner

damonge commented Aug 31, 2018

Almost surely, yes. I'll notify everyone who I'm aware has used the code (you are the first to know)

@anicola
Copy link

anicola commented Sep 13, 2018

Hi,

I ran into the same problem as Daniel and tried to install the DESC repo instead, but I still get the same error, i.e.

TEST 23/53 nmt:he_sht dyld: lazy symbol binding failed: Symbol not found: util_malloc
Referenced from: /Users/Andrina/Documents/WORK/ACT/code/NaMaster/.libs/libnmt.0.dylib
Expected in: flat namespace

dyld: Symbol not found: util_malloc
Referenced from: /Users/Andrina/Documents/WORK/ACT/code/NaMaster/.libs/libnmt.0.dylib
Expected in: flat namespace

/bin/sh: line 1: 67007 Trace/BPT trap: 5 ${dir}$tst
FAIL: test/check_nmt

Would you have any idea what could be causing this problem?
Thank you very much!

@DanielLenz
Copy link
Author

I've opened this in the LSSTDESC repo, closing here to focus the discussion.

LSSTDESC/NaMaster#16

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

4 participants