Linux Mint Türkiye
Yazılım => Yazılım Sorunları => Konuyu başlatan: mesut24 - 30 Mayıs 2018, 15:48:24
-
Merhabalar. Lİnux Mİnt 18 e Matlab kurulumunu sorunsuz yaptım Açarken şöyle bir hata veriyor.
erdenler@erdenler /usr/local/MATLAB/R2014b/bin/glnxa64 $ ./MATLAB
java.lang.UnsatisfiedLinkError: no nativeservices in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.mathworks.services.Prefs.<clinit>(Prefs.java:152)
at com.mathworks.fatalexit.FatalExitFrame.<init>(FatalExitFrame.java:138)
at com.mathworks.fatalexit.FatalExitFrame$13.run(FatalExitFrame.java:775)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: com.mathworks.services.Prefs.nativeGetPreferencesDirectory()Ljava/lang/String;
at com.mathworks.services.Prefs.nativeGetPreferencesDirectory(Native Method)
at com.mathworks.services.Prefs.getPropertyDirectory(Prefs.java:184)
at com.mathworks.services.Prefs.load(Prefs.java:240)
at com.mathworks.services.Prefs.<clinit>(Prefs.java:160)
at com.mathworks.fatalexit.FatalExitFrame.<init>(FatalExitFrame.java:138)
at com.mathworks.fatalexit.FatalExitFrame$13.run(FatalExitFrame.java:775)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
------------------------------------------------------------------------
Segmentation violation detected at Wed May 30 15:31:30 2018
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Current Visual : None
Default Encoding : UTF-8
GNU C Library : 2.23 stable
MATLAB Architecture: glnxa64
MATLAB Root : /usr/local/MATLAB/R2014b
MATLAB Version : 8.4.0.150421 (R2014b)
Operating System : Linux 4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC 2018 x86_64
Processor ID : x86 Family 6 Model 58 Stepping 9, GenuineIntel
Software OpenGL : 0
Virtual Machine : Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : No active display
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 0000000000000000 RBX = 00007fcd6a5c00e8
RCX = 00007fcd9025fb10 RDX = 0000000000000006
RSP = 00007fcd67c2e6d0 RBP = 00007fcd67c2e7f0
RSI = 0000000000000000 RDI = 00007fcd6a5968a8
R8 = 0000000000000030 R9 = 0000000000000004
R10 = 00007fcd6a916ef0 R11 = 00007fcd6a593000
R12 = 00007fcd9464e460 R13 = 0000006900000006
R14 = 0000000000000006 R15 = 00007fcd6a597280
RIP = 00007fce1d4c373c EFL = 0000000000010206
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007fce1d4c373c /lib64/ld-linux-x86-64.so.2+00051004
[ 1] 0x00007fce1d4cc851 /lib64/ld-linux-x86-64.so.2+00088145
[ 2] 0x00007fce1d4c7564 /lib64/ld-linux-x86-64.so.2+00066916
[ 3] 0x00007fce1d4cbda9 /lib64/ld-linux-x86-64.so.2+00085417
[ 4] 0x00007fce19d48f09 /lib/x86_64-linux-gnu/libdl.so.2+00003849
[ 5] 0x00007fce1d4c7564 /lib64/ld-linux-x86-64.so.2+00066916
[ 6] 0x00007fce19d49571 /lib/x86_64-linux-gnu/libdl.so.2+00005489
[ 7] 0x00007fce19d48fa1 /lib/x86_64-linux-gnu/libdl.so.2+00004001 dlopen+00000049
[ 8] 0x00007fcd64a58755 /usr/lib/nvidia-384/libGL.so.1+00718677
If this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.** This crash report has been saved to disk as /home/erdenler/matlab_crash_dump.2486-1 **
MATLAB is exiting because of fatal error
Killed
Çözümünü bulursanız sevinirim . İyi günler..
-
Oracle Java kurmayı deneyebilirsiniz. https://forum.linuxmint.net.tr/index.php?topic=2466.msg15604#msg15604
Eğer sorun bu şekilde çözülmezse, aşağıdaki komutla matlab-support paketini kurmayı denersiniz.
sudo apt install matlab-support
-
Oracle Java kurmayı deneyebilirsiniz. https://forum.linuxmint.net.tr/index.php?topic=2466.msg15604#msg15604
Eğer sorun bu şekilde çözülmezse, aşağıdaki komutla matlab-support paketini kurmayı denersiniz.
sudo apt install matlab-support
java 8 kurulu zaten bende
-
java 8 kurulu zaten bende
verilen diğer komutu uygulayınız.
-
verilen diğer komutu uygulayınız.
Şimdi MATLAB açılıyor, yalnız simulink kısmına girdiğim zaman atıyor yine.
Birde açılışta şu hataları veriyor.
javax.media.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for :0
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:316)
at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:295)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.media.opengl.GLException: Startup Class Loader-SharedResourceRunner: Error making temp context(1) current: display 0x7f86f4097780, context 0x7f86f40f10d0, drawable X11OnscreenGLXDrawable[Realized true,
Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@51d8cca8,
Handle 0x6200002,
Surface WrappedSurface[ displayHandle 0x7f86f4097780
, surfaceHandle 0x6200002
, size 64x64
, UOB[ OWNS_SURFACE | WINDOW_INVISIBLE ]
, X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x7f86f4097780, owner true, ResourceToolkitLock[obj 0x70645392, isOwner true, <4aaacfe3, 14366661>[count 2, qsz 0, owner <Startup Class Loader-SharedResourceRunner>]]], idx 0], visualID 0x31f, fbConfigID 0xc9,
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.sw], on-scr[.]],
chosen GLCaps[glx vid 0x31f, fbc 0xc9: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL2/GL2.sw], on-scr[.]]]
, surfaceLock <7f7b74a4, 226fc5f>[count 1, qsz 0, owner <Startup Class Loader-SharedResourceRunner>]
, X11DummyUpstreamSurfaceHook[ 64x64]
, upstreamSurface false ]]
at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:346)
at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:662)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:561)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:518)
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:292)
... 2 more
Düzenleme: Kod etiketi ve yazım kuralları.
-
Lütfen çıktıları kod etiketi (https://forum.linuxmint.net.tr/index.php?topic=2629.0) içinde paylaşalım ve yazım kuralları (https://forum.linuxmint.net.tr/index.php?topic=140.0#post_imla)na özen gösterelim.
Sürücü Yöneticisinden Nvidia sürücüsünü kurmayı deneyiniz ve Oracle Java 8'in etkin oladuğundan emin olunuz.
-
NVDİA olduğu zaman ise açılıp kapanıyor hemen. Anlaşılan o ki ben OCTAVE Kullanayım. MATLAB için Linux 'u terkedemem. :)
-
Çıktıları paylaşırsanız sorunu araştırabiliriz.
Eğer Matlab kullanımında GPU gücüne çok ihityacınız yoksa, bu uygulamayı yazılımsal işleme kipinde (yani CPU ile) çalıştırmayı deneyebilirsiniz.
Ayrıca yazılımın güncel sürümlerinde bu sorun çözülmüş olabilir, bunu da değerlendirmek fayda var.
-
Selamlar,
Matlab'ı
matlab -nosoftwareopengl
ile çalıştırmayı dener misiniz?
-
Selamlar,
Matlab'ı
matlab -nosoftwareopengl
ile çalıştırmayı dener misiniz?
Dediğiniz kod ile matlab çalışıyor yalnız yine açılışta şu uyarıyı veriyor.
MATLAB crash file:/root/matlab_crash_dump.8382-1:
------------------------------------------------------------------------
Segmentation violation detected at Sat Jun 2 15:31:14 2018
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Current Visual : None
Default Encoding : UTF-8
GNU C Library : 2.23 stable
MATLAB Architecture: glnxa64
MATLAB Root : /usr/local/MATLAB/R2014b
MATLAB Version : 8.4.0.150421 (R2014b)
Operating System : Linux 4.15.0-22-generic #24~16.04.1-Ubuntu SMP Fri May 18 09:46:31 UTC 2018 x86_64
Processor ID : x86 Family 6 Model 58 Stepping 9, GenuineIntel
Software OpenGL : 0
Virtual Machine : Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : No active display
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 0000000000000000 RBX = 00007fd2b5b200e8
RCX = 00007fd2d426dd90 RDX = 0000000000000006
RSP = 00007fd2b7bf7650 RBP = 00007fd2b7bf7770
RSI = 0000000000000000 RDI = 00007fd2b5af68a8
R8 = 0000000000000030 R9 = 0000000000000004
R10 = 00007fd2b5e76ef0 R11 = 00007fd2b5af3000
R12 = 00007fd2d859d300 R13 = 0000006900000006
R14 = 0000000000000006 R15 = 00007fd2b5af7280
RIP = 00007fd36060373c EFL = 0000000000010206
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007fd36060373c /lib64/ld-linux-x86-64.so.2+00051004
[ 1] 0x00007fd36060c851 /lib64/ld-linux-x86-64.so.2+00088145
[ 2] 0x00007fd360607564 /lib64/ld-linux-x86-64.so.2+00066916
[ 3] 0x00007fd36060bda9 /lib64/ld-linux-x86-64.so.2+00085417
[ 4] 0x00007fd35ce88f09 /lib/x86_64-linux-gnu/libdl.so.2+00003849
[ 5] 0x00007fd360607564 /lib64/ld-linux-x86-64.so.2+00066916
[ 6] 0x00007fd35ce89571 /lib/x86_64-linux-gnu/libdl.so.2+00005489
[ 7] 0x00007fd35ce88fa1 /lib/x86_64-linux-gnu/libdl.so.2+00004001 dlopen+00000049
[ 8] 0x00007fd2aa14f405 /usr/lib/nvidia-396/libGL.so.1+00701445
If this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.
Bu seferde bu çıktıyı veriyor. İlgilendiğiniz için teşekkürler