Description of problem:
I am trying out python-snack. I wrote a little code that simply plays an mp3 file. Attempting to run it failed:
_tkinter.TclError: couldn't load file "/usr/lib64/tcl8.6/snack2.2/libsnack.so": /usr/lib64/tcl8.6/snack2.2/libsnack.so: undefined symbol: Tcl_SeekOld
$ ldd -r /usr/lib64/tcl8.6/snack2.2/libsnack.so
libc.so.6 => /lib64/libc.so.6 (0x00007f8826dab000)
libX11.so.6 => /lib64/libX11.so.6 (0x00007f8826c66000)
libm.so.6 => /lib64/libm.so.6 (0x00007f8826b20000)
libasound.so.2 => /lib64/libasound.so.2 (0x00007f8826a19000)
libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f88269ee000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f88269e8000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f88269c5000)
librt.so.1 => /lib64/librt.so.1 (0x00007f88269bb000)
libXau.so.6 => /lib64/libXau.so.6 (0x00007f88269b5000)
undefined symbol: Tcl_SeekOld (/usr/lib64/tcl8.6/snack2.2/libsnack.so)
undefined symbol: Tcl_TellOld (/usr/lib64/tcl8.6/snack2.2/libsnack.so)
The .so should be linked with -ltcl.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This code is held together with so much spit and duct tape. I think I have it fixed, but it might help me be sure if you send me your test code.
https://koji.fedoraproject.org/koji/taskinfo?taskID=36704737 is the F30 build with the fix for this issue and the addition of the libsnackmpg.so extension module with mp3 support from libmpg123.
FEDORA-2019-31c922c5f7 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-31c922c5f7
tcl-snack-2.2.10-41.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-31c922c5f7
tcl-snack-2.2.10-41.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.