[Interest] Qt 5.4 missing /opt/lib/libzip.dylib on OS X

Michael Jackson imikejackson at gmail.com
Fri Feb 6 15:30:58 CET 2015


On Feb 6, 2015, at 9:10 AM, Konstantin Tokarev <annulen at yandex.ru> wrote:

> 
> 
> 06.02.2015, 16:57, "Michael Jackson" <imikejackson at gmail.com>:
>> I have installed Qt 5.4 for OS X (Precompiled from the Qt.io website) and when packaging my application I am getting errors that /opt/lib/libzip1.dylib is missing and can not be found. Is this something that was overlooked or missed during the packing of Qt 5.4? I have installed Qt 5.4 in /Users/Shared/Toolkits/Qt-5.4.
>> 
>> Any help or ideas is appreciated.
> 
> Look at linker error message, than identify what object (executable file or dylib) is referencing /opt/lib/libzip1.dylib
> 
> If came as part of Qt, provide output of 
> 
> otool -L /path/to/that/file
> 
> as and an evidence
> 
> -- 
> Regards,
> Konstantin

507:[mjackson at ferb:qwt-6.1.2]$ otool -L /Users/Shared/Toolkits/Qt-5.4.0/5.4/clang_64/lib/QtCore.framework/QtCore 
/Users/Shared/Toolkits/Qt-5.4.0/5.4/clang_64/lib/QtCore.framework/QtCore:
	/Users/Shared/Toolkits/Qt-5.4.0/5.4/clang_64/lib/QtCore.framework/Versions/5/QtCore (compatibility version 5.4.0, current version 5.4.0)
	/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 48.0.0)
	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 62.0.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1151.16.0)
	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1151.16.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
	/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)


More information about the Interest mailing list