简体   繁体   English

如何在OSX上调试此动态链接错误?

[英]How to debug this dynamic linking error on OSX?

dyld: loaded: /Applications/Adobe Acrobat Reader DC.app/Contents/Frameworks/ICUConverter.framework/ICUConverter
dyld: unloaded: /Applications/Adobe Acrobat Reader DC.app/Contents/Frameworks/ICUConverter.framework/ICUConverter
2019-01-22 01:17:17.314 e-Deklaracje[2579:96645] Error loading /Applications/Adobe Acrobat Reader DC.app/Contents/Frameworks/ICUConverter.framework/ICUConverter:  dlopen(/Applications/Adobe Acrobat Reader DC.app/Contents/Frameworks/ICUConverter.framework/ICUConverter, 265): Library not loaded: @rpath/ICUData.framework/Versions/58.2/ICUData
  Referenced from: /Applications/Adobe Acrobat Reader DC.app/Contents/Frameworks/ICUConverter.framework/ICUConverter
  Reason: image not found

This is from an application loading acrobat reader. 这来自加载acrobat阅读器的应用程序。 The error says it can't load: @rpath/ICUData.framework/Versions/58.2/ICUData . 该错误表明它无法加载: @rpath/ICUData.framework/Versions/58.2/ICUData Using otool -l I checked that acrobat reader executable has an RPATH entry with the right location. 使用otool -l我检查了acrobat reader可执行文件是否具有正确位置的RPATH条目。

Load command 18
          cmd LC_RPATH
      cmdsize 48
         path @executable_path/../Frameworks (offset 12)

So what is wrong? 那怎么了? Maybe the RPATH entry should be present in ICUConverter ? 也许RPATH条目应该出现在ICUConverter There is no such entry there. 那里没有这样的条目。

maybe not the exact solution but at least workaround is to downgrade your Adobe Reader to 11.0.10. 也许不是确切的解决方案,但至少解决方法是将Adobe Reader降级为11.0.10。 You will be prompted in e-Deklaracje to choose proper Adobe Reader. e-Deklaracje中将提示您选择正确的Adobe Reader。 Restarting of e-Deklaracja could be needed. 可能需要重新启动e-Deklaracja。

Solution comes from: http://www.owsiak.org/and-now-for-something-completely-different-e-deklaracje-2019-macos/ 解决方案来自: http : //www.owsiak.org/and-now-for-something-completely-different-e-deklaracje-2019-macos/

By the way I tried it replaced Contents of Adobe Reader.app to use particular binaries instead of aliases but it didn't help. 顺便说一句,我尝试用它代替Adobe Reader.app的Contents来使用特定的二进制文件而不是别名,但这没有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM