Troubleshooting

Do you encounter any errors during the build process? The main issues reported are troubleshooted in this article.

How to run the C++ preprocessor

If you encounter this error message, this would imply that you do not have g++ installed:

checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp

*** The make has failed, do you want to try to make again? (y,n):

The gcc-c++ rpm and all its dependencies are required to resolve the issue.

Some dependencies include libstdc++-devel and libstdc++

To install please run the following on CentOS/RHEL/CloudLinux systems:

yum -y install gcc-c++

Debian/Ubuntu:

apt-get -y install g++

libexpat.so: could not read symbols

If you get this error

/usr/lib/libexpat.so: could not read symbols: File in wrong format

Most likely a built-in expat should be used with apache. To do:

Prepare a customized apache config:

cd /usr/local/directadmin/custombuild/
mkdir -p custom/ap2
cp -p configure/ap2/configure.apache custom/ap2/

Open the custom/ap2/configure.apache file and add the option for expat as:

    "--with-expat=builtin" \

Note the \ character - it must be present on all lines except the last one.

Last Updated: