[ 86%] Building CXX object libgrive/CMakeFiles/grive.dir/src/bfd/SymbolInfo.cc.o /home/helio/.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/helio/.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/helio/.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/helio/.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:629: libgrive/CMakeFiles/grive.dir/src/bfd/SymbolInfo.cc.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [CMakeFiles/Makefile2:185: libgrive/CMakeFiles/grive.dir/all] Error 2 make: [Makefile:150: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... Error making: grive
Search Criteria
Package Details: grive 0.5.3-2
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: | 286 |
Popularity: | 0.001457 |
First Submitted: | 2012-04-29 22:26 (UTC) |
Last Updated: | 2023-01-23 14:24 (UTC) |
Dependencies (12)
- boost-libs (boost-libs-gitAUR)
- curl (curl-quiche-gitAUR, curl-gitAUR, curl-http3-ngtcp2AUR, curl-c-aresAUR)
- expat (expat-gitAUR)
- gcc-libs (gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-gitAUR)
- 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 (3)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 29 Next › Last »
insign commented on 2020-06-12 01:31 (UTC)
davama commented on 2020-05-19 15:10 (UTC)
I also saw the error on two if my arch installations:
grive: error while loading shared libraries: libjson-c.so.4: cannot open shared object file: No such file or directory
Updated my computers, reinstalled json-c, rebooted, and rebuild grive from git and all is well in the world again
alfredo.ardito commented on 2020-05-14 09:32 (UTC)
After getting the error about libjson-c.so.4 missing, I tried to reinstall the package with yay and then tried again with a clean build and got this error:
error: cannot convert ‘bfd’ to ‘const asection’ {aka ‘const bfd_section*’}
127 | bfd_size_type size = bfd_section_size(abfd, section);
thehungryturnip commented on 2020-05-13 00:44 (UTC)
@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.
Hemular commented on 2020-05-12 20:51 (UTC) (edited on 2020-05-12 20:52 (UTC) by Hemular)
@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
thehungryturnip commented on 2020-05-06 14:59 (UTC)
+1 to the error experienced by @coxackie and @sadid
coxackie commented on 2020-05-04 18:13 (UTC)
I am getting similar error as @sadid
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
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.