View Issue Details

IDProjectCategoryView StatusLast Update
0001694OpenMPTBuild Systempublic2023-04-17 09:43
ReporterZaxon Assigned Tomanx  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionnot fixable 
Platformamd64OSDebianOS Version11
Summary0001694: symbol lookup error: openmpt123: undefined symbol: _ZN7openmpt6module21ctl_set_floatingpointESt17basic_string_viewIcSt11char_tra
Description

I downloaded the latest source code libopenmpt-0.6.10+release.autotools.tar.gz, untared and did ./configure then make and make check. The tests passed so I decided to install. When I tried to play the module I got the following error:

openmpt123 v0.6.10, libopenmpt 0.4.11+r12392.pkg (OpenMPT 1.28.09.00 https://source.openmpt.org/svn/openmpt/tags/libopenmpt-0.4.11@12392 (2019-12-22T19:09:25.374363Z) clean-pkg)
Copyright (c) 2013-2023 OpenMPT Project Developers and Contributors https://lib.openmpt.org/

openmpt123: symbol lookup error: openmpt123: undefined symbol: _ZN7openmpt6module21ctl_set_floatingpointESt17basic_string_viewIcSt11char_traitsIcEEd

I tried with this module: https://api.modarchive.org/downloads.php?moduleid=68796#colours.xm

Do I miss something on my side or is this a bug in the openmpt123?

Kind regards,
Piotr

Steps To Reproduce

Download the source code form the package: libopenmpt-0.6.10+release.autotools.tar.gz
tar xfv libopenmpt-0.6.10+release.autotools.tar.gz
cd libopenmpt-0.6.10+release.autotools
./configure
make
make check
sudo make install
wget "https://api.modarchive.org/downloads.php?moduleid=68796#colours.xm"
openmpt123 colours.xm

Additional Information

Strangely when I install the version of openmpt123 from the Debian 11 repository (v0.4.11) and then I go to the bin folder of the compiled openmpt123 player, then the playback is correct.

TagsNo tags attached.
Has the bug occurred in previous versions?Not in the v0.4.11 form Debian 11 binary repo.
Tested code revision (in case you know it)

Activities

manx

manx

2023-04-17 09:43

administrator   ~0005682

Your system did not update your shared library cache, so the dynamic loader is not aware of the newly installed libopenmpt yet.
Run sudo ldconfig (or maybe just reboot).

You may complain to Debian/glibc/automake/libtool (or whoever is willing to not blame other parties) to get their nonsense sorted out. It's been a bug for decades because (IIRC) libtool decided to be anti-smart and blame others.

Further reading:

Issue History

Date Modified Username Field Change
2023-04-17 08:40 Zaxon New Issue
2023-04-17 09:43 manx Note Added: 0005682
2023-04-17 09:43 manx Assigned To => manx
2023-04-17 09:43 manx Status new => closed
2023-04-17 09:43 manx Resolution open => not fixable
2023-04-17 09:43 manx Severity block => tweak