I am using the ACE library to do some reactor jobs. On linux ,the default ACE compile output is the libACE.so. I usually to compilte it with the -lACE compile option, but this rely on whether i have configured the libACE.conf in ld.so.conf.d directory. If I want to sub class ACE_Task,which could be imported from ACE.so , the compile rely on the libACE.so, if I want to dynamic load the ACE.so , how can i do this? I have tried, if i use dlopen , then the link error occurs. so ,is there any way to load ACE.so dynamically and still can implement the ACE_Task like this?
class test: public ACE_Task<ACE_MT_SYNCH> { }
ld.so.conf?