Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

engrid 1.3 /1.4 run error
  • keepfit November 2012
    Recently i upgraded my Ubuntu 12.04 LTS system and engrid did not work any more. So i deleted the old one and reinstall the latest enGrid 1.4, but after compilation and run engrid, there was an error:

    symbol lookup error: ./libengrid/libengrid.so.1: undefined symbol: _ZTVN6netgen11NgExceptionE

    So I switched to enGrid 1.3, but the same error remains.

    Furthermore, there was compile error:

    main.cpp: In function ‘void makeDistribution()’:
    main.cpp:123:36: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
    main.cpp:124:26: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
    main.cpp:125:30: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
    main.cpp:140:30: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
    main.cpp:144:48: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
    main.cpp:145:27: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
    main.cpp:146:24: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]

    by checking the link libraries of engrid

    $ ldd engrid

    i found libengrid.so.1 is missing, but it did exit in ..src/libengrid

    linux-gate.so.1 => (0xb77c0000)
    libengrid.so.1 => not found
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7785000)
    libQtGui.so.4 => /usr/lib/i386-linux-gnu/libQtGui.so.4 (0xb6cb2000)
    libQtCore.so.4 => /usr/lib/i386-linux-gnu/libQtCore.so.4 (0xb69d5000)
    libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb68f0000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb68d1000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb6727000)
    /lib/ld-linux.so.2 (0xb77c1000)
    libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xb66f3000)
    libaudio.so.2 => /usr/lib/i386-linux-gnu/libaudio.so.2 (0xb66da000)
    libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xb65e1000)
    libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb65b6000)
    libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb65a0000)
    libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xb6506000)
    libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xb64b7000)
    libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xb64ae000)
    libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xb6493000)
    libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xb6483000)
    libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xb6479000)
    libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb6467000)
    libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb6333000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb6306000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb6301000)
    librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb62f8000)
    libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xb62ce000)
    libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xb6272000)
    libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb626d000)
    libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb6231000)
    libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xb622a000)
    libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb6224000)
    libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb6203000)
    libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb61fb000)

    ---------------------------------------------------------------------------------------------------------------------------

    So I wonder, how to fix this problem, thanks very much.

    David

    07.Nov
  • wyldckat November 2012
    Greetings David,

    Two versions, two similar yet slightly different ways to install enGrid on Ubuntu 12.04... although, both are meant to be retrieved from the git repository.

    For enGrid 1.3 and Ubuntu 12.04, the steps can be as follows:
    1. Make sure you start with a fresh terminal window.
    2. Go into a folder where you want to install enGrid 1.3.
    3. Download and run the build script:
    wget https://raw.github.com/enGits/engrid/release-1.3/build.bash
    chmod +x build.bash
    ./build.bash ubuntu-12.04



    For enGrid 1.4 and Ubuntu 12.04, the steps can be as follows:
    1. make sure you start with a fresh terminal window.
    2. Go into a folder where you want to install enGrid 1.4.
    3. Download and run the build script (doesn't need to specify the version of Ubuntu):
    wget https://raw.github.com/enGits/engrid/release-1.4/build.bash
    chmod +x build.bash
    ./build.bash ubuntu



    On both installations, you should be instructed to run the run.bash script with the full path, for launching enGrid. Using as an example from here https://github.com/enGits/engrid/wiki/%5BenGrid-1.3%5D-Installation , the command with the full path would be this one:
    /home/jonny/Download/engrid/run.bash


    Now, if you want to run ldd on engrid, then you'll need to source the run.bash script to get the environment ready for enGrid to run on the command line, namely by running the following commands:
    cat run.bash
    ldd $dir/src/engrid


    Last but not least, I finished testing on Ubuntu 12.04 32bit with the instructions from here https://github.com/enGits/engrid/wiki/%5BenGrid-1.4%5D-Installation#wiki-Recommended_Method_for_Linux and everything worked correctly!

    If you still have problems, let us know so that we can proceed to try and diagnose what might be working incorrectly.

    Best regards,
    Bruno