Menu

OpenCONFIGURATOR plugin error using Ubuntu 16.04.2

Help
Simon Fok
2017-12-21
2020-07-31
  • Simon Fok

    Simon Fok - 2017-12-21

    Hi,

    I have Ubuntu 16.04.2. I followed the Linux installation instructions, specifically:

    (1) sudo apt-get update
    (2) sudo apt-get install default-jre
    (3) sudo apt-get install libboost-all-dev

    but I ran into the following error when I click the "New POWERLINK network" icon:

    "Error loading shared librariess - no boost_date_time in java.library.path."
    

    Any help is appreciated.

    Simon

     
  • Christoph Ruecker

    Hi Simon,

    Please make sure that libboost-date-time-dev is properly installed on the system.
    ldconfig -p | grep libboost_date_time

    br
    Christoph

     
  • Simon Fok

    Simon Fok - 2018-01-16

    Hi Christoph,

    I got the following when I did "ldconfig -p | grep libboost_date_time",

    libboost_date_time.so.1.58.0 (libc6,x86-64) => /usr/lib/x86-64-linux-gnu/libboost_date_time.so.1.58.0

    libboost_date_time.so (libc6,x86-64) => /usr/lib/x86-64-linux-gnu/libboost_date_time.so

    Is that correct?

    Thanks,
    Simon

     
  • Christoph Ruecker

    Hi Simon,

    Yes this is correct. Which eclipse version are you using? What is the default jre installed by ubuntu? I'm not sure whether you have to install Oracle Java and not the OpenJRE.

    br
    Christoph

     
  • Simon Fok

    Simon Fok - 2018-01-17

    Hi Christoph,

    I have both Eclipse Neon.3 and Oxygen.2, both yielded same error as posted. As for Jave, this what I have:

    java version "1.8.0_151"
    Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
    Java HotSpot(TM) 64-Bit Server VM (build 1.8.0_151-b12, mixed mode)

    Thanks,
    Simon

     
  • Christoph Ruecker

    Hi Simon,

    Try replacing the libraries with the ones provided.

    $EclipseFolder$\plugins\org.epsg.openconfigurator_2.2.1.201710180700\os\linux\x86_64

    This should solve the issue by linking the existing version of the boost libs.

    br Christoph

     
  • Simon Fok

    Simon Fok - 2018-01-19

    Hi Christoph,

    I replaced the libraries with the ones that you gave me and have the same error.

    I did notice notice that I have two directories:
    org.epsg.openconfigurator_2.2.1.201708040602
    org.epsg.openconfigurator_2.2.1.201708040607

    I replaced the libraries for both. And as I said, same error.

    Thanks,
    Simon

     
  • Christoph Ruecker

    Hi Simon,

    Ah I think now we are getting there. The version 201708040607 is linked against boost 1.54 but as it has a newer build date eclipse assumes it is the correct version to be used. Please deinnstalll the plugin and only install the V2.2.1.201708040602 again. This version is linked against boost 1.58 which is the default boost lib on your system.

    br
    Christoph

     
  • Simon Fok

    Simon Fok - 2018-01-22

    Hi Christoph,

    I went into Eclipse Neon 3.0 and deinstalled 201708040607, restart Eclipse. Afterwards, I installed V2.2.1.201708040602 (using org.epsg.openconfigurator.updatesite-2.2.1.zip), restart Eclipse.

    Unfortunately, I got the same error. Is there something else that I need to do?

    Thanks,
    Simon

     
  • Christoph Ruecker

    Hi Simon,

    I have tried to reproduce the issue but I with the libs that I send earlier it works on my side:

    1) After installing the version V2.2.1.201708040602 there is an issue that V1.54 of the boost libs do not exist.
    2) After replacing the libs with the attached ones the issue is resolved and the ldd command shows that the linked libs are all existing.

    Can you please take a look at the ldd output of the libs in your installation.

    br
    Christoph

     
  • Simon Fok

    Simon Fok - 2018-01-23

    Hi Christoph,

    Attached is my ldd output. On first glance it really looks that same.

    Thanks,
    Simon

     
  • Romain Naour

    Romain Naour - 2018-03-09

    Hi, I have the same issue.
    I tried with the libraries provided by Christoph Ruecker, no luck.

     
  • Romain Naour

    Romain Naour - 2018-03-15

    Hi,

    To workaround this issue, I had to create one symlink for each missing libboost from the pluging install directory.

    $ cd ~/.p2/pool/plugins/org.epsg.openconfigurator_2.2.1.201708040602/os/linux/x86_64
    $ ls
    libopenconfigurator_core_lib.so  libopenconfigurator_core_wrapper_java.so
    $ ln -s /usr/lib/x86_64-linux-gnu/libboost_date_time.so libboost_date_time.so
    $ ln -s /usr/lib/x86_64-linux-gnu/libboost_system.so libboost_system.so
    $ ln -s /usr/lib/x86_64-linux-gnu/libboost_filesystem.so libboost_filesystem.so
    $ ln -s /usr/lib/x86_64-linux-gnu/libboost_chrono.so libboost_chrono.so
    $ ln -s /usr/lib/x86_64-linux-gnu/libboost_thread.so libboost_thread.so
    $ ln -s /usr/lib/x86_64-linux-gnu/libboost_log.so libboost_log.so
    $ ln -s /usr/lib/x86_64-linux-gnu/libboost_log_setup.so libboost_log_setup.so
    

    It's not nice but it works.

    Under Windows, there is onther problem with boost librairies...
    "Redistribuable Visual C++ pour Visual Studio 2012 Update 4" is required in order to get OpenConfigurator working properly.
    This dependency is missing in the user manual and not checked when installing OpenConfigurator on Windows.

    Best regards,
    Romain

     
  • Simon Fok

    Simon Fok - 2018-04-03

    Hi Romain,

    Sorry I did not see your suggestions till today.

    I weant to: EclipseFolder$\plugins\org.epsg.openconfigurator_2.2.1.201708040602\os\linux\x86_64

    I tried the symlink as you delineated and it did not work. Same problem:

    "Error loading shared librariess - no boost_date_time in java.library.path."

    Any ideas?

    Thanks,
    Simon

     
  • Christoph Ruecker

    Hi Simon, hi Romain,

    I'm sorry for this issue and it seems we are not getting it under control with a simple workaround. I will issue a ticket to our colleagues in India so they have another look at the issue to find a proper solution.

    br
    Christoph

     
  • Prajjwal

    Prajjwal - 2020-07-31

    Hi Christoph,

    I am still facing this problem. This is what Eclipse returns:

    openCONFIGURATOR plugin
    Error loading shared libraries
    /home/prajjwal/.p2/pool/plugins/org.epsg.openconfigurator2.2.1.201708040607/os/linux/x8664/libopenconfiguratorcorelib.so: libboostlog.so.1.58.0: cannot open shared object file: No such file or directory

    My system info:
    Eclipse IDE Version: 2020-06 (4.16.0)
    OpenConfigurator Version: openconfigurator_2.2.1.201708040607
    Boost Version: 1.54.0
    OS: Linux Ubuntu 18.04

    I have futher tried making symbolic links like Romain suggested and also tried with the .so files that you shared. No luck yet. Can you suggest something?

    With regards,
    Prajjwal

     

    Last edit: Prajjwal 2020-07-31
  • mkv

    mkv - 2021-11-18
    Post awaiting moderation.

Log in to post a comment.