bug? 'yum provides' shows only 32 bit options

Dave Burns tburns at hawaii.edu
Fri Jan 9 22:52:54 UTC 2009


Is this a bug or what? I wanted to find the 64 bit version of libstdc++.so.5:

$ yum provides libstdc++.so.5
Loaded plugins: refresh-packagekit, security
compat-libstdc++-33-3.2.3-63.i386 : Compatibility standard C++ libraries
Repo        : fedora
Matched from:
Other       : libstdc++.so.5



libstdc++5-3.3.6-3mdk.i586 : GNU C++ library
Repo        : installed
Matched from:
Other       : Provides-match: libstdc++.so.5

Yum shows two versions, both 32 bit. After googling, I discovered and
installed compat-libstdc++-33:

#yum -y install compat-libstdc++-33.x86_64


# rpm -qs compat-libstdc++-33|grep c++
normal        /usr/lib64/libstdc++.so.5
normal        /usr/lib64/libstdc++.so.5.0.7

Is yum in error, or was I supposed to add some switchy magic to make
it show me 64 bit stuff?

Hmm.... It does okay if I give the ful path:

# yum provides /usr/lib64/libstdc++.so.5
Loaded plugins: refresh-packagekit, security
Importing additional filelist information
updates-newkey/filelists_db                              | 7.7 MB     00:03
compat-libstdc++-33-3.2.3-63.x86_64 : Compatibility standard C++ libraries
Repo        : fedora
Matched from:
Filename    : /usr/lib64/libstdc++.so.5


But how could I know the full path before doing a search? Did I miss
something in the man page?

mahalo,
Dave




More information about the fedora-list mailing list