質問: /tmp/mathworks_8893/bin/glnxa64 command to run: /tmp/mathworks_8893/sys/java/jre/glnxa64/jre/bin/java -xmx512m -splash:"/home/muhammad/applications/matlab/forubuntu/java/splash.png" -djava.ext.dirs=/tmp/mathworks_8893/sys/java/jre/glnxa64/jre/lib/ext:/tmp/mathworks_8893/java/jar:/tmp/mathworks_8893/java/jar/ja_jp/:/tmp/mathworks_8893/java/jar/zh_cn/:/tmp/mathworks_8893/java/jarext:/tmp/mathworks_8893/java/jarext/axis2/:/tmp/mathworks_8893/java/jarext/guice/:/tmp/mathworks_8893/java/jarext/webservices/ com/mathworks/professionalinstaller/launcher -root "/home/muhammad/applications/matlab/forubuntu" -tmpdir "/tmp/mathworks_8893" installing ... /tmp/mathworks_8893/bin/glnxa64/libstdc++.so.6: file too short failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so exception in thread "main" com.google.inject.provisionexception: guice provision errors: 1) error in custom provider, java.lang.runtimeexception: java.lang.reflect.invocationtargetexception at com.mathworks.wizard.wizardmodule.providedisplayproperties(wizardmodule.java:68) while locating com.mathworks.instutil.displayproperties at com.mathworks.wizard.ui.components.componentsmodule.providepaintstrategy(componentsmodule.java:76) while locating com.mathworks.wizard.ui.components.paintstrategy for parameter 4 at com.mathworks.wizard.ui.components.swingcomponentfactoryimpl.<init>(swingcomponentfactoryimpl.java:111) while locating com.mathworks.wizard.ui.components.swingcomponentfactoryimpl while locating com.mathworks.wizard.ui.components.swingcomponentfactory for parameter 1 at com.mathworks.wizard.ui.wizarduiimpl.<init>(wizarduiimpl.java:62) while locating com.mathworks.wizard.ui.wizarduiimpl while locating com.mathworks.wizard.ui.wizardui annotated with @com.google.inject.name.named(value=basewizardui) at com.mathworks.wizard.ui.uimodule.providewizardui(uimodule.java:50) while locating com.mathworks.wizard.ui.wizardui for parameter 0 at com.mathworks.wizard.exceptionhandlerimpl.<init>(exceptionhandlerimpl.java:22) while locating com.mathworks.wizard.exceptionhandlerimpl while locating com.mathworks.wizard.exceptionhandler 1 error at com.google.inject.injectorimpl$4.get(injectorimpl.java:767) at com.google.inject.injectorimpl.getinstance(injectorimpl.java:793) at com.mathworks.wizard.wizardlauncher.startwizard(wizardlauncher.java:156) at com.mathworks.wizard.wizardlauncher.start(wizardlauncher.java:71) at com.mathworks.wizard.abstractlauncher.launch(abstractlauncher.java:27) at com.mathworks.wizard.abstractlauncher.launchstandalone(abstractlauncher.java:18) at com.mathworks.professionalinstaller.launcher.main(launcher.java:21) caused by: java.lang.runtimeexception: java.lang.reflect.invocationtargetexception at com.google.inject.internal.providermethod.get(providermethod.java:106) at com.google.inject.internalfactorytoprovideradapter.get(internalfactorytoprovideradapter.java:48) at com.google.inject.injectorimpl$4$1.call(injectorimpl.java:758) at com.google.inject.injectorimpl.callincontext(injectorimpl.java:811) at com.google.inject.injectorimpl$4.get(injectorimpl.java:754) at com.google.inject.spi.providerlookup$1.get(providerlookup.java:89) at com.google.inject.spi.providerlookup$1.get(providerlookup.java:89) at com.google.inject.internal.providermethod.get(providermethod.java:95) at com.google.inject.internalfactorytoprovideradapter.get(internalfactorytoprovideradapter.java:48) at com.google.inject.singleparameterinjector.inject(singleparameterinjector.java:42) at com.google.inject.singleparameterinjector.getall(singleparameterinjector.java:66) at com.google.inject.constructorinjector.construct(constructorinjector.java:84) at com.google.inject.constructorbindingimpl$factory.get(constructorbindingimpl.java:111) at com.google.inject.factoryproxy.get(factoryproxy.java:56) at com.google.inject.singleparameterinjector.inject(singleparameterinjector.java:42) at com.google.inject.singleparameterinjector.getall(singleparameterinjector.java:66) at com.google.inject.constructorinjector.construct(constructorinjector.java:84) at com.google.inject.constructorbindingimpl$factory.get(constructorbindingimpl.java:111) at com.google.inject.factoryproxy.get(factoryproxy.java:56) at com.google.inject.providertointernalfactoryadapter$1.call(providertointernalfactoryadapter.java:45) at com.google.inject.injectorimpl.callincontext(injectorimpl.java:811) at com.google.inject.providertointernalfactoryadapter.get(providertointernalfactoryadapter.java:42) at com.google.inject.scopes$1$1.get(scopes.java:54) at com.google.inject.internalfactorytoprovideradapter.get(internalfactorytoprovideradapter.java:48) at com.google.inject.injectorimpl$4$1.call(injectorimpl.java:758) at com.google.inject.injectorimpl.callincontext(injectorimpl.java:811) at com.google.inject.injectorimpl$4.get(injectorimpl.java:754) at com.google.inject.spi.providerlookup$1.get(providerlookup.java:89) at com.google.inject.spi.providerlookup$1.get(providerlookup.java:89) at com.google.inject.internal.providermethod.get(providermethod.java:95) at com.google.inject.internalfactorytoprovideradapter.get(internalfactorytoprovideradapter.java:48) at com.google.inject.providertointernalfactoryadapter$1.call(providertointernalfactoryadapter.java:45) at com.google.inject.injectorimpl.callincontext(injectorimpl.java:811) at com.google.inject.providertointernalfactoryadapter.get(providertointernalfactoryadapter.java:42) at com.google.inject.scopes$1$1.get(scopes.java:54) at com.google.inject.internalfactorytoprovideradapter.get(internalfactorytoprovideradapter.java:48) at com.google.inject.singleparameterinjector.inject(singleparameterinjector.java:42) at com.google.inject.singleparameterinjector.getall(singleparameterinjector.java:66) at com.google.inject.constructorinjector.construct(constructorinjector.java:84) at com.google.inject.constructorbindingimpl$factory.get(constructorbindingimpl.java:111) at com.google.inject.factoryproxy.get(factoryproxy.java:56) at com.google.inject.providertointernalfactoryadapter$1.call(providertointernalfactoryadapter.java:45) at com.google.inject.injectorimpl.callincontext(injectorimpl.java:811) at com.google.inject.providertointernalfactoryadapter.get(providertointernalfactoryadapter.java:42) at com.google.inject.scopes$1$1.get(scopes.java:54) at com.google.inject.internalfactorytoprovideradapter.get(internalfactorytoprovideradapter.java:48) at com.google.inject.injectorimpl$4$1.call(injectorimpl.java:758) at com.google.inject.injectorimpl.callincontext(injectorimpl.java:804) at com.google.inject.injectorimpl$4.get(injectorimpl.java:754) ... 6 more caused by: java.lang.reflect.invocationtargetexception at sun.reflect.nativemethodaccessorimpl.invoke0(native method) at sun.reflect.nativemethodaccessorimpl.invoke(unknown source) at sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source) at java.lang.reflect.method.invoke(unknown source) at com.google.inject.internal.providermethod.get(providermethod.java:101) ... 54 more caused by: com.mathworks.instutil.jniexception: java.lang.unsatisfiedlinkerror: /tmp/mathworks_8893/bin/glnxa64/libinstutil.so: /tmp/mathworks_8893/bin/glnxa64/libstdc++.so.6: file too short at com.mathworks.instutil.nativeutility.loadnativelibrary(nativeutility.java:39) at com.mathworks.instutil.nativeutility.<init>(nativeutility.java:24) at com.mathworks.instutil.displaypropertiesimpl.<init>(displaypropertiesimpl.java:10) at com.mathworks.wizard.wizardmodule.providedisplayproperties(wizardmodule.java:75) ... 59 more caused by: java.lang.unsatisfiedlinkerror: /tmp/mathworks_8893/bin/glnxa64/libinstutil.so: /tmp/mathworks_8893/bin/glnxa64/libstdc++.so.6: file too short at java.lang.classloader$nativelibrary.load(native method) at java.lang.classloader.loadlibrary0(unknown source) at java.lang.classloader.loadlibrary(unknown source) at java.lang.runtime.load0(unknown source) at java.lang.system.load(unknown source) at com.mathworks.instutil.nativeutility.loadnativelibrary(nativeutility.java:37)
回答: user276568の答えを拡張するために、cdromからインストールする場合、ファイルシステムは書き込み専用です。これを回避するには、ディレクトリバインドを使用します。cp -dr [cdrom path]/bin/glnxa64/ /tmp cd /tmp/glnxa64 rm libstdc++.so.6 ln -s libstdc++.so.6.* libstdc++.so.6 sudo mount -o bind /tmp/glnxa64/ [cdrom path]/bin/glnxa64/ cdromコンテンツを書き込み可能なファイルシステムにコピーすることもできます。