Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 09-15-2012, 05:36 AM   #1
Registered: Jun 2004
Location: India
Distribution: CLFS
Posts: 515

Rep: Reputation: 36
Cannot run 64-bit pre-compiled binaries on CLFS-Pure64 system

I'm trying to install OpenJDK on my CLFS x86_64-64 build, and when I try to run java from the 64bit binary package (OpenJDK- in the latest SVN) that BLFS provides, I get:
sudo: unable to execute /opt/OpenJDK- No such file or directory
At first I thought it was probably a PATH error, but even trying to run the java executable from the host directory gave me the same error. Then I thought perhaps it was a permissions problem, but running it as root gave the exact same error. I then downloaded the JRE bin package from Oracle, and got the same error. So to see if other precompiled binaries failed in the same way, I tried to run the 64-bit dropbox executable, and got the same dreaded error. Googling this got me nowhere. So I really want to know what's going on here. It will be great if somebody could provide some insight on this. Thank you.
Old 09-18-2012, 04:58 PM   #2
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,798

Rep: Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749
Anything in the messages log?
Is selinux enabled?
What does this give:
ls -l /opt/OpenJDK-
Old 09-19-2012, 02:07 AM   #3
Registered: Jun 2004
Location: India
Distribution: CLFS
Posts: 515

Original Poster
Rep: Reputation: 36
I got it sorted. It's quite embarrassing actually. I just needed to symlink /lib64 and /usr/lib64 to /lib and /usr/lib resp. (since in pure64 CLFS, these aren't present). Thank you, smallpond, for your reply, though. Thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] 32 bit binaries do not run on 64 bit machine frznchckn Linux - Software 51 02-28-2011 12:20 PM
[SOLVED] Errors while building g77 compiler on a CLFS pure64 system corbis_demon Linux From Scratch 4 11-29-2010 02:06 AM
how to install git (CLFS Pure64) charlie_lab Linux From Scratch 4 03-29-2010 11:07 AM
gcc problem (chapter 6.4.1 of the Pure64 CLFS book) charlie_lab Linux From Scratch 0 03-14-2010 08:51 AM
Pre-compiled libraries and binaries. pappy_mcfae Slackware 8 03-27-2007 02:07 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration