You are not logged in.

#1 2013-12-27 12:57:14

SuperV1234
Member
From: Italy
Registered: 2013-07-02
Posts: 14
Website

"google-chrome" doesn't work with latest "libgcrypt"

$ 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

#2 2013-12-27 13:08:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: "google-chrome" doesn't work with latest "libgcrypt"

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

#3 2013-12-27 13:35:29

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: "google-chrome" doesn't work with latest "libgcrypt"

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 packagesZsh and other configs

Offline

#4 2013-12-27 13:38:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: "google-chrome" doesn't work with latest "libgcrypt"

graysky wrote:

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

#5 2013-12-27 13:47:53

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: "google-chrome" doesn't work with latest "libgcrypt"

karol wrote:

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 packagesZsh and other configs

Offline

#6 2013-12-27 13:56:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: "google-chrome" doesn't work with latest "libgcrypt"

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

#7 2013-12-27 15:03:33

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: "google-chrome" doesn't work with latest "libgcrypt"

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

#8 2013-12-27 15:04:17

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: "google-chrome" doesn't work with latest "libgcrypt"

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

#9 2014-01-31 01:34:17

djmwj1
Member
Registered: 2013-10-04
Posts: 32

Re: "google-chrome" doesn't work with latest "libgcrypt"

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

#10 2014-01-31 01:48:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: "google-chrome" doesn't work with latest "libgcrypt"

Rebuilding means running makepkg. Download the new PKGBUILD from https://aur.archlinux.org/packages/google-chrome/

Offline

#11 2014-01-31 02:27:59

djmwj1
Member
Registered: 2013-10-04
Posts: 32

Re: "google-chrome" doesn't work with latest "libgcrypt"

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

#12 2014-01-31 02:35:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: "google-chrome" doesn't work with latest "libgcrypt"

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

#13 2014-02-04 03:03:38

kiawin
Member
From: Klang, Malaysia
Registered: 2013-06-29
Posts: 5
Website

Re: "google-chrome" doesn't work with latest "libgcrypt"

@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

Board footer

Powered by FluxBB