I am getting similar error as @sadid
Search Criteria
Package Details: grive 0.5.3-3
Package Actions
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: | 282 |
Popularity: | 0.086887 |
First Submitted: | 2012-04-29 22:26 (UTC) |
Last Updated: | 2024-09-14 09:14 (UTC) |
Dependencies (12)
- boost-libs
- curl (curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- expat (expat-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- json-c (json-c-gitAUR)
- libgcrypt
- yajl (yajl-gitAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- binutils (optional) – backtrace and libiberty
- cppunit (optional) – unit tests
- inotify-tools (inotify-tools-gitAUR) (optional) – scheduled syncs and syncs on file change events
Required by (0)
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 30 Next › Last »
coxackie commented on 2020-05-04 18:13 (UTC)
sadid commented on 2020-05-02 08:59 (UTC)
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.
davama commented on 2020-04-08 15:30 (UTC)
@pmatts & @electra
use git, as the maintainer suggested.... it works
pmatts commented on 2020-04-01 12:17 (UTC)
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...
electra commented on 2020-03-22 09:52 (UTC)
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().
davama commented on 2020-03-17 20:23 (UTC)
@edh thanks for the input I have no problem using git. Thank you for the support
edh commented on 2020-03-16 16:09 (UTC)
@davama Thanks for the report. I can reproduce your problem. Lucilly, the latest commit works though. Unfortunately, as of now I have only very little spare time at hand and will probably not be able to backport the commit that makes the current version for grive work in the next couple of days. For now, I would recommend checking out grive-git instead.
davama commented on 2020-03-16 15:55 (UTC) (edited on 2020-03-16 15:56 (UTC) by davama)
[ 82%] Building CXX object libgrive/CMakeFiles/grive.dir/src/bfd/Backtrace.cc.o
[ 84%] Building CXX object libgrive/CMakeFiles/grive.dir/src/bfd/Debug.cc.o
[ 86%] Building CXX object libgrive/CMakeFiles/grive.dir/src/bfd/SymbolInfo.cc.o
/home/dmacias/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/dmacias/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/dmacias/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/dmacias/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:609: libgrive/CMakeFiles/grive.dir/src/bfd/SymbolInfo.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/dmacias/grive/src/grive2-0.5.1/build'
make[1]: *** [CMakeFiles/Makefile2:165: libgrive/CMakeFiles/grive.dir/all] Error 2
make[1]: Leaving directory '/home/dmacias/grive/src/grive2-0.5.1/build'
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Tried with pacaur -S grive
and using the PKGBUILD file makepkg -i
with the same result.
Note sure how to fix... any input is appreciated?
Thanks
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.