Hi, I am trying to get a working GPRS branch up and running. I have done a fresh git clone of both libosmocore and openbsc master branches. Both compile without issue. When I try and run bsc_hack from /opt/openbsc/ I get this error:
./bsc_hack: error while loading shared libraries: libosmovty.so.0: cannot open shared object file: No such file or directory
Any ideas what has gone wrong with this install? Obviously openbsc cannot find libosmocore libraries, but I have compiled them cas per usual. Any ideas?
Thanks
Hi,
./bsc_hack: error while loading shared libraries: libosmovty.so.0: cannot open shared object file: No such file or directory
Any ideas what has gone wrong with this install? Obviously openbsc cannot find libosmocore libraries, but I have compiled them cas per usual. Any ideas?
Well yeah ...
When you install libraried in non-standard location you must tell the ld loader where to look
Either using LD_LIBRARY_PATH en variable or /etc/ld.so.conf
Cheers,
Sylvain
Thanks, I though it was in the standard location. I have another issue now. I have installed libosmocore 0.1.27 and the latest clone of openbsc master branch but when compiling open_bsc I am getting:
No package 'libosmo-sccp' found
I though this was part of libosmocore? I have managed to get a git clone of libosmo-sccp but a ./configure comes up with:
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
I'm keen to get the GPRS branch up and running so I can start testing.
On 14 Nov 2010, at 18:00, Sylvain Munaut wrote:
Hi,
./bsc_hack: error while loading shared libraries: libosmovty.so.0: cannot open shared object file: No such file or directory
Any ideas what has gone wrong with this install? Obviously openbsc cannot find libosmocore libraries, but I have compiled them cas per usual. Any ideas?
Well yeah ...
When you install libraried in non-standard location you must tell the ld loader where to look
Either using LD_LIBRARY_PATH en variable or /etc/ld.so.conf
Cheers,
Sylvain
On 11/14/2010 07:49 PM, Stuart Baggs wrote:
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
autoreconf --install --force..
I'm keen to get the GPRS branch up and running so I can start testing.
You don't need to pass the enable option for the BSC... normal OpenBSC does not require SCCP.
Thanks for your help. This is getting really frustrating now. I have tried to recompile openbsc with:
autoreconf --install --force ./configure
but the process stops on ./configure with:
checking for LIBOSMOSCCP... configure: error: Package requirements (libosmo-sccp >= 0.0.3) were not met:
No package 'libosmo-sccp' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBOSMOSCCP_CFLAGS and LIBOSMOSCCP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
I'm probably being really stupid, but it's been a long day. Any pointers?
Thanks guys.
s
On 14 Nov 2010, at 18:51, Holger Hans Peter Freyther wrote:
On 11/14/2010 07:49 PM, Stuart Baggs wrote:
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
autoreconf --install --force..
I'm keen to get the GPRS branch up and running so I can start testing.
You don't need to pass the enable option for the BSC... normal OpenBSC does not require SCCP.
On 11/14/2010 07:59 PM, Stuart Baggs wrote:
Thanks for your help. This is getting really frustrating now. I have tried to recompile openbsc with:
autoreconf --install --force ./configure
but the process stops on ./configure with:
checking for LIBOSMOSCCP... configure: error: Package requirements (libosmo-sccp >= 0.0.3) were not met:
No package 'libosmo-sccp' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBOSMOSCCP_CFLAGS and LIBOSMOSCCP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
I'm probably being really stupid, but it's been a long day. Any pointers?
....
1.) the autoreconf --install --force was below your quote of attempting to build libosmo-sccp. So it was related to libosmo-sccp. :)
2.) You have not invoked './configure', you have either invoked './configure --enable-nat' or './configure --enable-osmo-bsc' (or both). For a normal build libosmosccp is not required.
To illustrate I have put the relevant part from configure.in here. So only if you have used any of the two options you will need libosmo-sccp. If you don't have libosmosccp... then don't specify the two options.
I hope this helps
AC_ARG_ENABLE([nat], [AS_HELP_STRING([--enable-nat], [Build the BSC NAT. Requires SCCP])], [ PKG_CHECK_MODULES(LIBOSMOSCCP, libosmo-sccp >= 0.0.2) osmo_ac_build_nat="yes" ], [ osmo_ac_build_nat="no" ]) AM_CONDITIONAL(BUILD_NAT, test "x$osmo_ac_build_nat" = "xyes")
AC_ARG_ENABLE([osmo-bsc], [AS_HELP_STRING([--enable-osmo-bsc], [Build the Osmo BSC])], [ PKG_CHECK_MODULES(LIBOSMOSCCP, libosmo-sccp >= 0.0.2) osmo_ac_build_bsc="yes" ], [ osmo_ac_build_bsc="no" ])