Changes between Initial Version and Version 2 of Ticket #46925


Ignore:
Timestamp:
Feb 22, 2015, 11:44:06 AM (9 years ago)
Author:
neverpanic (Clemens Lang)
Comment:

The problem is that MATLAB internally sets DYLD_LIBRARY_PATH while its running and keeps it in the environment you use to load the library. Unset DYLD_LIBRARY_PATH before loading your library and it should work. DYLD_LIBRARY_PATH should never ever be set in production software, and it's a mistake made by the MATLAB developers that it does. You should contact them and ask them to link their libraries correctly on OS X so they don't need to set it.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #46925

    • Property Status changed from new to closed
    • Property Type changed from request to defect
    • Property Priority changed from High to Normal
    • Property Keywords libjpeg-turbo libjpeg removed
    • Property Resolution changed from to invalid
  • Ticket #46925 – Description

    initial v2  
    11I am using Macports to install libjpeg 8, which I need for a MATLAB program, the Berkeley Segmentation Engine that I am using for school, but when I try to run the example, I receive the following:
    22
     3{{{
    34Invalid MEX-file '/Users/isabella/Desktop/BSR/grouping/lib/mex_pb_parts_final_selected.mexmaci64':
    45dlopen(/Users/isabella/Desktop/BSR/grouping/lib/mex_pb_parts_final_selected.mexmaci64, 6): Library
     
    89  Reason: Incompatible library version: mex_pb_parts_final_selected.mexmaci64 requires version 13.0.0
    910  or later, but libjpeg.8.dylib provides version 9.0.0
     11}}}
    1012
    1113I don't have any experience changing MEX files, but I've tried all kinds of things with my libjpeg installation, between homebrew and macports, but I haven't had any success. Please help!