Handling “dyld: lazy symbol binding failed: Symbol not found” error when nm does not find symbol

后端 未结 3 421
旧时难觅i
旧时难觅i 2020-12-19 03:10

I have a fat (32- and 64-bit) Intel binary called myBinary that fails to run on another workstation running Mac OS X 10.8.2:

$ myBinary
dyld: la         


        
3条回答
  •  鱼传尺愫
    2020-12-19 03:11

    yeah you have 2 options, either not use libraries that the customer won't have... (you can provide them as a dyld or framework.)

    or just statically link the library... this will actually end up being smaller in memory and disk space if your package is only one process, because you can strip symbols that you don't use.

提交回复
热议问题