Building a 32bit RPM on 64bit Linux: Wrong dependencies auto-generated

devzero2000 pinto.elia at gmail.com
Thu Jul 29 14:06:59 UTC 2010


> as you see, everyhting native 32bit.
> When I try to install, I get:
> error: Failed dependencies:
>        libstdc++.so.6(GLIBCXX_3.4.14) is needed by example.rpm

This is not a 64 bit dependency, this instead is
libstdc++.so.6(GLIBCXX_3.4.14) (64 bit). So, IMHO, there is only a
problem of a missing 32 dependency. Isn't it ?

> Huh? I remember reading the day before that rpm uses some magic that
> involves invoking ldd on the binaries to generate the dependencies.
> Maybe this information was outdated?

Yes, some loong time ago rpm switched to the internal dependency
generator for a proper multiarch support.


More information about the Rpm-list mailing list