Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: After upgrading to Fedora 40, /usr/bin/mame fails to start Version-Release number of selected component (if applicable): mame-0.264-1.fc40.src.rpm How reproducible: Every time. Steps to Reproduce: 0. (optional) rename existing ~/.mame just in case. 1. /usr/bin/mame 2. echo $? Actual results: mame: symbol lookup error: mame: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm, version Qt_6 exit code 127 Expected results: At least it starts. Additional info: Mame worked fine on Fedora 39 for me, though I hadn't run it for a few months. I did `sudo dnf reinstall mame` just in case. I looked for this symbol /usr/bin/mame and many of its libraries seem to invoke it: % eu-readelf --all /usr/bin/mame | rg '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmm' 0x0000000012cba0b8 X86_64_JUMP_SLOT 000000000000000000 +0 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm Mame uses /usr/lib64/libQt6Core.so.6, `ldd` reports its dependencies, and I found something like the missing symbol in libstdc++ : % eu-readelf /usr/lib64/libstdc++.so.6 --symbols $i | rg 'basic_string.*char_traits.*mutate' 5334: 0000000000159f10 298 FUNC WEAK DEFAULT 14 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm@@GLIBCXX_3.4.21 but I don't really understand library symbol resolution.
I think this is a dupe of an existing bug (I looked before filing, maybe I searched for "symbol lookup error", not "undefined symbol") *** This bug has been marked as a duplicate of bug 2277557 ***