"no shared object support for Apache available under your platform"

GlitchLoop

Verified User
Joined
Nov 7, 2012
Messages
6
Hello, I recently tried to upgrade from 1.2 to 2.0

I set Apache to 2.4, and PHP to 5.4 in the options.conf, ran './build update' then './build update_versions'

Came up with these errors:

Code:
Sorry, no shared object support for Apache. 
apxs:Error: available under your platform. Make sure. 
apxs:Error: the Apache module mod_so is compiled into. 
apxs:Error: your server binary `/usr/sbin/httpd'..

If anyone could guide me further with this that would be great, I ended up recompiling back into 1.2 until I can see how to fix this :/
 
First question is: What's your platform?

Tell us our OS and version so those running the same can share their experiences.

Jeff
 
Do you have any files in /usr/local/directadmin/custombuild/custom?
 
I set Apache to 2.4, and PHP to 5.4 in the options.conf, ran './build update' then './build update_versions'

Make sure, you've got no

/usr/local/directadmin/custombuild/custom/ap2/configure.apache

If you do, then you might need to rename it.

Please, note, the recommended way of upgrading is as following:

Code:
cd /usr/local/directadmin
mv custombuild custombuild_1.x
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gzwget http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build
 
Last edited:
Please, note, the recommended way of upgrading is as following:

Code:
cd /usr/local/directadmin
mv custombuild custombuild_1.x
wget http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build

Code:
wget http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
Should be
Code:
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
Because on most servers custombuild.tar.gz already exists and the first command would just download it as custombuild.tar.gz.1.
 
I'll try this way of upgrading shortly.

In /usr/local/directadmin/custombuild, there is no folder 'custom'
 
Back
Top