Hi, I am compiling mesos from source code and trying to execute Flink on it. For some reason I am having the error that "Failed to load native Mesos library from /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib". I searched on internet and everybody is saying to load the library paths like I did below. But the error still remains.
I am able to deploy a dummy task (infinit loop) on mesos and it is running all right. flink@cow-11:~/flink-1.9.0$ export MESOS_NATIVE_JAVA_LIBRARY="/home/felipe/workspace-vsc/mesos/build/src/.libs/libmesos.so" flink@cow-11:~/flink-1.9.0$ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/felipe/workspace-vsc/mesos/build/src/.libs/ flink@cow-11:~/flink-1.9.0$ PATH=$PATH:/home/felipe/workspace-vsc/mesos/build/bin/ flink-1.9.0$ sudo ./bin/mesos-appmaster.sh Failed to load native Mesos library from /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib Thanks, Felipe *--* *-- Felipe Gutierrez* *-- skype: felipe.o.gutierrez* *--* *https://felipeogutierrez.blogspot.com <https://felipeogutierrez.blogspot.com>*