IBM Support

STARTAPACHE GIVES ERROR: LIBPCRE.SO.0: CANNOT OPEN

Technote (troubleshooting)


Problem(Abstract)

When attempting to start the Apache server on Linux that is bundled with the Open Admin Tool (OAT) and is part of IBM Informix Client SDK, one may encounter the following error:



$ ./StartApache

/opt/informix/OAT/Apache_2.4.2/bin/httpd: error while loading shared

libraries: libpcre.so.0: cannot open shared object file: No such file

or directory

Symptom

The Apache webserver will not start.


Cause

This has been identified as a product defect under APAR IT13310.

Environment

Linux

Diagnosing the problem

See abstract above.

Resolving the problem

There are certain pre-requisite libraries in order to run OAT on Linux. Here is a list of those pre-requisites:

http://www-01.ibm.com/support/knowledgecenter/SSGU8G_12.1.0/com.ibm.cpi.doc/ids_cpi_028.htm?lang=en

================================================================
Upon installation of OAT with CSDK on Linux, certain pre-requisite library
links (and installation) may be necessary. Here are some tips on
certain flavors of Linux:

Red Hat Enterprise Linux Server release 7.0 (Maipo)
userid root ln -s /usr/lib64/libpcre.so.1 /usr/lib64/libpcre.so.0
userid root ln -s /usr/lib64/libexpat.so.1 /usr/lib64/libexpat.so.0

CentOS version 7
userid root ln -s /usr/lib64/libpcre.so.1 /usr/lib64/libpcre.so.0
userid root ln -s /usr/lib64/libexpat.so.1 /usr/lib64/libexpat.so.0
userid root ln -s /lib64/libssl.so.10 /lib64/libssl.so.6
userid root ln -s /lib64/libcrypto.so.10 /lib64/libcrypto.so.6
sudo yum install libpng12

Ubuntu 12.04.5 LTS (precise)
userid root ln -s /lib/x86_64-linux-gnu/libpcre.so.3
/lib/x86_64-linux-gnu/libpcre.so.0
userid root ln -s /lib/x86_64-linux-gnu/libexpat.so.1.6.0
/lib/x86_64-linux-gnu/libexpat.so.0
userid root ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0
/lib/x86_64-linux-gnu/libssl.so.6
userid root ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/lib/x86_64-linux-gnu/libcrypto.so.6
userid root apt-get -y install libxml2
================================================================

Related information

Prerequisites for installing the OpenAdmin Tool (OAT) f

Document information

More support for: Informix Tools
Informix Client Software Development Kit (CSDK)

Software version: 4.1

Operating system(s): Linux

Reference #: 1975941

Modified date: 01 February 2016


Translate this page: