FS#49538 - [ardour] 4.7-1 undefined symbol on start

Attached to Project: Arch Linux
Opened by Jonathan Hadley (dermusikman) - Thursday, 02 June 2016, 05:55 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 02 June 2016, 17:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Installing ardour fresh on my computer, I find that it will not start, owing to an undefined symbol in /usr/lib/ardour4/libardour.so.3

Additional info:
ardour 4.7-1

My troubleshooting steps:
[dermusikman@bugs ~]$ ardour4
WARNING: Your system has a limit for maximum amount of locked memory!
This might cause Ardour to run out of memory before your system runs
out of memory. You can view the memory limit with 'ulimit -l', and it
is normally controlled by /etc/security/limits.conf

/usr/lib/ardour4/ardour-4.7.0: symbol lookup error: /usr/lib/ardour4/libardour.so.3: undefined symbol: _ZN4Glib12get_home_dirB5cxx11Ev
[dermusikman@bugs ~]$ pacman -Ss ardour | head -2
extra/ardour 4.7-1 [installed]
Professional-grade digital audio workstation
[dermusikman@bugs ~]$ pacman -Ss glib2 | head -2
core/glib2 2.48.1-1 [installed]
Common C routines used by GTK+ and other libs
[dermusikman@bugs ~]$ grep ^exec $(which ardour4)
exec $GDB /usr/lib/ardour4/ardour-4.7.0 "$@"
[dermusikman@bugs ~]$ ldd /usr/lib/ardour4/ardour-4.7.0 | grep not
libardourcp.so => not found
libcanvas.so.0 => not found
libgtkmm2ext.so.0 => not found
libptformat.so.0 => not found
libardour.so.3 => not found
libmidipp.so.4 => not found
libevoral.so.0 => not found
libaudiographer.so.0 => not found
libpbd.so.4 => not found
libtimecode.so => not found
[dermusikman@bugs ~]$ sudo ldconfig /usr/lib/ardour4/
[dermusikman@bugs ~]$ ldd /usr/lib/ardour4/ardour-4.7.0 | grep not
[dermusikman@bugs ~]$ ardour4
WARNING: Your system has a limit for maximum amount of locked memory!
This might cause Ardour to run out of memory before your system runs
out of memory. You can view the memory limit with 'ulimit -l', and it
is normally controlled by /etc/security/limits.conf

/usr/lib/ardour4/ardour-4.7.0: symbol lookup error: /usr/lib/ardour4/libardour.so.3: undefined symbol: _ZN4Glib12get_home_dirB5cxx11Ev
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 02 June 2016, 17:47 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Partial updates are not supported
Comment by Jan de Groot (JGC) - Thursday, 02 June 2016, 10:35 GMT
Is your system up2date? _ZN4Glib12get_home_dirB5cxx11Ev is defined in libglibmm-2.4.so.1. If you have an outdated version of glibmm installed or your system has a different version of this library lingering around in another location than /usr/lib (/usr/local/lib for example), you will receive errors with software depending on glibmm.
Comment by Doug Newgard (Scimmia) - Thursday, 02 June 2016, 10:47 GMT
And version of glibmm?
Comment by Jonathan Hadley (dermusikman) - Thursday, 02 June 2016, 17:14 GMT
Old version of glibmm. I didn't think to check all the dependencies, I see.

Updating glibmm did the trick. Thank you!

Output:
[dermusikman@bugs ~]$ pacman -Ss glibmm | head -2
extra/glibmm 2.48.1-1 [installed: 2.46.1-1]
Glib-- (glibmm) is a C++ interface for glib
[dermusikman@bugs ~]$ vim /tmp/herp3
[dermusikman@bugs ~]$ sudo pacman -S glibmm
resolving dependencies...
looking for conflicting packages...

Packages (1) glibmm-2.48.1-1

Total Download Size: 0.83 MiB
Total Installed Size: 5.33 MiB
Net Upgrade Size: 0.03 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages ...
glibmm-2.48.1-1-x86_64 848.3 KiB 541K/s 00:02 [###################################################################################] 100%
(1/1) checking keys in keyring [###################################################################################] 100%
(1/1) checking package integrity [###################################################################################] 100%
(1/1) loading package files [###################################################################################] 100%
(1/1) checking for file conflicts [###################################################################################] 100%
(1/1) checking available disk space [###################################################################################] 100%
(1/1) upgrading glibmm [###################################################################################] 100%
[dermusikman@bugs ~]$ ardour4
WARNING: Your system has a limit for maximum amount of locked memory!
This might cause Ardour to run out of memory before your system runs
out of memory. You can view the memory limit with 'ulimit -l', and it
is normally controlled by /etc/security/limits.conf

bind txt domain [gtk2_ardour4] to /usr/share/ardour4/locale
Ardour4.7.0 (built using 4.7 and GCC version 5.3.0)
ardour: [INFO]: Your system is configured to limit Ardour to only 4096 open files
ardour: [INFO]: Loading system configuration file /etc/ardour4/system_config
CPU vendor: GenuineIntel
ardour: [INFO]: AVX-capable processor
ardour: [INFO]: CPU brand: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz
ardour: [INFO]: Using SSE optimized routines
ardour: [INFO]: Loading default ui configuration file /etc/ardour4/default_ui_config
ardour: [INFO]: Loading color file /etc/ardour4/dark.colors
ardour: [INFO]: Loading ui configuration file /etc/ardour4/clearlooks.rc
ardour: [INFO]: Loading ui configuration file /etc/ardour4/clearlooks.rc
set default folder to /home/dermusikman

Loading...