FS#51959 - [sqlite] linker error
Attached to Project:
Arch Linux
Opened by Baudouin Feildel (amdg) - Saturday, 26 November 2016, 10:28 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 28 November 2016, 21:12 GMT
Opened by Baudouin Feildel (amdg) - Saturday, 26 November 2016, 10:28 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 28 November 2016, 21:12 GMT
|
Details
Description:
The sqlite package is installed and up-to-date, but when I try to compile some applications (qgis and nextcloud-client) the link stage failed. The linker say that he can't find reference to function in sqlite: With qgis: CMakeFiles/virtuallayerprovider.dir/qgsvirtuallayersqlitemodule.cpp.o : Dans la fonction « qgsvlayerModuleInit » : qgsvirtuallayersqlitemodule.cpp:(.text+0x1a0e) : référence indéfinie vers « sqlite3_create_module_v2 » collect2: erreur : ld a retourné 1 code d'état d'exécution With nextcloud-client: ../../csync/src/libocsync.so.2.2.4 : référence indéfinie vers « sqlite3_threadsafe » collect2: erreur : ld a retourné 1 code d'état d'exécution I tried to locate these two methods in the sqlite object file, and I found them: # objdump -TC /usr/lib/libsqlite3.so | grep sqlite3_create_module_v2 00000000000d9410 g DF .text 0000000000000005 Base sqlite3_create_module_v2 # objdump -TC /usr/lib/libsqlite3.so | grep sqlite3_threadsafe 00000000000863f0 g DF .text 0000000000000006 Base sqlite3_threadsafe I am not sure if this is related to the SQLite package. Additional info: * package version(s) : core/sqlite 3.15.1-2 Steps to reproduce: download PKGBUILD from AUR for QGis and Nextcloud-Client and try to compile |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Monday, 28 November 2016, 21:12 GMT
Reason for closing: Works for me
Monday, 28 November 2016, 21:12 GMT
Reason for closing: Works for me
https://aur.archlinux.org/packages/qgis/?comments=all#comment-556544
https://bugs.archlinux.org/task/45091
The bug was closed, but it seems that the error is not related to the compilation flag.
I will try with a clean chroot. To get one I just have to do as if I was installing archlinux ?