Please update bin file to use boost 1.79
grive: error while loading shared libraries: libboost_filesystem.so.1.78.0: cannot open shared object file: No such file or directory
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.090577 |
First Submitted: | 2012-04-29 22:26 (UTC) |
Last Updated: | 2024-09-14 09:14 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 30 Next › Last »
Please update bin file to use boost 1.79
grive: error while loading shared libraries: libboost_filesystem.so.1.78.0: cannot open shared object file: No such file or directory
@edh Thank you so much!
Thanks for the comment. I fixed the checksum and am also now patching the source to compile again.
==> Validating source files with sha512sums...
grive-0.5.1.tar.gz ... Passed
binutils_compilation.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
-> error making: grive
When trying to install the latest version.
@hal3000 If you can nail down the commit that fixes your issue, I would be happy to backport it. Having said that, I think for this package it is actually better to always use the latest version, i.e. grive-git. Unfortunately things keep breaking for the stable release of grive.
After latest update I'm getting "unable to access shared file" error. However, building from source fixes problem (https://github.com/vitalif/grive2#manual-build)
good... now compile. thx
I backported the changes needed to compile grive. Sorry for the extremely long delay!
/home/simona/.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/simona/.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/simona/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc:127:40: error: cannot convert ‘bfd’ to ‘constasection’ {aka ‘const bfd_section’}
127 | bfd_size_type size = bfd_section_size(abfd, section);
| ^~~~
| |
| bfd
In file included from /home/simona/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc:26:
/usr/include/bfd.h:1219:35: note: initializing argument 1 of ‘bfd_size_type bfd_section_size(const asection)’
1219 | bfd_section_size (const asection sec)
| ~~~~~~~~~~~~~~~~^~~
make[2]: [libgrive/CMakeFiles/grive.dir/build.make:628: libgrive/CMakeFiles/grive.dir/src/bfd/SymbolInfo.cc.o] Errore 1
make[1]: * [CMakeFiles/Makefile2:213: libgrive/CMakeFiles/grive.dir/all] Errore 2
Giving error while compiling:
[ 86%] Building CXX object libgrive/CMakeFiles/grive.dir/src/bfd/SymbolInfo.cc.o /home/ozgur/.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/ozgur/.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/ozgur/.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/ozgur/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc:26: /usr/include/bfd.h:1219:35: note: initializing argument 1 of ‘bfd_size_type bfd_section_size(const asection)’ 1219 | bfd_section_size (const asection sec) | ~~~~~~~~~~~~~~~~^~~ make[2]: [libgrive/CMakeFiles/grive.dir/build.make:628: libgrive/CMakeFiles/grive.dir/src/bfd/SymbolInfo.cc.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [CMakeFiles/Makefile2:184: libgrive/CMakeFiles/grive.dir/all] Error 2 make: * [Makefile:149: all] Error 2 ==> ERROR: A failure occurred in 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.