Hi , I am using ubuntu 16 . I am not able to run make command . Its giving error .
make[1]: Entering directory '/opt/mongo-c-driver' CCLD test-replica-set /usr/bin/ld: tests/test_replica_set-ha-test.o: undefined reference to symbol 'pthread_once@@GLIBC_2.2.5' //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[1]: *** [test-replica-set] Error 1 make[1]: 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* *Sasmita Panda* *Senior Network Testing and Software Engineer* *3CLogic , ph:07827611765* On Thu, Sep 12, 2019 at 1:58 PM Liviu Chircu <[email protected]> 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 > ~/src/mongo-c-driver > 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 > ldconfig > > ... 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 > ldconfig > > Liviu Chircu > OpenSIPS Developer > http://www.opensips-solutions.com > > 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 > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
