Re: undefined symbol: __pure_virtual
niraj.kumar.ait_at_gmail.com
Date: 08/30/05
- Next message: Ulrich Hobelmann: "Re: Writing portable applications"
- Previous message: QNils_O=2E_Sel=E5sdal=22?=: "Re: undefined symbol: __pure_virtual"
- In reply to: QNils_O=2E_Sel=E5sdal=22?=: "Re: undefined symbol: __pure_virtual"
- Next in thread: Ulrich Eckhardt: "Re: undefined symbol: __pure_virtual"
- Reply: Ulrich Eckhardt: "Re: undefined symbol: __pure_virtual"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Aug 2005 03:47:06 -0700
Here tab is the object of Soloader object I m calling the below line
from a different file
SoLoader tab("../lib/libApache.so");
tab.LoadSo();
and in soloader file I have the following code
bool SoLoader::LoadSo(){
mHandle = dlopen(mSoPath.c_str(),RTLD_NOW); //Load Shared Object
std::cout<<"here is the handle-->"<<mHandle<<std::cout<<endl;
if(!mHandle){
std::cout<<"Error in loading shared obj"<<std::endl;
mErrorMessage = dlerror();
return false;
}
}
mHandle doesnt load the shared obj it gives following output
here is the handle-->(nil)0xffffffff
Error in loading shared obj
- Next message: Ulrich Hobelmann: "Re: Writing portable applications"
- Previous message: QNils_O=2E_Sel=E5sdal=22?=: "Re: undefined symbol: __pure_virtual"
- In reply to: QNils_O=2E_Sel=E5sdal=22?=: "Re: undefined symbol: __pure_virtual"
- Next in thread: Ulrich Eckhardt: "Re: undefined symbol: __pure_virtual"
- Reply: Ulrich Eckhardt: "Re: undefined symbol: __pure_virtual"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]