when I try to install libstdc++.i686 the transaction fails
sudo yum install libstdc++.i686
Transaction failed: Rpm transaction failed.
- file /usr/share/gcc-14/python/libstdcxx/v6/__pycache__/printers.cpython-313.opt-1.pyc from install of libstdc++-14.1.1-6.fc41.i686 conflicts with file from package libstdc++-14.1.1-6.fc41.x86_64
- file /usr/share/gcc-14/python/libstdcxx/v6/__pycache__/printers.cpython-313.pyc from install of libstdc++-14.1.1-6.fc41.i686 conflicts with file from package libstdc++-14.1.1-6.fc41.x86_64
- file /usr/share/gcc-14/python/libstdcxx/v6/__pycache__/xmethods.cpython-313.opt-1.pyc from install of libstdc++-14.1.1-6.fc41.i686 conflicts with file from package libstdc++-14.1.1-6.fc41.x86_64
- file /usr/share/gcc-14/python/libstdcxx/v6/__pycache__/xmethods.cpython-313.pyc from install of libstdc++-14.1.1-6.fc41.i686 conflicts with file from package libstdc++-14.1.1-6.fc41.x86_64
is this expected behavior?
uname -a
Linux ian-workstation 6.9.5-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jun 16 15:47:09 UTC 2024 x86_64 GNU/Linux
lsb_release -a
LSB Version: n/a
Distributor ID: Fedora
Description: Fedora Linux 41 (Xfce Prerelease)
Release: 41
Codename: n/a
I’m not sure about the risks involved. I switched to linux recently and had to come to rawhide because my Arc A770 was not working in blender in kernel 6.8.x.
I was unable to update my system for past few days due to this conflict causing transaction errors. So I un-installed libstdc++.i686 to allow update to happen.
This however borked my steam install and that made me search for any solution that might work.
I am trying to test 32 bit compiles using Linux 6.11.3-200.fc40.x86_64 an have done
trash>sudo dnf install libstdc++.i686
Last metadata expiration check: 3:06:03 ago on Thu 16 Jan 2025 09:26:04 AM MST.
Package libstdc++-14.2.1-3.fc40.i686 is already installed.
...
When I try to compile and link the following temp.cpp:
# include <iostream>
int main(void)
{ std::cout << "sizeof(size_t) = " << sizeof(size_t) << "\n";
return 0;
}
I get
trash>g++ -m32 temp.cpp
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/14/libstdc++.so when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++: No such file or directory
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/14/libstdc++.so when searching for -lstdc++
collect2: error: ld returned 1 exit status
I was missing libstdc++-devel, so I installed it and then got the same result as above. Now I have:
trash>rpm -qa | grep ‘.i686$’ | sort
glibc-2.39-33.fc40.i686
glibc-devel-2.39-33.fc40.i686
glibc-gconv-extra-2.39-33.fc40.i686
libgcc-14.2.1-3.fc40.i686
libstdc+±14.2.1-3.fc40.i686
libstdc+±devel-14.2.1-3.fc40.i686
libxcrypt-4.4.36-5.fc40.i686
libxcrypt-devel-4.4.36-5.fc40.i686
trash>g++ -m32 temp.cpp
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/14/libstdc++.so when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++: No such file or directory
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/14/libstdc++.so when searching for -lstdc++
collect2: error: ld returned 1 exit status
trash>