10 Kommentare

  • Updated this article for Ubuntu 12.04 (Precise Pangolin) and DISLIN 10.2.

    Have fun.

  • when i run this „gf95link -a map_f90“ command i got error below

    ./map_f90: error while loading shared libraries: libdislin.so.10: cannot open shared object file: No such file or directory

    can you help please

    • Thanks mathmal to point me to this issue. It is a 64-bit thing. As I updated this how-to for Ubuntu 12.04 I did it on a 32-bit system.

      That means you have to specify the environment variable LD_LIBRARY_PATH on 64-bit systems. This is not optional on 64-bit Ubuntu.

      Do the following steps:

      • Press „ALT-F2“
      • Type in the appearing text box: „gksu gedit /etc/bash.basrc“ when you are on a Gnome-based Ubuntu system or „kdesudo kate /etc/bash.basrc“ on a KDE-based Kubuntu.
      • Append the following lines:
        LD_LIBRARY_PATH=/usr/local/dislin
        export LD_LIBRARY_PATH
      • Save and restart your terminal window.
      • You are done and have fun
  • Added the chapter „Set the LD_LIBRARY_PATH environment variable on 64-bit systems“ to solve a 64-bit issue. Again thanks to „mathmal“.

  • thanks a lot for your help.post is very usefull.

  • Added the section „Compile/link programs with the Dislin library statically“. Thanks to Helmut Michels for assistance.

    This makes your programs independent from a Dislin installation on target machines and allows you to start GUI programs from a desktop filemanager on 64-bit Ubuntu systems.

  • Thanks very much for the guide. I was struggling to get dislin installed correctly. This post saved my sanity.

  • I have this problem doing all installations described above. Could you help me?

    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libdislin.so when searching for -ldislin
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libdislin.a when searching for -ldislin
    /usr/bin/ld: skipping incompatible /usr/lib/../lib/libdislin.so when searching for -ldislin
    /usr/bin/ld: skipping incompatible /usr/lib/../lib/libdislin.a when searching for -ldislin
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../libdislin.so when searching for -ldislin
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../libdislin.a when searching for -ldislin
    /usr/bin/ld: skipping incompatible /usr/lib/libdislin.so when searching for -ldislin
    /usr/bin/ld: skipping incompatible /usr/lib/libdislin.a when searching for -ldislin
    /usr/bin/ld: cannot find -ldislin
    collect2: error: ld returned 1 exit status

  • Hello, you have been very useful!
    Best article on the web about this subject.

    Thank you so much!
    Luca

  • Article updated to Ubuntu 14.04 (Trusty Tahr) and Dislin 10.4.

    Have fun.

Kommentar hinterlassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert