Did you run ldconfig after installing libosmocore?
Cheers,
Domi
2017. febr. 15. dátummal, 6:08 időpontban Dennis Schneck <dennisschneck@web.de> írta:
>
>
> Hello,
> I am suing Manjaro Linux (Arch Linux based) and do not get the osmocom-bb compiled.
>
> git clone
https://github.com/osmocom/osmocom-bb
> cd osmocom-bb/src
>
> make
> ....
> ....
> checking pkg-config is at least version 0.9.0... yes
> checking for LIBOSMOCORE... no
> configure: error: Package requirements (libosmocore) were not met:
> No package 'libosmocore' 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 LIBOSMOCORE_CFLAGS
> and LIBOSMOCORE_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
> make: *** [Makefile:69: host/layer23/Makefile] Fehler 1
>
>
> but libosmocore is compiled and installed ( /usr/local )
>
> $ ls -la /usr/local/include/osmocom/
> insgesamt 40
> drwxr-xr-x 10 root root 4096 12. Feb 06:45 .
> drwxr-xr-x 3 root root 4096 12. Feb 06:45 ..
> drwxr-xr-x 2 root root 4096 12. Feb 06:45 codec
> drwxr-xr-x 2 root root 4096 12. Feb 06:45 core
> drwxr-xr-x 2 root root 4096 12. Feb 06:45 crypt
> drwxr-xr-x 2 root root 4096 12. Feb 06:45 ctrl
> drwxr-xr-x 3 root root 4096 12. Feb 06:45 gprs
> drwxr-xr-x 3 root root 4096 12. Feb 06:45 gsm
> drwxr-xr-x 2 root root 4096 12. Feb 06:45 sim
> drwxr-xr-x 2 root root 4096 12. Feb 06:45 vty
>
> $ ls -la /usr/local/lib/
> insgesamt 3408
> drwxr-xr-x 3 root root 4096 12. Feb 06:45 .
> drwxr-xr-x 11 root root 4096 16. Feb 2015 ..
> -rwxr-xr-x 1 root root 981 12. Feb 06:45 libosmocodec.la
> lrwxrwxrwx 1 root root 21 12. Feb 06:45 libosmocodec.so -> libosmocodec.so.0.0.0
> lrwxrwxrwx 1 root root 21 12. Feb 06:45 libosmocodec.so.0 -> libosmocodec.so.0.0.0
> -rwxr-xr-x 1 root root 26968 12. Feb 06:45 libosmocodec.so.0.0.0
> -rwxr-xr-x 1 root root 945 12. Feb 06:45 libosmocore.la
> lrwxrwxrwx 1 root root 20 12. Feb 06:45 libosmocore.so -> libosmocore.so.8.0.0
> lrwxrwxrwx 1 root root 20 12. Feb 06:45 libosmocore.so.8 -> libosmocore.so.8.0.0
> -rwxr-xr-x 1 root root 441216 12. Feb 06:45 libosmocore.so.8.0.0
> -rwxr-xr-x 1 root root 1033 12. Feb 06:45 libosmoctrl.la
> lrwxrwxrwx 1 root root 20 12. Feb 06:45 libosmoctrl.so -> libosmoctrl.so.0.0.0
> lrwxrwxrwx 1 root root 20 12. Feb 06:45 libosmoctrl.so.0 -> libosmoctrl.so.0.0.0
> -rwxr-xr-x 1 root root 100072 12. Feb 06:45 libosmoctrl.so.0.0.0
> -rwxr-xr-x 1 root root 1021 12. Feb 06:45 libosmogb.la
> lrwxrwxrwx 1 root root 18 12. Feb 06:45 libosmogb.so -> libosmogb.so.4.0.0
> lrwxrwxrwx 1 root root 18 12. Feb 06:45 libosmogb.so.4 -> libosmogb.so.4.0.0
> -rwxr-xr-x 1 root root 430400 12. Feb 06:45 libosmogb.so.4.0.0
> -rwxr-xr-x 1 root root 969 12. Feb 06:45 libosmogsm.la
> lrwxrwxrwx 1 root root 19 12. Feb 06:45 libosmogsm.so -> libosmogsm.so.6.1.0
> lrwxrwxrwx 1 root root 19 12. Feb 06:45 libosmogsm.so.6 -> libosmogsm.so.6.1.0
> -rwxr-xr-x 1 root root 957032 12. Feb 06:45 libosmogsm.so.6.1.0
> -rwxr-xr-x 1 root root 1018 12. Feb 06:45 libosmosim.la
> lrwxrwxrwx 1 root root 19 12. Feb 06:45 libosmosim.so -> libosmosim.so.0.0.0
> lrwxrwxrwx 1 root root 19 12. Feb 06:45 libosmosim.so.0 -> libosmosim.so.0.0.0
> -rwxr-xr-x 1 root root 175416 12. Feb 06:45 libosmosim.so.0.0.0
> -rwxr-xr-x 1 root root 969 12. Feb 06:45 libosmovty.la
> lrwxrwxrwx 1 root root 19 12. Feb 06:45 libosmovty.so -> libosmovty.so.3.0.0
> lrwxrwxrwx 1 root root 19 12. Feb 06:45 libosmovty.so.3 -> libosmovty.so.3.0.0
> -rwxr-xr-x 1 root root 378280 12. Feb 06:45 libosmovty.so.3.0.0
> -rw-r--r-- 1 root root 578174 6. Jan 2016 libphysfs.a
> lrwxrwxrwx 1 root root 14 6. Jan 2016 libphysfs.so -> libphysfs.so.1
> lrwxrwxrwx 1 root root 18 6. Jan 2016 libphysfs.so.1 -> libphysfs.so.2.0.3
> -rwxr-xr-x 1 root root 340504 6. Jan 2016 libphysfs.so.2.0.3
>
>
>
>
> $ pacman -Ss arm-
> community/arm-none-eabi-binutils 2.27-2 [Installiert]
> A set of programs to assemble and manipulate binary and object files for the ARM EABI (bare-metal) target
> community/arm-none-eabi-gcc 6.3.0-1 [Installiert]
> The GNU Compiler Collection - cross compiler for ARM EABI (bare-metal) target
> community/arm-none-eabi-gdb 7.12-3 [Installiert]
> The GNU Debugger for the ARM EABI (bare-metal) target
> community/arm-none-eabi-newlib 2.5.0-1 [Installiert]
> A C standard library implementation intended for use on embedded systems (ARM bare metal)
>
> What did i wrong ?
>
> Thanks
>