Libtiff.3.dylib: unknown boot command 0x80000022

Has anyone found a fix for this? I read that this has something to do with the new dylib format in Snow Leopard ...

(This is the lib I get from MacPorts.)

Thanks Rui

+3
source share
3 answers

What are you trying to use this library with? Most likely, you have an old version of some build tool or application. Have you updated your entire installation MacPorts?

sudo port selfupdate
sudo port -u upgrade outdated

EDIT: based on your additional information, more questions:

-I /sw/include -L /sw/lib, Fink, MacPorts (/opt/local/{include,lib}). , Fink MacPorts. - ? , Fink ?

, 10.5 , , 10.5? 10,6 , 10,5 10,6? , Xcode .

EDIT: , . Leopard , , 10.6 SDK. , , , Xcode, , , , , , gcc, et al. !

+2

, , Snow Leopard -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5, Leopard. , -isysroot .

+1

OS X 10.6 10.5. , :

  • :   gcc-4.2 -mmacosx-version-min = 10.5 -isysroot/Developer/SDKs/MacOSX10.5.sdk...
  • ( ). , OS X 10.6 "LC_DYLD_INFO_ONLY" (= 0x80000022), OS X 10.5 :

    export MACOSX_DEPLOYMENT_TARGET = 10.5 ( setenv MACOSX_DEPLOYMENT_TARGET = 10.5)

, OS X 10.5, 'otool':

otool -l

The correct binary file must not contain any LC_DYLD_INFO_ONLY load commands (only LC_DYLD_INFO commands).

(also see my blog article http://grauonline.de/wordpress/?p=71 )

0
source

Source: https://habr.com/ru/post/1722926/


All Articles