SOLVED: installing firefox-3.6.28 on 64-bit debian multiarch -> "firefox-bin: not found"
summary: I must run a firefox-3.x to telework, and I run debian at home. I previously had firefox-3.6.28 installed and running on an up-to-date debian, but mistakenly destroyed that install. I have reinstalled the OS, and reinstalled firefox-3.6.28, but it will not run:
$ /usr/local/share/firefox-3.6.28/firefox -no-remote -ProfileManager & > [1] 8297 > $ /usr/local/share/firefox-3.6.28/run-mozilla.sh: 143: exec: /usr/local/share/firefox-3.6.28/firefox-bin: not found
details:
As detailed in a previous question
https://support.mozilla.org/en-US/questions/931873
my workplace forces me to run a firefox-3.x in order to install a plugin (F5NAP) that provides remote access. (While the question above suggests that a firefox-8.x would also be an option, the latter is not in fact compatible with my workplace's servers' configuration.) I previously was able to do this first ~2 years ago, as indicated in the question above, on a 64-bit PC with debian=wheezy/sid (distro=LMDE==Linux Mint Debian Edition).
About a month ago, that older PC developed severe problems, so I began to setup a newer PC, which must also run the VPN, and therefore firefox-3.6.28+F5NAP. The new box is running
$ uname -a Linux box 3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13) x86_64 GNU/Linux $ lsb_release -a No LSB modules are available. Distributor ID: LinuxMint Description: LMDE Cinnamon Edition Release: 1 Codename: debian $ cat /etc/debian_version jessie/sid
Note that the new box is also 64-bit, but (unlike the old box) is running the latest debian with multiarch support
https://wiki.debian.org/Multiarch
(whereas the old box used package=ia32-libs). I was able to install firefox-3.6.28+F5NAP on the new box as detailed here
http://forums.linuxmint.com/viewtopic.php?f=190&t=164522
Unfortunately I later misconfigured LVM, forcing me to reinstall everything :-( I have LMDE and most applications installed (from APT, with packages currently up-to-date) and everything appears to work (particularly the firefox-28.0 which I am using to ask this question). However this time I'm getting a very different error when I run firefox-3.6.28.
I'm installing and running firefox-3.6.28 with the following bash scriptlet (which is how I installed it previously):
FF_VERSION='3.6.28' LINUX_VERSION='i686' # since there is no 64-bit build of this version of firefox EXEC_FN='firefox' LANG='en-US' FF_WITH_VERSION="firefox-${FF_VERSION}" URI="https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${FF_VERSION}/linux-${LINUX_VERSION}/${LANG}/${FF_WITH_VERSION}.tar.bz2" BUILD_DIR="/tmp/${FF_WITH_VERSION}" UNZIP_DIR="${BUILD_DIR}/firefox" INSTALL_ROOT='/usr/local/share' INSTALL_OWN='root:staff' # like peers on new LMDE, not 'root:root' INSTALL_DIR="${INSTALL_ROOT}/${FF_WITH_VERSION}" EXEC_FP="${INSTALL_DIR}/${EXEC_FN}" EXEC_ARGS='-no-remote -ProfileManager' # `tar j` == bzip2 for CMD in \ "mkdir -p ${BUILD_DIR}" \ "sudo mkdir -p ${INSTALL_ROOT}" \ "pushd ${BUILD_DIR}" \ "wget -O - ${URI} | tar xfj -" \ "find | wc -l" \ "popd" \ "sudo mv ${UNZIP_DIR} ${INSTALL_DIR}" \ "sudo chown -R ${INSTALL_OWN} ${INSTALL_DIR}/" \ "du -hs ${INSTALL_DIR}/" \ "ls -alh ${EXEC_FP}" \ "${EXEC_FP} ${EXEC_ARGS} &" \ ; do echo -e "$ ${CMD}" eval "${CMD}" done
firefox-3.6.28 appears to install correctly:
$ lsalh /usr/local/share/firefox-3.6.28/ total 20M drwxr-xr-x 13 root staff 4.0K May 1 18:30 . drwxrwsr-x 9 root staff 4.0K May 1 18:04 .. -rw-r--r-- 1 root staff 2.1K Mar 6 2012 application.ini -rw-r--r-- 1 root staff 0 Mar 6 2012 .autoreg -rw-r--r-- 1 root staff 5.1K Mar 6 2012 blocklist.xml -rw-r--r-- 1 root staff 232 Mar 6 2012 browserconfig.properties drwxr-xr-x 3 root staff 4.0K Mar 6 2012 chrome drwxr-xr-x 2 root staff 4.0K Mar 6 2012 components -rwxr-xr-x 1 root staff 51K Mar 6 2012 crashreporter -rw-r--r-- 1 root staff 3.8K Mar 6 2012 crashreporter.ini -rw-r--r-- 1 root staff 583 Mar 6 2012 crashreporter-override.ini drwxr-xr-x 5 root staff 4.0K Mar 6 2012 defaults -rw-r--r-- 1 root staff 136 Mar 6 2012 dependentlibs.list drwxr-xr-x 2 root staff 4.0K Mar 6 2012 dictionaries drwxr-xr-x 3 root staff 4.0K Mar 6 2012 extensions -rwxr-xr-x 1 root staff 3.9K Mar 6 2012 firefox -rwxr-xr-x 1 root staff 44K Mar 6 2012 firefox-bin drwxr-xr-x 2 root staff 4.0K Mar 6 2012 greprefs drwxr-xr-x 2 root staff 4.0K Mar 6 2012 icons -rw-r--r-- 1 root staff 478 Mar 6 2012 libfreebl3.chk -rwxr-xr-x 1 root staff 326K Mar 6 2012 libfreebl3.so -rwxr-xr-x 1 root staff 1.1M Mar 6 2012 libmozjs.so -rwxr-xr-x 1 root staff 201K Mar 6 2012 libnspr4.so -rwxr-xr-x 1 root staff 853K Mar 6 2012 libnss3.so -rwxr-xr-x 1 root staff 390K Mar 6 2012 libnssckbi.so -rw-r--r-- 1 root staff 478 Mar 6 2012 libnssdbm3.chk -rwxr-xr-x 1 root staff 121K Mar 6 2012 libnssdbm3.so -rwxr-xr-x 1 root staff 81K Mar 6 2012 libnssutil3.so -rwxr-xr-x 1 root staff 14K Mar 6 2012 libplc4.so -rwxr-xr-x 1 root staff 8.8K Mar 6 2012 libplds4.so -rwxr-xr-x 1 root staff 123K Mar 6 2012 libsmime3.so -rw-r--r-- 1 root staff 478 Mar 6 2012 libsoftokn3.chk -rwxr-xr-x 1 root staff 194K Mar 6 2012 libsoftokn3.so -rwxr-xr-x 1 root staff 501K Mar 6 2012 libsqlite3.so -rwxr-xr-x 1 root staff 169K Mar 6 2012 libssl3.so -rwxr-xr-x 1 root staff 12K Mar 6 2012 libxpcom.so -rwxr-xr-x 1 root staff 16M Mar 6 2012 libxul.so -rw-r--r-- 1 root staff 31K Mar 6 2012 LICENSE drwxr-xr-x 2 root staff 4.0K Mar 6 2012 modules -rwxr-xr-x 1 root staff 11K Mar 6 2012 mozilla-xremote-client -rw-r--r-- 1 root staff 137 Mar 6 2012 platform.ini -rwxr-xr-x 1 root staff 3.7K Mar 6 2012 plugin-container drwxr-xr-x 2 root staff 4.0K Mar 6 2012 plugins -rw-r--r-- 1 root staff 177 Mar 6 2012 README.txt -rw-r--r-- 1 root staff 16K Mar 6 2012 removed-files drwxr-xr-x 6 root staff 4.0K Mar 6 2012 res -rwxr-xr-x 1 root staff 9.8K Mar 6 2012 run-mozilla.sh drwxr-xr-x 2 root staff 4.0K Mar 6 2012 searchplugins -rw-r--r-- 1 root staff 825 Mar 6 2012 Throbber-small.gif -rw-r--r-- 1 root staff 6 Mar 6 2012 update.locale -rwxr-xr-x 1 root staff 71K Mar 6 2012 updater -rw-r--r-- 1 root staff 143 Mar 6 2012 updater.ini
but it does not run:
$ /usr/local/share/firefox-3.6.28/firefox -no-remote -ProfileManager & > [1] 8297 > $ /usr/local/share/firefox-3.6.28/run-mozilla.sh: 143: exec: /usr/local/share/firefox-3.6.28/firefox-bin: not found
But as noted above, /usr/local/share/firefox-3.6.28/firefox-bin clearly exists, and is in the same directory as /usr/local/share/firefox-3.6.28/run-mozilla.sh , and both have the same permissions. Am I missing something?
If not: how to fix, or further debug, this problem?
Your prompt assistance is appreciated, since I can't telework until I get this fixed :-(
Modified
الحل المُختار
For the solution's full description, see this post to debian-user
https://lists.debian.org/debian-user/2014/05/msg00243.html
(in a quite illuminating thread starting here
https://lists.debian.org/debian-user/2014/05/msg00126.html
) But the solution was mostly
me@it ~ $ ldd /usr/local/share/firefox-3.6.28/firefox-bin not a dynamic executable # libc6:i386, dependencies, and recommended from `aptitude -s` me@it ~ $ sudo aptitude install libc6:i386 gcc-4.8-base:i386 libc6-i686:i386 libgcc1:i386 The following NEW packages will be installed: gcc-4.8-base:i386 libc6:i386 libc6-i686:i386 libgcc1:i386 0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded. ... Setting up gcc-4.8-base:i386 (4.8.2-1) ... Setting up libc6:i386 (2.17-97) ... Setting up libgcc1:i386 (1:4.8.2-1) ... ... Setting up libc6-i686:i386 (2.17-97) ... Processing triggers for libc-bin ... me@it ~ $ ldd /usr/local/share/firefox-3.6.28/firefox-bin linux-gate.so.1 (0xf7775000) libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf7740000) libxul.so => not found libmozjs.so => not found libxpcom.so => not found libplds4.so => not found libplc4.so => not found libnspr4.so => not found libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf7739000) libgtk-x11-2.0.so.0 => not found libatk-1.0.so.0 => not found libgdk-x11-2.0.so.0 => not found libgdk_pixbuf-2.0.so.0 => not found libpangocairo-1.0.so.0 => not found libpango-1.0.so.0 => not found libcairo.so.2 => not found libgobject-2.0.so.0 => not found libgmodule-2.0.so.0 => not found libglib-2.0.so.0 => not found libX11.so.6 => not found libasound.so.2 => not found libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf76f4000) libstdc++.so.6 => not found libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf76d7000) libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf7527000) /lib/ld-linux.so.2 (0xf7776000)Read this answer in context 👍 0
All Replies (3)
الحل المُختار
For the solution's full description, see this post to debian-user
https://lists.debian.org/debian-user/2014/05/msg00243.html
(in a quite illuminating thread starting here
https://lists.debian.org/debian-user/2014/05/msg00126.html
) But the solution was mostly
me@it ~ $ ldd /usr/local/share/firefox-3.6.28/firefox-bin not a dynamic executable # libc6:i386, dependencies, and recommended from `aptitude -s` me@it ~ $ sudo aptitude install libc6:i386 gcc-4.8-base:i386 libc6-i686:i386 libgcc1:i386 The following NEW packages will be installed: gcc-4.8-base:i386 libc6:i386 libc6-i686:i386 libgcc1:i386 0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded. ... Setting up gcc-4.8-base:i386 (4.8.2-1) ... Setting up libc6:i386 (2.17-97) ... Setting up libgcc1:i386 (1:4.8.2-1) ... ... Setting up libc6-i686:i386 (2.17-97) ... Processing triggers for libc-bin ... me@it ~ $ ldd /usr/local/share/firefox-3.6.28/firefox-bin linux-gate.so.1 (0xf7775000) libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf7740000) libxul.so => not found libmozjs.so => not found libxpcom.so => not found libplds4.so => not found libplc4.so => not found libnspr4.so => not found libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf7739000) libgtk-x11-2.0.so.0 => not found libatk-1.0.so.0 => not found libgdk-x11-2.0.so.0 => not found libgdk_pixbuf-2.0.so.0 => not found libpangocairo-1.0.so.0 => not found libpango-1.0.so.0 => not found libcairo.so.2 => not found libgobject-2.0.so.0 => not found libgmodule-2.0.so.0 => not found libglib-2.0.so.0 => not found libX11.so.6 => not found libasound.so.2 => not found libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf76f4000) libstdc++.so.6 => not found libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf76d7000) libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf7527000) /lib/ld-linux.so.2 (0xf7776000)
As you may know it was not until Firefox 4.0 that there has been 64-bit Linux Releases of Firefox from Mozilla. Some Linux distros may have built 64-bit Firefox packages before then.
Also note you do not need to use the -no-remote switch when starting with -P or -ProfileManager unless you were trying to say run a secend instance.
@james: "Some Linux distros may have built 64-bit Firefox packages before then."
Alas, I have not seen any 64-bit firefox-3.x for debian.
@james: "you do not need to use the -no-remote switch when starting with -P or -ProfileManager unless you were trying to say run a secend instance."
Correct, but I am trying to run a second instance. I typically run latest available packaged firefox (which for LMDE currently is version=29) for all purposes except the F5NAP (which does not support it). When I need to VPN, I run as separate second instance of firefox-3.6.28+F5NAP (on a separate profile) for the duration of the session. Fortunately the two firefoxes "play well together" as long as they use separate profiles, and as long as the profile for firefox-3.6.28+F5NAP is configured to not auto-update.