Overview
Features
Download
Documentation
Community
Add-Ons & Services

Issues with ApacheConnector configuration

Please post support and help requests here.

Issues with ApacheConnector configuration

Postby signalfrax » 26 Nov 2012, 11:56

Hi guys,

I am having problems configuring the Apache2 mod_poco library on Ubuntu 12.04.1 LTS.
I managed to build it successfully from SVN but I'm getting the following error when trying to start Apache2:

apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/poco.load: Cannot load /usr/lib/apache2/modules/libmod_poco.so into server: /usr/lib/apache2/modules/libmod_poco.so: undefined symbol: _ZTIN4Poco3Net25HTTPRequestHandlerFactoryE


libPocoNet.so is installed in /usr/local/lib and it's in my ldconfig when I run ldconfig -v.

Here is my /etc/apache2/mods-enabled:
LoadModule poco_module /usr/lib/apache2/modules/libmod_poco.so

Here is my /etc/apache2/mods-enabled/poco.conf
AddPocoRequestHandler TimeRequestHandlerFactory /home/user/Downloads/libTimeServer.so /time

Here is my svn info

URL: http://poco.svn.sourceforge.net/svnroot/poco/poco/trunk
Repository Root: http://poco.svn.sourceforge.net/svnroot/poco
Repository UUID: 2a677a2e-670e-0410-a84f-bb5fa6b31f96
Revision: 2157
Node Kind: directory
Schedule: normal
Last Changed Author: obiltschnig
Last Changed Rev: 2154
Last Changed Date: 2012-10-15 14:27:56 +0200 (Mon, 15 Oct 2012)


Can someone help me out with this?
signalfrax
 
Posts: 5
Joined: 10 Dec 2009, 16:53

Re: Issues with ApacheConnector configuration

Postby alex » 26 Nov 2012, 17:49

I'm no Apache(Connector) expert, so I'll be just speculating here. It looks like you've done everything right on the Poco side. Maybe look into Apache environment (SetEnv) or permissions to make sure Apache process can see and load Poco shared libs?
alex
 
Posts: 1115
Joined: 11 Jul 2006, 16:27
Location: United_States


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests