Hi!
I'm trying to make an AppImage http://www.appimage.org/ for WINE. I have to get all *.so dependencies for WINE but the command "ldd wine" does not show all the dependencies (only libwine.so.1 and a few others). WINE does rely on many other *.so files.
I tried "ldd" with many WINE files but with the same result. How can i gather the required *.so dependencies for a WINE AppImage?
Wine "ldd" -required dependencies (*.so files) WINE AppImage
Re: Wine "ldd" -required dependencies (*.so files) WINE AppI
ldd and lsof show the libraries loaded either directly or at a given moment. They do not account for libraries loaded via dlopen. You can get a better picture of this using strace. But this is probably a bit of a sledgehammer to crack a nut!gamerz wrote:Hi!
I'm trying to make an AppImage http://www.appimage.org/ for WINE. I have to get all *.so dependencies for WINE but the command "ldd wine" does not show all the dependencies (only libwine.so.1 and a few others). WINE does rely on many other *.so files.
I tried "ldd" with many WINE files but with the same result. How can i gather the required *.so dependencies for a WINE AppImage?
Take a look the Ubuntu Development package (which includes most the Wine build dependencies):
Ubuntu: Package: libwine-development (2.0-3ubuntu1 and others) [universe]
The control file in the deb archive will summarise the build dependencies.
Also useful would be the:
- Gentoo ebuild script for wine-vanilla: see Gentoo Overlays: app-emulation/wine-vanilla
- Arch PKGBUILD script for plain wine: see Arch Packages: wine 2.10-1 PKGBUILD
Wine Staging has a few extra build dependencies. But, if required, you easily check what these are - with the Arch or Gentoo package build scripts for wine-staging.
Bob
Re: Wine "ldd" -required dependencies (*.so files) WINE AppI
Thanks for the Information. So there is no way around to collect the required *.so files one by one? I want to avoid this because it's very time consuming.
Re: Wine "ldd" -required dependencies (*.so files) WINE AppI
[SOLVED] I found a script which does gather all *.so files
https://github.com/AppImage/AppImages/b ... nctions.sh
https://github.com/AppImage/AppImages/b ... nctions.sh
Re: Wine "ldd" -required dependencies (*.so files) WINE AppI
That looks quite neat... I'll have to have a play around with it - thanks.gamerz wrote:[SOLVED] I found a script which does gather all *.so files
Github : AppImage/AppImages : functions.sh
Bob
Re: Wine "ldd" -required dependencies (*.so files) WINE AppI
You might also be interested in https://github.com/AppImage/AppImageKit ... plications