You are not logged in.
$ google-chrome
/usr/bin/google-chrome: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
I solved the issue by downgrading libgcrypt (using the one from the core repos)
Offline
google-chrome is not in the official repos, so you need to recompile it against the new library yourself or wait until the maintainers of some unofficial repo you use will do that.
Offline
K - I think google-chrome is precompiled. Look at the PKGBUILD. My advice to the op would be to use community/chromium or AUR/chromium-scroll-pixels as these are build from source.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Look at the PKGBUILD.
#if [ $(pacman -Q libgcrypt | cut -d " " -f2 | tr -d .-) -ge 1601 ]; then
msg2 "Installing compatible Gcrypt lib"
install -m755 "$startdir"/libgcrypt-$CARCH.so.11 "$pkgdir"/opt/google/chrome/libgcrypt.so.11
#fi
Offline
google-chrome is not in the official repos, so you need to recompile it against the new library yourself or wait until the maintainers of some unofficial repo you use will do that.
@K - No offense intended, but you advised the op to recompile it... technically, that verb is incorrect since the makepkg is just unpacking/repacking as stated in the code you posted. I wanted to make it clear that the alternatives I mentioned are compiled from source rather than built elsewhere and redistributed. Slightly O/T but it seems like a better option for this pkg would be to symlink /usr/lib/libgcrypt.so.11 to "$pkgdir"/opt/google/chrome/libgcrypt.so.11
Last edited by graysky (2013-12-27 13:48:49)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I'm sorry, graysky, I didn't mean to argue. You're right and it was my mistake, sorry if my post looks like I'm stubbornly trying to prove my point - that wasn't my intention.
I completely forgot that chrome is closed source and just went with the standard response, thanks for reminding me and thanks for suggesting chromium.
I'm getting a nice big mug of coffee, so hopefully no more brainfarts today :-)
Offline
For anyone else experiencing this problem, you merely need to rebuild. Det modified the PKGBUILD to install the old version of the lib for Chrome only. See the AUR page for details.
Edit: fix wording
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Apart from all that, this is an elementary issue, and users of the testing repo are expected at the very least to recognise such issues, and preferably to solve them themselves, providing appropriate feedback to the Arch dev team as required.
Additionally in this case, users who decide to use unofficial packages are solely responsible for any issues affecting those packages.
Offline
Ok so i have an extremely noob question. How do you rebuild the package? I have the chrome .pkg.tar file in my built packages folder. Do i need this? Or do i uninstall using pacman and then install as if it was never installed. I am looking through the wiki but if someone could help point me in the right direction i would appreciate it. Thanks.
Offline
Rebuilding means running makepkg. Download the new PKGBUILD from https://aur.archlinux.org/packages/google-chrome/
Offline
Thanks!
I am receiving the error :
error: target not found: libgcrypt15
==> ERROR: 'pacman' failed to install missing dependencies.
How do i tell pacman where to find the older libgcrypt?
Offline
pacman can automatically install packages from official and unofficial repositories, but not ones from the AUR.
You first have to build and install all makedependencies and dependencies.
libgcrypt15 is in the AUR: https://aur.archlinux.org/packages/libgcrypt15/
Offline
@djmwj1,
If you use yaourt, it will help you resolve the dependencies. I faced similar problem and what I do is just the following
yaourt -S google-chrome
And it will resolve its dependencies and install libgcrypt15 (as the latest arch uses 16 which is unsupported by Google Chrome)
==> google-chrome dependencies:
- alsa-lib (already installed)
- desktop-file-utils (already installed)
- flac (already installed)
- gconf (already installed)
- gtk2 (already installed)
- harfbuzz (already installed)
- harfbuzz-icu (already installed)
- hicolor-icon-theme (already installed)
- icu (already installed)
- libpng (already installed)
- libxss (already installed)
- libxtst (already installed)
- nss (already installed)
- opus (already installed)
- snappy (already installed)
- speech-dispatcher (already installed)
- ttf-font (already installed)
- xdg-utils (already installed)
- libgcrypt15 (building from AUR)
Last edited by kiawin (2014-02-04 03:04:05)
Offline