Hi, I have downloaded and compiled both libosmocore and OpenBSC. However, when I try to execute an OpenBSC program (for example ipaccess-find) I see the following error
~/openbsc/openbsc/src# ./ipaccess-find eth0 ./ipaccess-find: error while loading shared libraries: libosmocore.so.0: cannot open shared object file: No such file or directory
could you help me. Thanks.
Ahmet
Hi Ahmet,
If you did
make install
Try to locate path for your libosmcore.so.0
locate libosmcore.so
If that shown library on nonstandard location, include that path in /etc/ld.so.conf and after that execute as root ldconfig -v
Also try ./ipaccess-find with IP address as parameter.
Hope this help
koliqi
2010/3/22 AHMET GÜLTEKİN agultekin35@gmail.com
Hi, I have downloaded and compiled both libosmocore and OpenBSC. However, when I try to execute an OpenBSC program (for example ipaccess-find) I see the following error
~/openbsc/openbsc/src# ./ipaccess-find eth0 ./ipaccess-find: error while loading shared libraries: libosmocore.so.0: cannot open shared object file: No such file or directory
could you help me. Thanks.
Ahmet
Hye Ahmet
OpenBSC can not find the share library libosmocore.so.0. therefore you should set a path to the library. Try to find out where the library is (Path to the library) and do the following to solve the problem:
1.) edit the file /etc/bash.bashrc and add the following line LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path_to_the_library ; export LD_LIBRARY_PATH 2.)also add the same line to the file /etc/ld.so.conf 3.)run /sbin/ldconfig after
now try again to run ipaccess-find, it should work now
Quoting AHMET GÜLTEK?N agultekin35@gmail.com:
Hi, I have downloaded and compiled both libosmocore and OpenBSC. However, when I try to execute an OpenBSC program (for example ipaccess-find) I see the following error
~/openbsc/openbsc/src# ./ipaccess-find eth0 ./ipaccess-find: error while loading shared libraries: libosmocore.so.0: cannot open shared object file: No such file or directory
could you help me. Thanks.
Ahmet