List:MySQL++« Previous MessageNext Message »
From:Michael Radzewitz Date:July 19 2011 11:41am
Subject:Re: undefined symbol: _ZN7mysqlpp10ConnectionD1Ev
View as plain text  
Hi,

* On Tue, 19 Jul, 2011 13:29 CEST Kaplenko Vitaliy wrote:
> Dear MySQL++ Community,
> 
> My environment:
> Linux 2.6.38.8-32.fc15.x86_64 #1 SMP Mon Jun 13 19:49:05 UTC 2011 x86_64 
> x86_64 x86_64 GNU/Linux;
> gcc version 4.6.0 20110530 (Red Hat 4.6.0-9) (GCC);
> mysql++-3.1.0
> mysql  Ver 14.14 Distrib 5.5.13, for Linux (x86_64) using readline 5.1
> Server version: Apache/2.2.17 (Unix), Server built:   Mar  7 2011 09:51:54;
> 
> All files that in attachment compile Ok when row 4 (in 
> mod_contconnect.cpp) is remarked or not,
> but
> when in mod_contconnect.cpp row 4 is remarked, then Apache server
> restart Ok by command (run ./rootExecForApacheModule):
> # service httpd restart
> If row 4 is not remarked, then when try
> # service httpd restart
> Restarting httpd (via systemctl):  Job failed. See system logs and 
> 'systemctl status' for details.
> If after that run command:
> # httpd --help
> httpd: Syntax error on line 204 of /etc/httpd/conf/httpd.conf: Cannot 
> load /etc/httpd/modules/mod_helloworld.so into server: 
> /etc/httpd/modules/mod_helloworld.so: undefined symbol: 
> _ZN7mysqlpp10ConnectionD1Ev
> 

did you set the correct path to the libraries? What does ldd report?
Can it find libmysqlpp.so.?

Try: ldd /path/to/your/apache_module



Thread
undefined symbol: _ZN7mysqlpp10ConnectionD1EvKaplenko Vitaliy19 Jul
  • Re: undefined symbol: _ZN7mysqlpp10ConnectionD1EvMichael Radzewitz19 Jul
    • Re: undefined symbol: _ZN7mysqlpp10ConnectionD1EvJonathan Wakely19 Jul
      • Re: undefined symbol: _ZN7mysqlpp10ConnectionD1EvMichael Radzewitz19 Jul
  • Re: undefined symbol: _ZN7mysqlpp10ConnectionD1EvJonathan Wakely19 Jul
    • Re: undefined symbol: _ZN7mysqlpp10ConnectionD1EvKaplenko Vitaliy19 Jul
      • Re: undefined symbol: _ZN7mysqlpp10ConnectionD1EvJonathan Wakely19 Jul
        • Re: undefined symbol: _ZN7mysqlpp10ConnectionD1EvKaplenko Vitaliy19 Jul