﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
157	Mac chimera app uses build libatomstruct.dylib instead of installed version	Tom Goddard	Greg Couch	"The Mac Chimera app is using build versions of the shared libraries (like libatomstruct.dylib) instead of the versions installed in the app (in Chimera.app/Contents/lib).  Apparently the rpath library linkage is not working.  This caused difficult to debug crashes -- spent the last hour debugging this.

The Mac crash dumps I was getting happened because the installed app _mmcif.so was using the build version of libatomstruct.dylib instead of the installed version of that library.  The attached Mac crash log appears to indicate that the linker searched the entire /Users/goddard tree to find libatomstruct.dylib while for libmolc.dylib it looked in Chimera2.app/Contents/lib

       0x102f5f000 -        0x102f71fff +libmolc.dylib (0) <FF8C313E-5ABA-3157-95D4-78540289774F> /Users/USER/*/Chimera2.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimera/core/atomic/libmolc.dylib
       0x102f7e000 -        0x102fd7fff +libatomstruct.dylib (0) <13301820-1D66-34C8-A242-3F6D1BD347C4> /Users/USER/*/libatomstruct.dylib
       0x102ff5000 -        0x102ff7ff7 +libelement.dylib (0) <604EB714-7719-3CF6-A19F-DF8C1C21E3B6> /Users/USER/*/libelement.dylib
       0x102ffa000 -        0x103050fff +libtmpl.dylib (0) <563BAD62-E933-3699-A115-20C2CEE7EFE7> /Users/USER/*/libtmpl.dylib

"	defect	closed	major		Build System		fixed						all	chimera
