[OpenSIPS-Users] mongoc changes

Tito Cumpen tito at xsvoce.com
Mon Apr 24 17:56:14 EDT 2017


Liviu,


I downloaded the lib like this :
wget
https://github.com/mongodb/mongo-c-driver/releases/download/1.0.0/mongo-c-driver-1.0.0.tar.gz

and added the configure prefix

 ./*configure* --prefix=/usr --libdir=/usr/lib64


which allowed me to install mongoc in the prefix dir and the install
opensips script had no issues finding it.

On Mon, Apr 24, 2017 at 5:23 PM, Liviu Chircu <liviu at opensips.org> wrote:

> Indeed you are right about the docs, Tito - I will get them updated this
> week. Regarding the package, it's "libmongoc" on Debian and
> "mongo-c-driver" on Red Hat.
>
> Regards,
>
> Liviu Chircu
> OpenSIPS Developerhttp://www.opensips-solutions.com
>
> OpenSIPS Summit May 2017 Amsterdam
>   http://www.opensips.org/events/Summit-2017Amsterdam.html
>
> On 24.04.2017 23:23, Tito Cumpen wrote:
>
> Group,
>
>
> I am trying to compile opensips from the latest 2.3 pull. It looks like it
> requires libmongoc-1.0 but the documentation is asking for v 0.6. I am also
> having issues finding 1.0
>
> Package libmongoc-1.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libmongoc-1.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libmongoc-1.0' found
> Package libmongoc-1.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libmongoc-1.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libmongoc-1.0' found
> make[2]: Entering directory `/usr/src/opensips-2.3/
> modules/cachedb_mongodb'
> Package libmongoc-1.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libmongoc-1.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libmongoc-1.0' found
>
>
> is it in /usr/local/lib/
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170424/385f2594/attachment.html>


More information about the Users mailing list