Hi,
maybe someone can help me with an error during compilation:
[ 88%] Linking CXX executable seafile-applet
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../lib/libgio-2.0.so: undefined reference to `g_module_open_full'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/seafile-applet.dir/build.make:4004: seafile-applet] Error 1
make[1]: *** [CMakeFiles/Makefile2:987: CMakeFiles/seafile-applet.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
I build the package with "makepkg -fsri". When I check to see if the symbol is available, I find it:
readelf -Ws --dyn-syms /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../lib/libgio-2.0.so | grep g_module_open_full
417: 0000000000000000 0 FUNC GLOBAL DEFAULT UND g_module_open_full
Does anyone know how I can solve the problem?
Pinned Comments
Joffrey commented on 2021-05-30 20:06 (UTC) (edited on 2021-05-30 20:11 (UTC) by Joffrey)
Please, when you have compilation or execution errors, recompile each component without using an AUR helper before reporting an issue.