New issue
Advanced search Search tips

Issue 13425 link

Starred by 15 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jun 2009
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug

Restricted
  • Only users with Commit permission may comment.



Sign in to add a comment

error while loading shared libraries: libnss3.so.1d: on Gentoo, Chrome, Linux

Reported by zdav...@gmail.com, Jun 5 2009

Issue description

Chrome Version: Lastest download from
http://www.google.com/chrome/intl/en/eula_dev.html?dl=unstable_i386_deb

When I want to start Chrome I get:

/tmp/opt/google/chrome> ./google-chrome 
/tmp/opt/google/chrome/chrome: error while loading shared libraries:
libnss3.so.1d: cannot open shared object file: No such file or directory

Obviously on Gentoo there is a different name for the 

libnss3.so.1d

it may just be called 

libnss3.so

I am on Gentoo:

/tmp/opt/google/chrome> emerge --info
Portage 2.2_rc33 (!/usr/portage/profiles/default-linux/x86/2007.0/,
gcc-4.1.2, glibc-2.6.1-r0, 2.6.30-rc7-00014-gb18f1e2 i686)
=================================================================
System uname:
Linux-2.6.30-rc7-00014-gb18f1e2-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.0
Timestamp of tree: Mon, 01 Jun 2009 06:00:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0-r2
sys-apps/openrc:     0.4.2-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/
/etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned
sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_CH.UTF-8"
LDFLAGS=""
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/zeno/.software/portage-new"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac accessibility acl apache2 berkdb boost cairo cgi cjk crypt ctype
cups curl dbus deprecated discouraged dri encode ffmpeg foomaticdb fortran
gcj gd gdm gnome gpgme gpm gs gtk gtkhtml iconv imagemagick imlib immqt
ipv6 jfs jpeg lua maildir midi mime mmx mp4 mpeg2 mplayer mudflap mysql
mysqli nautilus ncurses nls nptl nptlonly nsplugin openmp openssh openssl
opera pam pcre pda perl php png pop ppds python qt-static quicktime
readline real realmedia regex rpm sasl sdl sdl-image sdl-sound sdlaudio
session skins spreadsheet ssl svg tcpd threads thumbnail tk tracker
truetype unicode utf8 vhook vhosts wv wxwindows x86 xml xorg xvid zip zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1
  emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m
     maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug
file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi
null plug rate route share shm softvol" APACHE2_MODULES="actions alias
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file
authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user
autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires
ext_filter file_cache filter headers include info log_config logio
mem_cache mime mime_magic negotiation rewrite setenvif speling status
unique_id userdir usertrack vhost_alias" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

so it would be great if you could supply a package for Gentoo as well or
just make the source code available same like with Firefox. There is more
to Linux then just .deb.

Thank you.

Best
Zeno

 

Comment 1 by Deleted ...@, Jun 5 2009

Ok, i had the same problem as you when i tryed so i found some solutions

My errors are :
moi@zentoo $ google-chrome
/opt/google/chrome/chrome: error while loading shared libraries: libnss3.so.1d:
cannot open shared object file: No such file or directory
moi@zentoo $ google-chrome
/opt/google/chrome/chrome: error while loading shared libraries: libnssutil3.so.1d:
cannot open shared object file: No such file or directory
moi@zentoo $ google-chrome
/opt/google/chrome/chrome: error while loading shared libraries: libsmime3.so.1d:
cannot open shared object file: No such file or directory
moi@zentoo $ google-chrome
/opt/google/chrome/chrome: error while loading shared libraries: libssl3.so.1d:
cannot open shared object file: No such file or directory
moi@zentoo $ google-chrome
/opt/google/chrome/chrome: error while loading shared libraries: libplds4.so.0d:
cannot open shared object file: No such file or directory
moi@zentoo $

Solutions

some of thoses libraries exist already if you installed nsslib
you just need to make virtual liks as following



zentoo # ln -s  /usr/lib/nss/libnss3.so /usr/lib/nss/libnss3.so.1d

zentoo # ln -s  /usr/lib/nss/libnssutil3.so.12 /usr/lib/libnssutil3.so.1d
zentoo # ln -s  /usr/lib/nss/libsmime3.so.12 /usr/lib/libsmime3.so.1d
zentoo # ln -s  /usr/lib/nss/libssl3.so.12 /usr/lib/libssl3.so.1d



for libplds you need to emerge "emerge -v dev-libs/nspr" as indicated here :
http://bugs.gentoo.org/show_bug.cgi?id=38379

then create the simbolic linkszentoo # ln -s  /usr/lib/nspr/libplds4.so
/usr/lib/libplds4.so.0d
zentoo # ln -s  /usr/lib/nspr/libplc4.so /usr/lib/libplc4.so.0d
zentoo # ln -s  /usr/lib/nspr/libnspr4.so /usr/lib/libnspr4.so.0d


and finaly i got this message 
/opt/google/chrome/chrome: /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6:
version `GLIBCXX_3.4.9' not found (required by /opt/google/chrome/chrome)


i'm done i wil try later and this time i'm going to recompile the wole thing i think
it would be quiker

Anyway try to finish if you can



Comment 2 by Deleted ...@, Jun 5 2009

i got it to work with the following:
dev-libs/nspr-4.7.4
dev-libs/nss-3.12.3
sys-devel/gcc-4.3.3-r2
ln -s /usr/lib/nss/libnss3.so /usr/lib/libnss3.so.1d
ln -s /usr/lib/nss/libnssutil3.so.12 /usr/lib/libnssutil3.so.1d
ln -s /usr/lib/nss/libsmime3.so.12 /usr/lib/libsmime3.so.1d
ln -s /usr/lib/nss/libssl3.so.12 /usr/lib/libssl3.so.1d
ln -s /usr/lib/nspr/libplds4.so /usr/lib/libplds4.so.0d
ln -s /usr/lib/nspr/libplc4.so /usr/lib/libplc4.so.0d
ln -s /usr/lib/nspr/libnspr4.so /usr/lib/libnspr4.so.0d
@zalim.mohamed: i think your glibcxx error comes from having an older gcc
Labels: -OS-All OS-Linux

Comment 4 by zdav...@gmail.com, Jun 6 2009

Thanks for all the good hints, I will try them. I am also trying to install Chromium
with the Custom Ebuild you can find here:

http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-0_p17178.ebuild?view=markup

glibc-2.9 and gcc-4.3.3-latest are still compiling. ;)

Best
Zeno

Comment 5 by zdav...@gmail.com, Jun 6 2009

After all this compilation I am getting this error as well:

/usr/local/portage/www-client/chromium-bin> chromium-bin 
./chrome: /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6: version
`GLIBCXX_3.4.9' not found (required by ./chrome)

Any hints? I am on the latest glibc (2.9_p20081201-r2) and gcc (gcc-4.3.3-r2),
although gcc --version shows me: 4.1.2 (Gentoo 4.1.2 p1.1)

Interesting.

Comment 6 by zdav...@gmail.com, Jun 6 2009

I hope this should help:

~> gcc-config -l
 [1] i686-pc-linux-gnu-3.3.6
 [2] i686-pc-linux-gnu-4.1.2 *
 [3] i686-pc-linux-gnu-4.3.3
~> gcc-config i686-pc-linux-gnu-4.3.3
* gcc-config: Must be root.
~> sudo gcc-config i686-pc-linux-gnu-4.3.3

Best
Zeno

Comment 7 by zdav...@gmail.com, Jun 6 2009

Ok, this works for me!

Chromium ist Online now for Gentoo on my Linux-Box!

;)

Best
Zeno

Comment 8 by zdav...@gmail.com, Jun 6 2009

Do you know where Gentoo puts the /etc/ Folder of Chromium, from where Chromium checks 
for the daily updates?

Best
Zeno

Comment 9 by agl@chromium.org, Jun 6 2009

Status: WontFix
I'm going to mark this as WontFix, not because Gentoo isn't important, but because 
you're pulling apart a Ubuntu package and some difficulities are to be expected. In 
time, I'm sure Gentoo will have an official ebuild for Chromium. We're happy to help 
with any packaging efforts.

Thanks for all those posting helpful comments here: they'll continue to show up in the 
searchs for this topic.
Granted this isn't for Gentoo, but here's another workaround for installing chromium
on 64bit "Ubuntu 8.04 - the Hardy Heron":

- Download getlibs-all.deb from http://frozenfox.freehostia.com/cappy/
- Install the debian package using dpkg or Gdebi
- run: machine:/opt/google/chrome$ getlibs ./chrome

You should get the following output:

libnss3.so.1d: libnss3-1d
libnssutil3.so.1d: libnss3-1d
libsmime3.so.1d: libnss3-1d
libssl3.so.1d: libnss3-1d
libplds4.so.0d: libnspr4-0d
libplc4.so.0d: libnspr4-0d
libnspr4.so.0d: libnspr4-0d
The following i386 packages will be installed:
libnspr4-0d
libnss3-1d
Continue [Y/n]? Y
Downloading ...
Installing libraries ...

- Last, start chrome, machine:/opt/google/chrome$ ./chrome

Comment 11 by Deleted ...@, Jul 17 2009

Great, that last one with getlibs saved my life - I am running ubuntu 8.04, same
problem appeared following some OS updates, so after running 

machine:/opt/google/chrome$ getlibs ./chrome 

I got:

libnss3.so.1d: libnss3-1d
libnssutil3.so.1d: libnss3-1d
libsmime3.so.1d: libnss3-1d
libssl3.so.1d: libnss3-1d
libplds4.so.0d: libnspr4-0d
libplc4.so.0d: libnspr4-0d
libnspr4.so.0d: libnspr4-0d
The following i386 packages will be installed:
libnspr4-0d
libnss3-1d
Continue [Y/n]? Y
Downloading ...
Installing libraries ...

And voila, google-chrome is running as usual. Thanks onepremise, great tip!
The current unstable version of Chromium obtained from Portage by unmasking using the
~x86 keyword is incompatible with the unstable NSS library unmasked using the ~x86
keyword. If you have ACCEPT_KEYWORDS=~x86, make sure you hard mask NSS to get the
older version that works with Chromium.

Comment 13 by Deleted ...@, Jan 19 2010

warning: ///home/ashley/Desktop/google-chrome-beta_current_i386(2).rpm: Header V3 DSA
signature: NOKEY, key ID 7fac5991
error: Failed dependencies:
	lsb >= 3.2 is needed by google-chrome-beta-4.0.249.43-34537.i386
	libasound.so.2 is needed by google-chrome-beta-4.0.249.43-34537.i386
	libcairo.so.2 is needed by google-chrome-beta-4.0.249.43-34537.i386
	libgconf-2.so.4 is needed by google-chrome-beta-4.0.249.43-34537.i386
	libnss3.so(NSS_3.12.3) is needed by google-chrome-beta-4.0.249.43-34537.i386
	libpangocairo-1.0.so.0 is needed by google-chrome-beta-4.0.249.43-34537.i386
	libsqlite3.so.0 is needed by google-chrome-beta-4.0.249.43-34537.i386
	xdg-utils is needed by google-chrome-beta-4.0.249.43-34537.i386
	wget is needed by google-chrome-beta-4.0.249.43-34537.i386
	/bin/sh is needed by google-chrome-beta-4.0.249.43-34537.i386
RESULT=1


this is what I get - even though I have half of these programs in the correct place!
trying to install google chrome, but it does not seam to get along with linux just
yet - any suggestions? when you click off checking for dependancies the error you get
is: 

warning: ///home/ashley/Desktop/google-chrome-beta_current_i386(2).rpm: Header V3 DSA
signature: NOKEY, key ID 7fac5991
</ashley/Desktop/google-chrome-beta_current_i386(2).rpm';echo RESULT=$?
error: %post(google-chrome-beta-4.0.249.43-34537.i386) scriptlet failed, exit status 1
RESULT=1

I have tried to set up the links but how do you link something to where it should be?
does anyone know where chrome is looking for these files? 

Comment 14 by Deleted ...@, Jan 19 2010

warning: ///home/ashley/Desktop/google-chrome-beta_current_i386(2).rpm: Header V3 DSA
signature: NOKEY, key ID 7fac5991
error: Failed dependencies:
	lsb >= 3.2 is needed by google-chrome-beta-4.0.249.43-34537.i386
	libasound.so.2 is needed by google-chrome-beta-4.0.249.43-34537.i386
	libcairo.so.2 is needed by google-chrome-beta-4.0.249.43-34537.i386
	libgconf-2.so.4 is needed by google-chrome-beta-4.0.249.43-34537.i386
	libnss3.so(NSS_3.12.3) is needed by google-chrome-beta-4.0.249.43-34537.i386
	libpangocairo-1.0.so.0 is needed by google-chrome-beta-4.0.249.43-34537.i386
	libsqlite3.so.0 is needed by google-chrome-beta-4.0.249.43-34537.i386
	xdg-utils is needed by google-chrome-beta-4.0.249.43-34537.i386
	wget is needed by google-chrome-beta-4.0.249.43-34537.i386
	/bin/sh is needed by google-chrome-beta-4.0.249.43-34537.i386
RESULT=1


this is what I get - even though I have half of these programs in the correct place!
trying to install google chrome, but it does not seam to get along with linux just
yet - any suggestions? when you click off checking for dependancies the error you get
is: 

warning: ///home/ashley/Desktop/google-chrome-beta_current_i386(2).rpm: Header V3 DSA
signature: NOKEY, key ID 7fac5991
</ashley/Desktop/google-chrome-beta_current_i386(2).rpm';echo RESULT=$?
error: %post(google-chrome-beta-4.0.249.43-34537.i386) scriptlet failed, exit status 1
RESULT=1

I have tried to set up the links but how do you link something to where it should be?
does anyone know where chrome is looking for these files? 

Comment 15 by zdav...@gmail.com, Oct 13 2010

@sangoule - I just ran across the same problem again on Gentoo your your "ln -s" solved the problem. Out of some reason I can not download the latest chromium-bin from Gentoo.
Project Member

Comment 16 by bugdroid1@chromium.org, Oct 12 2012

Labels: Restrict-AddIssueComment-Commit
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.

Sign in to add a comment