strange thing while using libprotobuf in apache modules

22 views
Skip to first unread message

Sky

unread,
May 16, 2012, 7:52:41 AM5/16/12
to Protocol Buffers
Hi,
I made a message, named RequestModel and when I declare pointer of
RequestModel like :
LOG("MSG_BEFORE");
RequestModel *mmodel;
......
My module get loaded by apache and I get the MSG_BEFORE in my apache
log.
But when I "new" my object, apache does'nt even call my function
without any error or segmentation fault :

LOG("MSG_BEFORE");
RequestModel *mmodel=new RequestModel() ;
......
this way I don't get MSG_BEFORE in apache error.log.
can some one guess what's going on?

Regards,
Sky

Hassan Monfared

unread,
May 19, 2012, 5:34:32 AM5/19/12
to prot...@googlegroups.com
does libprotobuf.so depends on another library ?
Reply all
Reply to author
Forward
0 new messages