FedUni / MORL

Multi-Objective Reinforcement Learning components built on top of RL glue components
Apache License 2.0
27 stars 1 forks source link

server-installation issues #2

Closed johannes-dornheim closed 3 years ago

johannes-dornheim commented 3 years ago

Hello,

somehow, I am not able to start the Server after building and installing it. In a docker Container (dockerfile content below) I get the following error after building and then trying to run morl_glue:

morl_glue: error while loading shared libraries: librlutils-3:0:0.so.3: cannot open shared object file: No such file or directory

Best Regards, Johannes

FROM ubuntu

RUN apt-get update
RUN apt-get install -y git
RUN apt-get install -y autoconf automake libtool
RUN apt-get install make

RUN git clone https://github.com/FedUni/MORL.git

WORKDIR /MORL/morlglue-server
RUN mkdir m4
RUN autoreconf -vfi
RUN aclocal
RUN automake --add-missing

RUN ./configure
RUN make
RUN make install
johannes-dornheim commented 3 years ago

nevermind, i fixed it by extending the lib-path. In case anyone has the same problem in Docker, just extend the dockerfile by

ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib