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

installation enGrid 1.4
  • engrid_user December 2012
    Hi,

    I try to install enGrid 1.4 on an openSUSE 12.1 system.
    After the 'make' command I get the following error message !

    /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: warning: libmysqlclient.so.16, needed by /usr/lib64/libvtkIO.so, not found (try using -rpath or -rpath-link)
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_list_fields@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_fetch_row@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_query@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_list_tables@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_stmt_result_metadata@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_real_escape_string@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_fetch_field_direct@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_stmt_init@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_stmt_execute@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_num_fields@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_fetch_lengths@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_close@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_field_count@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_init@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_store_result@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_error@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_get_server_version@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_real_connect@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_data_seek@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_stmt_error@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_stmt_param_count@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_stmt_close@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_free_result@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_get_client_version@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_fetch_field@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_errno@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_stmt_bind_param@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_options@libmysqlclient_16'
    /usr/lib64/libvtkIO.so: undefined reference to `mysql_stmt_prepare@libmysqlclient_16'
    collect2: ld returned 1 exit status
    make[2]: *** [engrid] Error 1
    make[1]: *** [release] Error 2
    make: *** [sub-engrid-pro-app-make_default-ordered] Error 2

    I need some help. Thanks.

    Regards,
    Stephane.
  • wyldckat December 2012
    Greetings Stephane,

    Which instructions are you following?

    Best regards,
    Bruno
  • engrid_user December 2012
    Hi Bruno,

    Building enGrid on an openSUSE 11.x or 12.x system

    Stephane.
  • wyldckat December 2012
    Hi Stephane,

    I've got a feeling that your openSUSE 12.1 is a bit out of sync with the main repositories. Possibly, you might have added the wrong science repository. For openSUSE 12.1, the command should be:
    zypper addrepo http://download.opensuse.org/repositories/science/openSUSE_12.1/ science

    Not the one from the instructions ;)
    zypper addrepo http://download.opensuse.org/repositories/science/openSUSE_11.4/ science


    You can switch to the correct one by running (as root):
    zypper removerepo science
    zypper addrepo http://download.opensuse.org/repositories/science/openSUSE_12.1/ science
    zypper update

    Then you can try and install again the packages indicated in the instructions.

    To later confirm if everything is OK, here's what I got when I run the commands next to "$" symbol... For checking the dependencies of the "libvtkIO.so" library (notice that mine depends on "libmysqlclient.so.18", not "libmysqlclient.so.16"):
    $ ldd /usr/lib64/libvtkIO.so
    linux-vdso.so.1 => (0x00007fff19fff000)
    libmysqlclient.so.18 => /usr/lib64/libmysqlclient.so.18 (0x00007faf3b25f000)
    libz.so.1 => /lib64/libz.so.1 (0x00007faf3b046000)
    libiodbc.so.2 => /usr/lib64/libiodbc.so.2 (0x00007faf3adf1000)
    libvtkFiltering.so.5.10 => /usr/lib64/libvtkFiltering.so.5.10 (0x00007faf3a7f2000)
    libvtkDICOMParser.so.5.10 => /usr/lib64/libvtkDICOMParser.so.5.10 (0x00007faf3a5d8000)
    libvtkNetCDF.so.5.10 => /usr/lib64/libvtkNetCDF.so.5.10 (0x00007faf3a2da000)
    libvtkNetCDF_cxx.so.5.10 => /usr/lib64/libvtkNetCDF_cxx.so.5.10 (0x00007faf3a0bb000)
    libLSDyna.so.5.10 => /usr/lib64/libLSDyna.so.5.10 (0x00007faf39ead000)
    libvtkmetaio.so.5.10 => /usr/lib64/libvtkmetaio.so.5.10 (0x00007faf39c18000)
    libvtksqlite.so.5.10 => /usr/lib64/libvtksqlite.so.5.10 (0x00007faf399a1000)
    libpng14.so.14 => /usr/lib64/libpng14.so.14 (0x00007faf39777000)
    libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007faf3952b000)
    libtiff.so.3 => /usr/lib64/libtiff.so.3 (0x00007faf392c6000)
    libexpat.so.1 => /lib64/libexpat.so.1 (0x00007faf3909a000)
    libogg.so.0 => /usr/lib64/libogg.so.0 (0x00007faf38e93000)
    libtheoraenc.so.1 => /usr/lib64/libtheoraenc.so.1 (0x00007faf38c56000)
    libtheoradec.so.1 => /usr/lib64/libtheoradec.so.1 (0x00007faf38a3a000)
    libvtksys.so.5.10 => /usr/lib64/libvtksys.so.5.10 (0x00007faf38801000)
    libvtkCommon.so.5.10 => /usr/lib64/libvtkCommon.so.5.10 (0x00007faf382db000)
    libm.so.6 => /lib64/libm.so.6 (0x00007faf38083000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007faf37e66000)
    libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007faf37b5c000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007faf37945000)
    libc.so.6 => /lib64/libc.so.6 (0x00007faf375b5000)
    libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x00007faf37359000)
    libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 (0x00007faf36fa7000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007faf36da3000)
    libvtkhdf5.so.1.8.5 => /usr/lib64/libvtkhdf5.so.1.8.5 (0x00007faf36876000)
    libvtkhdf5_hl.so.1.8.5 => /usr/lib64/libvtkhdf5_hl.so.1.8.5 (0x00007faf36647000)
    /lib64/ld-linux-x86-64.so.2 (0x00007faf3bf02000)


    For checking the status of the "libvtkIO.so":
    $ ls -l /usr/lib64/libvtkIO.so*
    lrwxrwxrwx 1 root root 15 Nov 10 22:30 /usr/lib64/libvtkIO.so -> vtk/libvtkIO.so
    lrwxrwxrwx 1 root root 20 Nov 10 22:30 /usr/lib64/libvtkIO.so.5.10 -> vtk/libvtkIO.so.5.10
    lrwxrwxrwx 1 root root 22 Nov 10 22:30 /usr/lib64/libvtkIO.so.5.10.1 -> vtk/libvtkIO.so.5.10.1


    Best regards,
    Bruno
  • engrid_user December 2012
    Hi Bruno,

    Thanks a lot.
    Now the installation of enGrid 1.4 is fine .

    Best regards,
    Stephane.