Hi,
i'm trying to install libmongoc local but haven't success.
I could build libbson, but don't now how to link exactly to avoid the error fro libmongoc.
Thanks in advance
~/.local/lib
drwx------ 3 localuser localuser 4.0K Jun 11 13:01 python2.7
-rwxr-xr-x 1 localuser localuser 304K Dec 9 15:03 libbson-1.0.so.0.401.0
lrwxrwxrwx 1 localuser localuser 22 Dec 9 15:03 libbson-1.0.so.0 -> libbson-1.0.so.0.401.0
lrwxrwxrwx 1 localuser localuser 22 Dec 9 15:03
libbson-1.0.so -> libbson-1.0.so.0.401.0
-rwxr-xr-x 1 localuser localuser 998 Dec 9 15:03
libbson-1.0.la-rw-r--r-- 1 localuser localuser 479K Dec 9 15:03 libbson-1.0.a
drwxr-xr-x 2 localuser localuser 4.0K Dec 9 15:03 pkgconfig
export BSON_LIBS='/home/localuser/.local/lib'
./configure --prefix='/home/localuser/.local' PKG_CONFIG='/home/cschulzx/.local/bin/pkg-config'
................
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for nc... /bin/nc
checking if building for some Win32 platform... no
checking for -Bsymbolic-functions linker flag... yes
checking for uint8_t in stdint.h... yes
checking pkg-config is at least version 0.9.0... yes
checking for BSON... no
configure: error: Package requirements (libbson-1.0 >= 0.4.0) were not met:
No package 'libbson-1.0' 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 BSON_CFLAGS
and BSON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.