java 1.5 AMD64 / fakeroot woes
Daniel Allen
dada.da at gmail.com
Thu Jul 28 22:08:34 UTC 2005
I'm trying to install java 1.5 the Proper Ubuntu Package Way.
I've followed the instructions from https://wiki.ubuntu.com/Java15
The problem seems to be with fakeroot's library?
"mkdir: error while loading shared libraries: libfakeroot.so.0: cannot
open shared object file: No such file or directory"
(full output below)
$ uname -a
Linux 2.6.10-5-amd64-generic #1 Tue Apr 5 12:21:57 UTC 2005 x86_64 GNU/Linux
$ dpkg -l java-package fakeroot
+++-==============-==============-============================================
ii java-package 0.25 utility for building Java(TM) 2 related Debi
ii fakeroot 1.2.2 Gives a fake root environment
Can anybody suggest what I should try? So far I've:
- installed the standard debian unstable version of java-package (0.25,
as above, which solves a problem of not recognizing the newer sun
downloads..
- I've tried installing the standard debian fakeroot, which won't install
because it requires a newer glibc
- I've downloaded the latest debian unstable fakeroot sources (1.4.2),
compiled, and run that, with the exactly same result
- I've tried making sure the fakeroot library is explicitly listed in
/etc/ld.so.conf and ran ldconfig
- I've tried running the sun download itself (on a different identical
machine), to do it the Improper Non-Package Way, which did install and even
would run.
I'm nearing wit's end here; I'd really rather do this the proper way...
Suggestions?
Thanks very much,
-Daniel
-----
More diagnostics:
$ fakeroot make-jpkg jre-1_5_0_03-linux-amd64.bin
Creating temporary directory: /tmp/make-jpkg.XXXX0NWHxV
Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh
ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk.sh j2se.sh sun-j2re.sh
sun-j2sdk.sh
Detected product:
Java(TM) Runtime Environment (J2RE)
Standard Edition, Version 1.5.0+update03
Sun Microsystems(TM), Inc.
Is this correct [Y/n]:
Checking free diskspace:stat: error while loading shared libraries:
libfakeroot.so.0: cannot open shared object file: No such file or
directory
/usr/share/java-package/common.sh: line 30: ((: free = : syntax
error: operand expected (error token is " ")
/usr/share/java-package/common.sh: line 32: [: : integer expression expected
WARNING: Possibly not enough free disk space in "/tmp/make-jpkg.XXXX0NWHxV".
You need at least 140 MB, but only MB seems free. Note: You
can specify an alternate directory by setting the environment variable
Press Ctrl+C to interrupt, or return to try to continue anyway.
TMPDIR.
Please enter your full name. This value will be used in the maintainer
field of the created package.
Full name [root]:
Please enter a valid email address or press return to accept the
default value. This address will be used in the maintainer field of
the created package.
Email [root at linux]:
In the next step, the binary file will be extracted. Probably a
license agreement will be displayed. Please read this agreement
carefully. If you do not agree to the displayed license terms, the
package will not be built.
Press [Return] to continue:
mkdir: error while loading shared libraries: libfakeroot.so.0: cannot
open shared object file: No such file or directory
Aborted (/tmp/make-jpkg.XXXXbJXuqQ/extract).
Removing temporary directory: done
$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 5
model name : AMD Opteron(tm) Processor 150
stepping : 10
cpu MHz : 2393.221
cache size : 1024 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 pni syscall nx mmxext lm
3dnowext 3dnow
bogomips : 4702.20
TLB size : 1088 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp
More information about the ubuntu-users
mailing list