[OpenSIPS-Users] Need help to connect AWS document db through opensips 3.0 .
spanda at 3clogic.com
Thu Sep 12 07:37:06 EDT 2019
I am using ubuntu 16 . I am not able to run make command . Its giving error
make: Entering directory '/opt/mongo-c-driver'
/usr/bin/ld: tests/test_replica_set-ha-test.o: undefined reference to
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing
from command line
collect2: error: ld returned 1 exit status
Makefile:2516: recipe for target 'test-replica-set' failed
make: *** [test-replica-set] Error 1
make: Leaving directory '/opt/mongo-c-driver'
Makefile:4866: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
I am trying to solve this . Once done I will give the core dump .
*Thanks & Regards*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*
On Thu, Sep 12, 2019 at 1:58 PM Liviu Chircu <liviu at opensips.org> wrote:
> I suggest we manually compile a debuggable version of libmongoc library
> v1.3.1 using the following steps:
> # clone the libmongoc library source code
> git clone https://github.com/mongodb/mongo-c-driver -b 1.3.1
> cd ~/src/mongo-c-driver
> # prepare necessary packages
> apt remove libssl-dev
> apt install libssl1.0-dev gcc make autoconf
> # build, install and enable the library
> ./autogen.sh --enable-debug-symbols=yes
> make -j4
> make install
> echo "/usr/local/lib" >/etc/ld.so.conf.d/libmongoc.conf
> ... and we are done! Now, just restart your OpenSIPS and produce
> another core file. This time, gdb
> will print some extra information, which will help us understand what's
> going on.
> At any time, to clean up the debug library and revert to the default one
> (from packages):
> rm -fr /usr/local/lib/libbson-1.0.* /usr/local/lib/libmongoc-*
> rm /etc/ld.so.conf.d/libmongoc.conf
> Liviu Chircu
> OpenSIPS Developer
> On 12.09.2019 07:56, Sasmita Panda wrote:
> > What should you suggest now ? Will I upgrade the library version . I
> > am trying that option .
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users