@Hemular
When trying to clean-build the package I get the error encountered by @pmatts.
I switched to using grive-git and it does build successfully and runs without error.
Git Clone URL: | https://aur.archlinux.org/grive.git (read-only, click to copy) |
---|---|
Package Base: | grive |
Description: | An open source Linux client for Google Drive with support for the new Drive REST API and partial sync |
Upstream URL: | https://github.com/vitalif/grive2 |
Keywords: | drive Google grive2 sync vitalif |
Licenses: | GPL2 |
Submitter: | mrbit |
Maintainer: | edh |
Last Packager: | edh |
Votes: | 283 |
Popularity: | 0.21 |
First Submitted: | 2012-04-29 22:26 (UTC) |
Last Updated: | 2025-05-04 13:41 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 30 Next › Last »
@Hemular
When trying to clean-build the package I get the error encountered by @pmatts.
I switched to using grive-git and it does build successfully and runs without error.
@coxackie @sadid @thehungryturnip and anyone else experiencing the libjson-c.so.4
error, update your system, reboot and rebuild grive. It should grab the correct libjson-c.so
automatically
+1 to the error experienced by @coxackie and @sadid
I am getting similar error as @sadid
I get this when try to run grive:
grive: error while loading shared libraries: libjson-c.so.4: cannot open shared object file: No such file or directory
The system libjson is libjson-c.so.5
. It probably can be solved with a symlink but it better to be handle in the build.
@pmatts & @electra
use git, as the maintainer suggested.... it works
I'm getting error:
[ 86%] Building CXX object libgrive/CMakeFiles/grive.dir/src/bfd/SymbolInfo.cc.o /home/x/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc: In static member function ‘static void gr::SymbolInfo::BacktraceInfo::Callback(bfd*, asection*, void*)’: /home/x/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc:121:16: error: ‘bfd_get_section_vma’ was not declared in this scope; did you mean ‘bfd_set_section_vma’? 121 | bfd_vma vma = bfd_get_section_vma(abfd, section); | ^~~~~~~~~~~~~~~~~~~ | bfd_set_section_vma /home/x/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc:127:40: error: cannot convert ‘bfd*’ to ‘const asection*’ {aka ‘const bfd_section*’} 127 | bfd_size_type size = bfd_section_size(abfd, section); | ^~~~ | | | bfd* In file included from /home/x/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc:26: /usr/include/bfd.h:1205:35: note: initializing argument 1 of ‘bfd_size_type bfd_section_size(const asection*)’ 1205 | bfd_section_size (const asection *sec) | ~~~~~~~~~~~~~~~~^~~ make[2]: *** [libgrive/CMakeFiles/grive.dir/build.make:626: libgrive/CMakeFiles/grive.dir/src/bfd/SymbolInfo.cc.o] Error 1 make[2]: Leaving directory '/home/x/.cache/yay/grive/src/grive2-0.5.1/build' make[1]: *** [CMakeFiles/Makefile2:182: libgrive/CMakeFiles/grive.dir/all] Error 2 make[1]: Leaving directory '/home/x/.cache/yay/grive/src/grive2-0.5.1/build' make: *** [Makefile:147: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
Not install. make[2]: [libgrive/CMakeFiles/grive.dir/build.make:609: libgrive/CMakeFiles/grive.dir/src/bfd/SymbolInfo.cc.o] Ошибка 1 make[2]: Ожидание завершения заданий… make[2]: выход из каталога «/var/tmp/pamac-build-electra/grive/src/grive2-0.5.1/build» make[1]: [CMakeFiles/Makefile2:165: libgrive/CMakeFiles/grive.dir/all] Ошибка 2 make[1]: выход из каталога «/var/tmp/pamac-build-electra/grive/src/grive2-0.5.1/build» make: [Makefile:130: all] Ошибка 2 ==> ОШИБКА: Произошел сбой в build().
Pinned Comments
edh commented on 2023-10-11 23:00 (UTC)
If you encounter errors similar to
error [...] loading shared libraries
, you most likely need to rebuilt the grive package. Usually no further action is needed except for forcing a rebuilt.The error is due to grive having been built against an older version of the library mentioned in the error message. The library has likely since been updated by
pacman
and grive need to be made aware of this by rebuilding it.