<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Dear friends,</div><div><br></div><div><br></div><div>I am encountering a problem:</div><div><br></div><div>I have bundled xmlsec in my Mac Os X application, I have put the library inside my application's resource folder.</div><div><br></div><div>When I try to sign the XML using a Machine that does not have MacPorts installed I have the following error:</div><div><br></div><div>==error begins:</div><div><br></div><div>Dyld Error Message:</div><div> <font class="Apple-style-span" color="#FF0000"> Library not loaded: /opt/local/lib/libxmlsec1.1.dylib</font></div><div>  Referenced from: /Applications/NFeApps/assinadorNFe.app/Contents/Resources/bin/xmlsec1</div><div>  Reason: image not found</div><div><br></div><div>===== error ends</div><div><br></div><div>Of course the computer doesn't have the "/opt" folder, because it doesn't have macports installed.</div><div><br></div><div>The app works fine in my computer because I have it.</div><div><br></div><div>My command sent by the GUI has the following call: "<span class="Apple-style-span" style="color: rgb(229, 0, 0); font-family: Verdana; font-size: 12px; ">export LD_LIBRARY_PATH=" --> pointing to the applications resources.</span></div><div><br></div><div><span class="Apple-style-span" style="color: rgb(229, 0, 0); font-family: Verdana; font-size: 12px; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; ">And </span></span>libxmlsec1.1.dylib is within this folder. But I guess somewhere in the package I copied to the resources folder there must be a somekind of config file pointing to the original location of libxmlsec1.1.dylib.</div><div><br></div><div>Can someone please help me?</div><div><br></div><div>Thank you!</div><div><br></div><div><br></div><div>Bernardo Höhl</div><div>Rio de Janeiro - Brazil</div><div><br></div><div>=========================</div></body></html>