error libnss3.so not found on launch

Asked by Gregor Rosenauer

When trying to launch Chromium on Debian/Sid x64 with ia32-libs installed, I get an error that libnss3 was not found.

Question information

Language:
English Edit question
Status:
Solved
For:
Chromium Browser Edit question
Assignee:
No assignee Edit question
Solved by:
Gregor Rosenauer
Solved:
Last query:
Last reply:
Revision history for this message
Gregor Rosenauer (grexe) said :
#1

The dependency for the package ia32libs-nss3 is missing from the chromium-browser package description.
(now the browser launches, but does not display any page (always get the "aw" error tab)... it's a daily build from today, 2009-05-15)

Revision history for this message
Fabien Tassin (fta) said :
#2

On Ubuntu, this dep is not needed. nss is in our ia32libs package since intrepid and it's in ia32-libs-chromium-browser for hardy.

About the other error, do you mean you get an empty page? Try installing msttcorefonts.
You may not like it but it's a mandatory dep for now.
We are trying to get rid of it: http://code.google.com/p/chromium/issues/detail?id=10665

Revision history for this message
Gregor Rosenauer (grexe) said :
#3

I have all dependencies installed - thanks for the info on ubuntu packaging, did not know it was different, I'm using Sidux (~Debian sid "stabilized").

Regardless of what I do, I always get the angry tab ("aw something went wrong").
After leaving the browser open for 5 minutes, it crashed:

grexe@grexbox:~/$ chromium-browser
/usr/lib/chromium-browser/chrome: symbol lookup error: /usr/lib/chromium-browser/chrome: undefined symbol: FT_Get_Advance
[22007:22007:4844000560:ERROR:/build/buildd/chromium-browser-2.0.182.0~svn20090520r16487/build-tree/src/chrome/common/temp_scaffolding_stubs.h(109)] Not implemented reached in bool printing::PrintViewManager::OnRenderViewGone(RenderViewHost*)
/usr/lib/chromium-browser/chrome: symbol lookup error: /usr/lib/chromium-browser/chrome: undefined symbol: FT_Get_Advance
[22007:22007:4852864100:ERROR:/build/buildd/chromium-browser-2.0.182.0~svn20090520r16487/build-tree/src/chrome/common/temp_scaffolding_stubs.h(109)] Not implemented reached in bool printing::PrintViewManager::OnRenderViewGone(RenderViewHost*)
memory access violation (or "core dumped" / segfault - German translation is "Speicherzugriffsfehler")

Revision history for this message
Fabien Tassin (fta) said :
#4

Sorry, I can't support Sidux or Debian.

The undefined symbol is clearly caused by different versions of some libs (here fontconfig).
I'm afraid you have to rebuild the package on your own system.

"apt-get source -b chromium-browser" should do the trick, assuming you have the necessary build-deps
(and the proper src line in your apt configuration).

Revision history for this message
Gregor Rosenauer (grexe) said :
#5

Thanks for the info - I have done so but there is a problem with libpango - maybe you have an idea what's wrong?

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../libpangoft2-1.0.so when searching for -lpangoft2-1.0
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../libpangoft2-1.0.a when searching for -lpangoft2-1.0
/usr/bin/ld: skipping incompatible /usr/lib/libpangoft2-1.0.so when searching for -lpangoft2-1.0
/usr/bin/ld: skipping incompatible /usr/lib/libpangoft2-1.0.a when searching for -lpangoft2-1.0
/usr/bin/ld: cannot find -lpangoft2-1.0
collect2: ld returned 1 exit status
scons: *** [/root/chromium-browser-3.0.182.1~svn20090525r16857/build-tree/src/sconsbuild/Release/plugins/libnpapi_test_plugin.so] Error 1
scons: building terminated because of errors.

I have both 64bit and 32bit libs installed (and all necessary build deps) - the build script is looking on both locations, but for some reason it does not accept my version of libpangoft (??!)