bugManeage - Bugs: bug #56682, __cg_jpeg_resync_to_restart...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #56682: __cg_jpeg_resync_to_restart linking problem on macOS

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Sat 27 Jul 2019 10:48:09 PM UTC
   
 
Category:  Software Severity:  3 - Normal
Item Group:  Crash Status:  Fixed
Privacy:  Public Assigned to:  makhlaghi
Open/Closed:  Closed

Sun 28 Jul 2019 01:56:00 AM UTC, comment #1: 

This bug has been fixed and [pushed http://git.savannah.nongnu.org/cgit/reproduce.git/commit/?id=6ef4cc854d] to the main repo. In short the solution was to set the `DYLD_LIBRARY_PATH' environment variable to blank (""), so it has no value.

In that commit, this is done in conjunction with a larger infra-structural change, but here is the relevant part for this bug: "This is no problem because RPATH is automatically set in macOS and the executables and libraries contain the absolute address of the libraries they should link with. But having `DYLD_LIBRARY_PATH' can conflict with some low-level system libraries and cause very hard to debug linking errors (like that reported in the bug report)."

Mohammad Akhlaghi <makhlaghi>
Group administrator
Sat 27 Jul 2019 10:48:09 PM UTC, original submission:  

When testing the template on a macOS, we hit the following linking error even though `DYLD_LIBRARY_PATH' was set to the project's installed library directory (`/BUILD/DIR/lib').


$ .local/bin/make

astconvertt --colormap=gray --fluxhigh=4 /BUILD/DIR/inputs/wfpc2.fits -h0 -o/BUILD/DIR/tex/delete-me-demo/wfpc2.pdf
dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /BUILD/DIR/software/installed/lib/libjpeg.9.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
make: *** [reproduce/analysis/make/delete-me.mk;54: /BUILD/DIR/tex/delete-me-demo/wfpc2.pdf] Abort trap: 6


Mohammad Akhlaghi <makhlaghi>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-07-28 makhlaghi StatusIn Progress Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code