# ./maple.linux.v10.installer.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Launching installer...
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/tmp/install.dir.8495/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
ВСЕ файлы (симлинки) имеются в /lib/. Пробовал кидать симлинки в /usr/lib/ - эффекта - 0.
Спасибо за подсказку.
Но мне кажется, проблема в установке, конкретнее в JRE может быть, или в ENVIRONMENT, не знаю. Но не в выборе программы. Это наиболее подходящая для меня прога для символьных вычислений (6 лет пользую).
lax.user.dir=/tmp/install.dir.15771
lax.resource.dir=Linux
lax.class.path=/tmp/install.dir.15771/InstallerData:/tmp/install.dir.15771/InstallerData/installer.zip
lax.main.class=com.zerog.ia.installer.Main
lax.main.method=main
lax.nl.message.vm.not.loaded=The installer either could not find a Java VM, or the Java VM on this system is too old. The installer requires
Java 1.1.5 or later. It can be downloaded from http://java.sun.com/products/jdk/1.1/jre/
lax.nl.java.launcher.main.class=com.zerog.lax.LAX
lax.nl.java.launcher.main.method=main
lax.command.line.args=$CMD_LINE_ARGUMENTS$
lax.nl.current.vm=/tmp/install.dir.15771/Linux/resource/jre/bin/java
lax.nl.java.compiler=off
lax.nl.java.option.verify.mode=none
lax.nl.java.option.check.source=off
lax.stderr.redirect=
lax.nl.java.option.java.heap.size.initial=16777216
lax.nl.java.option.java.heap.size.max=50331648
lax.nl.java.option.additional=
lax.installer.unix.internal.property.0=bin/java
lax.installer.unix.ui.default=GUI
нужен sun-jre-bin. Пошёл качать.
У меня в данный момент blackdown-jre.
Нет, что-то не так.
поставил sun-jre-bin - результат 0
вынес blackdown-jre - результат 0
переставил sun-jre-bin - результат 0
При устанвке sun-jre-bin пишет
* Found no JDK, setting sun-jre-bin-1.4.2.08 as default system VM
javac not found at /opt/sun-jre-bin-1.4.2.08/bin/javac or /opt/sun-jre-bin-1.4.2.08/jre/bin/javac
javadoc not found at /opt/sun-jre-bin-1.4.2.08/bin/javadoc or /opt/sun-jre-bin-1.4.2.08/jre/bin/javadoc
jar not found at /opt/sun-jre-bin-1.4.2.08/bin/jar or /opt/sun-jre-bin-1.4.2.08/jre/bin/jar
rmic not found at /opt/sun-jre-bin-1.4.2.08/bin/rmic or /opt/sun-jre-bin-1.4.2.08/jre/bin/rmic
THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT FOUND
System Virtual Machine set
You may want to update your enviroment by running:
"/usr/sbin/env-update && source /etc/profile"
>>> Regenerating /etc/ld.so.cache...
* After installing sun-jre-bin-1.4.2.08 this
* was set as the default JVM to run.
* When finished please run the following so your
* enviroment gets updated.
* /usr/sbin/env-update && source /etc/profile
* Or use java-config program to set your preferred VM
* Some parts of Sun's JDK require virtual/x11 to be installed.
* Be careful which Java libraries you attempt to use.
>>> Regenerating /etc/ld.so.cache...
# java-config -L
[sun-jre-bin-1.4.2.08] "Sun JRE 1.4.2.08" (/etc/env.d/java/20sun-jre-bin-1.4.2.08) *
[blackdown-jre-1.4.2.02] "Blackdown JRE 1.4.2.02" (/etc/env.d/java/20blackdown-jre-1.4.2.02)
[blackdown-jdk-1.4.2.02] "Blackdown JDK 1.4.2.02" (/etc/env.d/java/20blackdown-jdk-1.4.2.02)
# java_vm
Segmentation fault
# java-config -S blackdown-jdk-1.4.2.02
System Virtual Machine set
You may want to update your enviroment by running:
"/usr/sbin/env-update && source /etc/profile"
# env-update && source /etc/profile
>>> Regenerating /etc/ld.so.cache...
# java_vm
java_vm process: could not find Java VM symbols
# java-config -S blackdown-jre-1.4.2.02
javac not found at /opt/blackdown-jre-1.4.2.02/bin/javac or /opt/blackdown-jre-1.4.2.02/jre/bin/javac
javadoc not found at /opt/blackdown-jre-1.4.2.02/bin/javadoc or /opt/blackdown-jre-1.4.2.02/jre/bin/javadoc
jar not found at /opt/blackdown-jre-1.4.2.02/bin/jar or /opt/blackdown-jre-1.4.2.02/jre/bin/jar
rmic not found at /opt/blackdown-jre-1.4.2.02/bin/rmic or /opt/blackdown-jre-1.4.2.02/jre/bin/rmic
THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT FOUND
System Virtual Machine set
You may want to update your enviroment by running:
"/usr/sbin/env-update && source /etc/profile"
# env-update && source /etc/profile
>>> Regenerating /etc/ld.so.cache...
# java_vm
Segmentation fault
Код:
# emerge -epv --tree world | grep dev-java
[ebuild N ] dev-java/blackdown-java3d-bin-1.3.1-r1 +doc 0 kB
[ebuild N f ] dev-java/sun-jre-bin-1.4.2.08-r1 -browserplugin* +mozilla 0 kB
[ebuild N ] dev-java/asm-2.0 +doc +jikes 0 kB
[ebuild N ] dev-java/ant-owanttask-1.1-r1 0 kB
[ebuild N ] dev-java/commons-cli-1.0-r4 +doc +jikes +junit -source 0 kB
[ebuild N ] dev-java/commons-lang-2.0-r1 +doc +jikes -source 0 kB
[ebuild N ] dev-java/ant-1.6.2-r6 0 kB
[ebuild N ] dev-java/ant-tasks-1.6.2-r9 -javamail -noantlr -nobcel -nobeanutils -nobsh -nocommonslogging -nocommonsnet -nojdepend -nojsch -nojython -nolog4j -nooro -noregexp -norhino -noxalan -noxerces 0 kB
[ebuild N ] dev-java/commons-net-1.2.2-r1 +doc +jikes -source 0 kB
[ebuild N ] dev-java/xalan-2.6.0-r2 +doc +jikes -source 0 kB
[ebuild N ] dev-java/javacup-0.10k -source 0 kB
[ebuild N ] dev-java/bsf-2.3.0-r2 +doc +jikes -jython -rhino -source 0 kB
[ebuild N ] dev-java/servletapi-2.3-r2 +doc +jikes -source 0 kB
[ebuild N ] dev-java/bcel-5.1-r1 +doc +jikes -source 0 kB
[ebuild N ] dev-java/jsch-0.1.18 +doc +examples +jikes -source 0 kB
[ebuild N ] dev-java/gnu-crypto-2.0.1 +doc 0 kB
[ebuild N ] dev-java/jzlib-1.0.5 +doc +jikes -source 0 kB
[ebuild N ] dev-java/jdepend-2.8.1 +doc +jikes -source 0 kB
[ebuild N ] dev-java/jakarta-oro-2.0.8-r1 +doc +examples +jikes -source 0 kB
[ebuild N ] dev-java/xerces-2.6.2-r2 +doc +examples +jikes -source 0 kB
[ebuild N ] dev-java/xjavac-20041208-r1 +jikes 0 kB
[ebuild N ] dev-java/xml-commons-resolver-1.1 +doc -source 0 kB
[ebuild N ] dev-java/xml-commons-1.0_beta2 +doc +jikes -source 0 kB
[ebuild N ] dev-java/rhino-1.5.5-r1 +doc +jikes -source 0 kB
[ebuild N ] dev-java/jython-2.1-r6 +doc +jikes +readline -source 0 kB
[ebuild N ] dev-java/libreadline-java-0.8.0-r1 +doc -source 0 kB
[ebuild N ] dev-java/bsh-2.0_beta1-r1 -gnome +kde 0 kB
[ebuild N ] dev-java/antlr-2.7.3 -source 0 kB
[ebuild N ] dev-java/commons-beanutils-1.6.1-r2 +doc +jikes -source 0 kB
[ebuild N ] dev-java/commons-collections-3.1 +doc +jikes -source 0 kB
[ebuild N ] dev-java/commons-logging-1.0.4-r1 -avalon +doc +jikes -source 0 kB
[ebuild N ] dev-java/avalon-logkit-1.2 +doc -javamail +jikes -jms -source 0 kB
[ebuild N ] dev-java/junit-3.8.1-r1 +doc +jikes -source 0 kB
[ebuild N ] dev-java/log4j-1.2.9 +doc -javamail +jikes -jms -jmx -source 0 kB
[ebuild N ] dev-java/jakarta-regexp-1.3-r2 +doc +jikes -source 0 kB
[ebuild N ] dev-java/ant-core-1.6.2-r5 +doc -source 0 kB
[ebuild N ] dev-java/jikes-1.22-r1 0 kB
[ebuild N ] dev-java/blackdown-jdk-1.4.2.02 -browserplugin* +doc +mozilla 0 kB
[ebuild N f ] dev-java/java-sdk-docs-1.4.2 0 kB
[ebuild N ] dev-java/blackdown-jre-1.4.2.02 -browserplugin* +mozilla 0 kB
[ebuild N ] dev-java/java-config-1.2.11 0 kB
$ java-config -L
[sun-jdk-1.4.2.10] "Sun JDK 1.4.2.10" (/etc/env.d/java/20sun-jdk-1.4.2.10) *
[blackdown-jre-1.4.2.03] "Blackdown JRE 1.4.2.03" (/etc/env.d/java/20blackdown-jre-1.4.2.03)
[blackdown-jdk-1.4.2.03] "Blackdown JDK 1.4.2.03" (/etc/env.d/java/20blackdown-jdk-1.4.2.03)
$ java_vm
java_vm process: could not find Java VM symbols
# java-config -S blackdown-jre-1.4.2.03
javac not found at /opt/blackdown-jre-1.4.2.03/bin/javac or /opt/blackdown-jre-1.4.2.03/jre/bin/javac
javadoc not found at /opt/blackdown-jre-1.4.2.03/bin/javadoc or /opt/blackdown-jre-1.4.2.03/jre/bin/javadoc
jar not found at /opt/blackdown-jre-1.4.2.03/bin/jar or /opt/blackdown-jre-1.4.2.03/jre/bin/jar
rmic not found at /opt/blackdown-jre-1.4.2.03/bin/rmic or /opt/blackdown-jre-1.4.2.03/jre/bin/rmic
THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT FOUND
System Virtual Machine set
You may want to update your enviroment by running:
"/usr/sbin/env-update && source /etc/profile"
# env-update && source /etc/profile
>>> Regenerating /etc/ld.so.cache...
# java_vm
Segmentation fault
При этом в качастве системной VM используется sun-jdk. И проблем с java приложениями замечено не было.
Мдя, у меня что-то не то с мозгами чтоли... не туда копал (Системные JDK работают, с этим вроде разобрался)
В принципе установочный пакет Maple практически полностью автономный и включает в себя sun-jre, который и распаковывает во временную папку /tmp/install.dir.NNNNN/Linux/resource/jre, и через эту среду себя и устанавливает.
Так, что он не зависит от установленной в ОС JRE/JDK, правильно? Вернее должен не зависеть.
Но в Gentoo, эта автономная sun-jre почему-то не работает как надо.
Вот почему? Чем отличается Gentoo в этом плане от других?
Хм, а как вообще связана используемая JDK/JRE с теми ошибками, которые пишет установщик - об отсутствующих библиотеках?
JDK/JRE связана с ошибками об отсутствиее команд javac, javadoc. Они входят в JDK, но не входят в JRE.
Для того что бы правильно установить JDK необходимо установить переменную окружения JAVA_HOME она должна указывать на корневую папку JDK. И в PATH необходимо добавить путь к папке bin в корневой папке jdk.
Правильность проверяется так - просто выполняете "java - version". если выводит что то типа
"Sun JDK version 1.4", значит java правильно установлена
Configuring the installer for this system's environment...
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
("Dave") писал(а):My problem is this: I'm trying to install maple-10 on a linux machine which is running Linux From Scratch. (What this means is that it's a linux which I compiled myself and so is not one of the supported distributions.) When I run the installation script the Java VM which is distributed with maple is unpacked and seems to be fine. However, my linux was compiled with NPTL and so when the installer checks for the type of threading it decides that the VM and the threading model are incompatible. It therefore sets the variable LD_ASSUME_LINUX=yes and uses this hack to try and get around it. But when this happens the installation program cannot load any shared libraries because this hack breaks the linker.
Zak_!!!!
Чувак!!! СПАСИБО БОЛЬШОЕ!!!!
РАботает!!!! Zak_! я тебе очень благодарен! Ты даже не можешь себе представить как я тебе благодарен, дружище!
Чрезвычайно рад, что всё получилось!
Maple не бесплатный, и не открытый. Посему в портежах его быть не может.
Может.
Как Maya, VMWare, Cedega и многие другие платные и закрытые программы.
Просто его туда не внесли. А зря. Действительно, лучшей программы для символьных, численных и смешанных вычислений я не видел. Octave и прочие открытые решения годятся только для использования численных методов. К сожалению.
Пользовал Maple 8 в универе, пока учился. С тех пор не встречал его.