You are not logged in.

#1 2021-11-08 08:59:41

TimeOrange
Member
Registered: 2021-10-01
Posts: 5

undefined symbol in libgio-2.0.so.0

I download appimage for OnlyOffice (I prefer appimage to AUR as I just need it just for read some files)

But I got an error:
Symbol lookup error : /usr/lib/libgio-2.0.so.0: undefined symbol : g_module_open_full

So I check a .so file :
ls -l  shows
/usr/lib/libgio-2.0.so.0 -> libgio-2.0.so.0.7000.1

$ nm /usr/lib/libgio-2.0.so.0 -gDC | grep module
000000000006f9b0 T g_io_module_get_type
000000000006fa10 T g_io_module_new
000000000006f8b0 T g_io_module_scope_block
000000000003a0d0 T g_io_module_scope_flags_get_type
000000000006f880 T g_io_module_scope_free
000000000006f830 T g_io_module_scope_new
000000000006fb80 T g_io_modules_load_all_in_directory
000000000006fa80 T g_io_modules_load_all_in_directory_with_scope
000000000006ffe0 T g_io_modules_scan_all_in_directory
000000000006fc40 T g_io_modules_scan_all_in_directory_with_scope
                 U g_module_close
                 U g_module_error
                 U g_module_open_full
                 U g_module_supported
                 U g_module_symbol
                 U g_type_module_get_type
                 U g_type_module_unuse
                 U g_type_module_use

It seems .so not defined this symbol

How can I solve this problem?
Is there any risk if I choose to re-compile a new .so file ?

Offline

#2 2021-11-08 09:41:47

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,232

Re: undefined symbol in libgio-2.0.so.0

So the appimage does not fullfil it's desired purpose: to be runnable independently from the underlying OS. File a bug report against the makers of that appimage, or use the package from the AUR.

I also do not get your reasoning: What makes an appimage preferable over a real package if you "just need it for read some files"?

Please do not try to tinker your system's .so files for an appimage. It will most probably break your system.

Offline

#3 2021-11-08 11:16:20

TimeOrange
Member
Registered: 2021-10-01
Posts: 5

Re: undefined symbol in libgio-2.0.so.0

I'm so sorry I didn't make it clear:

What I need is a software to browse some sildes and .docx files (no editing).
I've tried LibreOffice, but  it fails to meet my requiremnets
And I wanna give OnlyOffice a try then

I would not use them frequently. So I think appimage may be more convenient in that case.

Offline

#4 2021-11-08 17:50:30

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,232

Re: undefined symbol in libgio-2.0.so.0

Obviously not. Use the AUR package then.

Offline

#5 2021-11-08 21:18:22

seth
Member
Registered: 2012-09-03
Posts: 26,666

Re: undefined symbol in libgio-2.0.so.0

You could try to LD_PRELOAD /usr/lib/libgmodule-2.0.so, but Stefan is right - at this point you're trying to actively defeat the entire purpose of the appimage, because the appimage doesn't work and the consequences of that are also unpredictable.
=> Don't use the appimage itfp.

I've tried LibreOffice, but  it fails to meet my requiremnets

And is being able to execute the program one of your requirements…?

Online

#6 2021-11-09 11:34:01

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,232

Re: undefined symbol in libgio-2.0.so.0

Offline

Board footer

Powered by FluxBB