thanks. That was one of the problem apart from the -static flag which I should be using to build a standalone library.
Type: Posts; User: mayank.gupta22
thanks. That was one of the problem apart from the -static flag which I should be using to build a standalone library.
I figured it out. The problem was the shared library of the database client wasn't added to the default configuration path due to which the -rdynamic tag wasn't adding the complete list of symbols...
According to what I understood from your reply I have attached the code below. Please help !
interface.h contains
#ifndef __INTERFACE_H
#define __INTERFACE_H
#include <iostream>
Thanks for the reply but I tried using the method mentioned by you and still getting the same error . Can there be any other reasons?
I am trying to create a dynamic(.so) wrapper library along mongoDB c++ driver. There is no problem with the compilation but when I test it in a C++ sample program i get the error
undefined symbol:...