X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 04 Feb 2013 05:57 AM by  anon
fedora 18 - gnome - Fatal Error Initializing DML
 5 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
04 Feb 2013 05:57 AM
    After years on windows, I decided to give linux a try. I installed IDL 7.0 and immediately ran into some problem. First it was the link to run idlde that was just a 0 byte file.... I found the correct executable and replaced this 0 byte file with a correct symbolic link. Then, as idlde was openning, I got a "Fatal Error Initializing DML". googled about it, (seems this sort of problem is quite common on 64bit systems, but mine is an oldie Pentium 4, so 32bits) found about ldd and installed whatever libraries were missing. I now get, under [IDL base dir]/idl70/bin/bin.linux.x86, running ldd *.so|grep "not found": libpicl20.so => not found libidl.so.7.0 => not found libidl_ipcclient.so.7.0 => not found libidl_bml.so => not found libidl_ops.so.7.0 => not found libidl_ipcclient.so.7.0 => not found libidl.so.7.0 => not found libidl_ops.so.7.0 => not found libidl_gmem.so => not found libidl_bml.so => not found libidl_ipcclient.so.7.0 => not found libidl_dml.so => not found libidl.so.7.0 => not found libidl_ops.so.7.0 => not found libidl_ipcclient.so.7.0 => not found libjawt.so => not found libidl_gmem.so => not found libidl_bml.so => not found libidl.so.7.0 => not found libidl_ops.so.7.0 => not found libidl_ipcclient.so.7.0 => not found These are all found inside IDL's directory, so I guess all external libraries that are required, are correctly installed... however, I still get this error: Fatal error initializing DML Configuration info IDL : /mnt/data/utils/IDL/idl70/bin/../bin/bin.linux.x86 (Use default IDL) BML : /mnt/data/utils/IDL/idl70/bin/bin.linux.x86 (Use default IDL) DML : /mnt/data/utils/IDL/idl70/bin/bin.linux.x86 (Use default IDL) JDML: /mnt/data/utils/IDL/idl70/bin/bin.linux.x86 (Use default IDL) com.rsi.jdml.LibraryLoadException: Failed to load idl_jdml from /mnt/data/utils/IDL/idl70/bin/bin.linux.x86 at com.rsi.jdml.PlatformSupport.loadNeededLibrary(PlatformSupport.java:170) at com.rsi.jdml.PlatformSupport.loadLibraries(PlatformSupport.java:371) at com.rsi.jdml.DMLAccess.initializeDML(DMLAccess.java:178) at com.rsi.idldt.core.IDLProcessManager.initializeDML(IDLProcessManager.java:236) at com.rsi.idldt.core.IDLProcessManager.createIDLProcess(IDLProcessManager.java:105) at com.rsi.idldt.core.IDLDTCorePlugin$PostCoreBundleStartJob.run(IDLDTCorePlugin.java:242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: java.lang.UnsatisfiedLinkError: /mnt/data/utils/IDL/idl70/bin/bin.linux.x86/libidl_jdml.so: libidl_dml.so: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825) at java.lang.Runtime.load0(Runtime.java:792) at java.lang.System.load(System.java:1059) at com.rsi.jdml.PlatformSupport.loadExplicitLibrary(PlatformSupport.java:127) at com.rsi.jdml.PlatformSupport.loadNeededLibrary(PlatformSupport.java:161) ... 6 more But libidl_dml.so is there! Right in the same path as that other libidl_jdml.so!! What's going on?

    Deleted User



    New Member


    Posts:
    New Member


    --
    04 Feb 2013 09:43 AM
    Well, I managed to go around and made the normal eclipse work with IDL. I followed the instructions here: http://www.idlcoyote.com/...ch/addtoeclipse.html But they didn't work very well. So I removed the files I'd copied to the /plugins and /features directories and created a link file as explained here, under "the easy way": http://www.venukb.com/200...lugins-the-easy-way/ I then used the script as dfanning suggested (first link) and after some starts and closes of eclipse, IDL appeared! This is my link file: [quote]path=/mnt/data/utils/IDL/idl70/idlde[/quote] And my script file: [quote]#!/bin/sh IDL_DIR=/mnt/data/utils/IDL/idl70 export IDL_DIR LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mnt/data/utils/IDL/idl70/idlde/bin.linux.x86:/mnt/data/utils/IDL/idl70/bin/bin.linux.x86 export LD_LIBRARY_PATH JDMLDir=/mnt/data/utils/IDL/idl70/idlde/bin.linux.x86 export JDMLDir BMLDir=/mnt/data/utils/IDL/idl70/idlde/bin.linux.x86 export BMLDir DMLDir=/mnt/data/utils/IDL/idl70/idlde/bin.linux.x86 export DMLDir eclipse -vmargs -DJDMLDir=/mnt/data/utils/IDL/idl70/idlde/bin.linux.x86 -DBMLDir=/mnt/data/utils/IDL/idl70/idlde/bin.linux.x86 -DDMLDir=/mnt/data/utils/IDL/idl70/idlde/bin.linux.x86 -DIDLDir=/mnt/data/utils/IDL/idl70/bin/bin.linux.x86 -DIDL_DIR=/mnt/data/utils/IDL/idl70 &[/quote] I added some extra things on this file, just to make sure I was following the instructions to the letter.... those things may be redundant, but IDC... it works! :)

    Deleted User



    New Member


    Posts:
    New Member


    --
    11 Feb 2013 03:32 PM
    Hi Pocaracas, I was wondering, did you see the following error as well: # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x0000000000000000, pid=32707, tid=140597245458176 # # JRE version: 6.0_17-b04 # Java VM: Java HotSpot(TM) 64-Bit Server VM (14.3-b01 mixed mode linux-amd64 ) # Problematic frame: # C 0x0000000000000000 # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # This error message, that is much longer than that, appears in a log file called hs_err_pidxxxxx.log, where xxxxx is a PID number. I think it was appears in the Linux console. If that was the case, if you upgrade to IDL 8.2.2, this problem should go away. Cheers, Fernando

    Deleted User



    New Member


    Posts:
    New Member


    --
    15 Feb 2013 04:54 AM
    Thanks fernandos. But I don't have those error logs anywhere. And I can't get my hands on IDL 8.2.2. All I have is 7.0.

    Deleted User



    New Member


    Posts:
    New Member


    --
    22 Feb 2013 04:21 AM
    I managed to get my account verified and could download IDL 8.2.2. Installed it. For some reason, when I type idlde on the shell, I still enter IDL 7.0, but there's no problem with any library now. I'm happy! I did try to go into IDL 8.2.2 directory and run idlde from there.... timed demo, but it works. Thanks for everything.

    Deleted User



    New Member


    Posts:
    New Member


    --
    26 Feb 2013 04:10 PM
    Hi Pocaracas, This happens because your operating system things that you want to run IDL 7.0, is it right?. You need to add to your .basrc something like the following lines: # ENVI/IDL versions alias idl70='. /usr/local/itt/idl/idl70/bin/idl_setup.bash alias idl82='. /usr/local/exelis/idl82/bin/idl_setup.bash So that when you start a new terminal you can type "idl82" and it will source the idl_setup.bash script and you should then be able to just type "idl" or "idlde" and get IDL 8.2.2. Will that work for you? Cheers, Fernando
    You are not authorized to post a reply.