dynamic linking error dlopen(libJerasure.dylib, 5): image not found

Issue #15 resolved
Shafiul hasan created an issue

Hi All,

I am getting this error while trying to running the test suites. My os version is

OS X Tosemite 10.10.3 Xcode Version 6.3.1

Here is the error trace messages,

May 4 01:33:37 **-MacBook-Air.local liberasurecode[17983] <Error>: liberasurecode_backend_open: dynamic linking error dlopen(libJerasure.dylib, 5): image not found Backend library not available!

I have a tight schedule to complete a project which was depending on your library. if possible please have a look.

I know that OSX uses difference compiler to compile the library, please suggest me any way-around if possible.

Comments (8)

  1. Shafiul hasan Account Deactivated reporter

    I might need to install jerasure lib separately. I am trying to install that and check it again.

  2. Shafiul hasan Account Deactivated reporter
    • changed status to open

    The issue still persists.

    I have install gf-complete and then jerasure . I run their test scripts and all test case passed. Then i wanted to build the liberasurecode , while running the autogen script i was getting these Logs with some warnings ,

    autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 autoreconf: configure.ac: tracing autoreconf: running: glibtoolize --copy autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force Makefile.am:33: warning: eval SONAMES : non-POSIX variable name Makefile.am:33: (probably a GNU make extension) Makefile.am:34: warning: eval SODIRS : non-POSIX variable name Makefile.am:34: (probably a GNU make extension) Makefile.am:35: warning: eval LD_LIBRARY_PATH := LD_LIBRARY_PATH="$(subst / ,/:,$(SODIRS: non-POSIX variable name Makefile.am:35: (probably a GNU make extension) Makefile.am:36: warning: eval DYLD_LIBRARY_PATH := DYLD_LIBRARY_PATH="$(subst / ,/:,$(SODIRS: non-POSIX variable name Makefile.am:36: (probably a GNU make extension) Makefile.am:37: warning: eval DYLD_FALLBACK_LIBRARY_PATH := DYLD_FALLBACK_LIBRARY_PATH="$(subst / ,/:,$(SODIRS: non-POSIX variable name Makefile.am:37: (probably a GNU make extension) src/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

    After that i run the necessary commands and while running the make test command i am getting several failed test cases,

    like this one,

    ok 0 - create_and_destroy_backend: null (idx=0) May 4 15:33:12 Shafiuls-MacBook-Air.local liberasurecode[6744] <Error>: liberasurecode_backend_open: dynamic linking error dlopen(libnullcode.dylib, 5): image not found Backend library not available!


    ok 19 - create_and_destroy_backend: jerasure_rs_vand (idx=0) May 4 15:33:12 Shafiuls-MacBook-Air.local liberasurecode[6744] <Error>: liberasurecode_backend_open: dynamic linking error dlopen(libJerasure.dylib, 5): image not found

    Seems that liberasurecode could not linking with libjerasure . I have checked my /usr/local/lib folder and all files are there Screen Shot 2015-05-04 at 4.04.26 PM.png

    Please have a look :(.

  3. Shafiul hasan Account Deactivated reporter

    Seems that jerasure and gf-complete has some problem or i could not compile those properly.

    To verify my setup , i download pyeclib and run the unit tests and got this error.

    Shafiuls-MacBook-Air:pyeclib shafiultareq$ ./.unittests May 4 16:35:57 Shafiuls-MacBook-Air.local liberasurecode[8355] <Error>: liberasurecode_backend_open: dynamic linking error dlopen(libisal.dylib, 5): image not found May 4 16:35:57 Shafiuls-MacBook-Air.local liberasurecode[8355] <Error>: liberasurecode_backend_open: dynamic linking error dlopen(libshss.dylib, 5): image not found

  4. Kevin Greenan

    @tareq_sust This is not a Jerasure or gf-complete problem, it is an issue with dlopen() on OS X.

    @tsg- What ended up working for Clay's problem on his Mac? Was it setting DYLD_LIBRARY_PATH?

  5. Log in to comment