Skip to content

Symbols not found while trying to run on Alpine Linux #486

@alanszlosek

Description

@alanszlosek

I've cloned the 4 repos, and have compiled and installed sugar (and sugar-datastore, sugar-artwork, sugar-toolkit-gtk3) on the latest Alpine Linux 3.21. I am seeing the following when I run sugar:

** (main.py:737): WARNING **: 19:25:35.422: Failed to load shared library 'libsugarext.so.0' referenced by the typelib: Error relocating /usr/local/lib/libsugarext.so.0: sugar_event_controller_reset: symbol not found
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/local/lib/python3.12/site-packages/jarabe/main.py", line 68, in <module>
    from jarabe.view import keyhandler
  File "/usr/local/lib/python3.12/site-packages/jarabe/view/keyhandler.py", line 26, in <module>
    from jarabe.model.sound import sound
  File "/usr/local/lib/python3.12/site-packages/jarabe/model/sound.py", line 31, in <module>
    class PlaybackSound(object):
  File "/usr/local/lib/python3.12/site-packages/jarabe/model/sound.py", line 32, in PlaybackSound
    _volume = SugarExt.VolumeAlsa.new(_PLAYBACK)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: g-invoke-error-quark: Could not locate acme_volume_alsa_new: 'acme_volume_alsa_new': Symbol not found: acme_volume_alsa_new (1)

Do you have any pointers on what I should do next?

If I'm understanding the errors correctly, it seems the typelib might not reflect what's in the shared libraries, but I'm not certain.

Do you have any guidance on how I can investigate and fix?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions