-   Slackware (
-   -   Method for resolving 32 bit dependencies on multilib current? (

damgar 04-08-2010 08:53 AM

Method for resolving 32 bit dependencies on multilib current?
I'm trying to use the Slackbuild for the google-chrome beta on a multilib system. I've had no problems with the 64 bit version on pure 64 bit Slackware current. Gconf 32 bit fails to build with unresolved dependencies for things like polkit-dbus1.

Without being too specific to my current build problems, I was wondering if anyone had worked out a method for figuring out which packages provide which libraries etc? Upto now I've never really had issues since I use a full initial install.

Didier Spaier 04-08-2010 10:16 AM

If the dependency is provided by a Slackware package, be it installed or not:
slackpkg search "missing_dependency_full_name"

If the package providing the dependency is installed:
grep "missing_dependency_full_name" /var/log/packages/*

lumak 04-08-2010 10:58 AM

objectdump -x <binary file> | grep NEEDED
ldd -u <binary file>

These will both tell you what library files are linked against a particular binary or library.

You would then have to do this on every binary in the package you want to install, then against every binary in it's dependencies and so on.

Luckily, if you did a full install of your x86_64 system, you can grep this information out of /var/log/packages/* then follow alien bob's instructions on installing the 32bit version.

All times are GMT -5. The time now is 12:44 AM.