Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared libs not packaged correctly in the latest mac dev build #393

Closed
adriweb opened this issue Apr 25, 2021 · 3 comments
Closed

Shared libs not packaged correctly in the latest mac dev build #393

adriweb opened this issue Apr 25, 2021 · 3 comments
Assignees

Comments

@adriweb
Copy link
Member

adriweb commented Apr 25, 2021

Following up on the comments from #392

otool -L ./CEmu.app/Contents/MacOS/CEmu
./CEmu.app/Contents/MacOS/CEmu:
	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 23.0.0)
	/usr/local/opt/zlib/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	/usr/local/opt/libarchive/lib/libarchive.13.dylib (compatibility version 19.0.0, current version 19.1.0)
	@rpath/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.15.0, current version 5.15.2)
	@rpath/QtGui.framework/Versions/5/QtGui (compatibility version 5.15.0, current version 5.15.2)
	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 2022.20.117)
	/System/Library/Frameworks/Metal.framework/Versions/A/Metal (compatibility version 1.0.0, current version 244.32.7)
	@rpath/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.15.0, current version 5.15.2)
	@rpath/QtCore.framework/Versions/5/QtCore (compatibility version 5.15.0, current version 5.15.2)
	/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)
	/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 904.4.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1292.60.1)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1770.255.0)
	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1770.255.0)
	/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)

TODO: fix (probably with install_name_tool -change old new bin) the libz and libarchive references, considering those are already present in the ./Contents/Frameworks folder inside the .app.

@adriweb
Copy link
Member Author

adriweb commented Apr 25, 2021

Turns out those have their own deps, so I have to dig a bit more...

@adriweb
Copy link
Member Author

adriweb commented Apr 25, 2021

Well, I "cheated", and was able to build a version with those two with only static libs and system libs.

So, it should be good now, please try that @JWBstuhr @danawcook :
CEmu_mac_beta_v2.dmg.zip

(excuse the .dmg in a .zip, github doesn't like .dmg files directly)

@JWBstuhr
Copy link

Thank you, this works great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants