Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 11847  / 2 Years ago, sun, august 14, 2022, 9:44:19

I downloaded a Chromium snapshot and unzipped it, like this:



michael@ubuntu:/opt/chrome-linux$ ls
chrome libffmpegsumo.so nacl_irt_x86_32.nexe
chrome.1 libppGoogleNaClPluginChrome.so product_logo_48.png
chrome_100_percent.pak locales resources
chrome.pak nacl_helper resources.pak
chrome_sandbox nacl_helper_bootstrap xdg-mime
chrome-wrapper nacl_irt_srpc_x86_32.nexe xdg-settings


But when I try to run chrome, it isn't there...



michael@ubuntu:/opt/chrome-linux$ ./chrome
bash: ./chrome: No such file or directory


Does anyone know why it won't open? Running Xubuntu 12.10 AMD64.



michael@ubuntu:/opt/chrome-linux$ ldd /opt/chrome-linux/* | grep -i "not found"
ldd: /opt/chrome-linux/locales: not regular file
ldd: /opt/chrome-linux/resources: not regular file

More From » bash

 Answers
0

You're missing 32-bit support. Install libc6:i386, i.e. the 32-bit base library package, and all the other 32-bit libraries that Chrome needs (it's likely to be close to the dependencies of the Chromium package).



When you fail to execute a file that depends on a “loader”, the error you get may refer to the loader rather than the file you're executing.




  • The loader of a dynamically-linked native executable is the part of the system that's responsible for loading dynamic libraries. It's something like /lib/ld.so or /lib/ld-linux.so.2, and should be an executable file.

  • The loader of a script is the program mentioned on the shebang line, e.g. /bin/sh for a script that begins with #!/bin/sh.



The error message is rather misleading in not indicating that the loader is the problem. Unfortunately, fixing this would be hard because the kernel interface only has room for reporting a numeric error code, not for also indicating that the error in fact concerns a different file.



Once you install the 32-bit dynamic loader /lib/ld-linux.so.2, which is in the libc6:i386 package, you will at least get a non-misleading error message telling you of the other missing libraries.


[#33564] Monday, August 15, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oatglori

Total Points: 313
Total Questions: 102
Total Answers: 111

Location: Guam
Member since Thu, May 18, 2023
1 Year ago
oatglori questions
;