Compile PHP in AIX: Loading issues


 
Thread Tools Search this Thread
Operating Systems AIX Compile PHP in AIX: Loading issues
# 1  
Old 07-27-2010
Compile PHP in AIX: Loading issues

Finally I was able to compile PHP on AIX. When I try to load from Apache, I get the below error.

Code:
/install/usr/local/apache2/bin:>apachectl -f /install/usr/local/apache2/conf/httpd.conf -k stop
httpd: Syntax error on line 53 of /install/usr/local/apache2/conf/httpd.conf: Cannot load /install/usr/local/apache2/modules/libphp5.so into server: \t0509-022 Cannot load module /install/opt/freeware/lib/libfontconfig.a(libfontconfig.so.1).\n\t0509-150   Dependent module /install/usr/local/apache2/lib/libexpat.a(libexpat.so.1) could not be loaded.\n\t0509-152   Member libexpat.so.1 is not found in archive \n\t0509-022 Cannot load module /install/usr/local/apache2/modules/libphp5.so.\n\t0509-150   Dependent module /install/opt/freeware/lib/libfontconfig.a(libfontconfig.so.1) could not be loaded.


I changed the version number in libexpat.la and tried again with no luck.

Code:
# libexpat.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4.2 (1.922.2.53 2001/09/11 03:18:52)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.
# The name that we can dlopen(3).
#dlname='libexpat.so.0'
dlname='libexpat.so.1'
# Names of this library.
library_names='libexpat.a libexpat.a'
# The name of the static archive.
old_library=''
# Libraries that this one depends upon.
dependency_libs=''
# Version information for libexpat.
current=1
age=0
revision=0
# Is this an already installed library?
installed=yes
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='/opt/freeware/lib'

Help is appreciated.

Thanks
Karthik.

Last edited by pludi; 07-27-2010 at 12:15 PM.. Reason: code tags, please...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

Javascript CDN Loading Issues - Changed to Google CDN

Yesterday a couple of people on the West Coast of the US reported some issues loading the home page, and in particular it seemed like parts of the site was blocked from loading because of some networking issues. In order to hopefully fix this issue, I have changed a couple of our Javascript... (1 Reply)
Discussion started by: Neo
1 Replies

2. Post Here to Contact Site Administrators and Moderators

C++ executable is not loading in AIX 6.1 OS LEVEL 6100-09 with Oracle11g.

Hi Everybody, I am getting following error message during execution of my c++ executable "ofsrm" . I am using AIX 6.1 OS LEVEL 6100-09 with Oracle 11g database. Any suggestion on the same? Could not load program ofsrm: rtld: 0712-001 Symbol GetOracleDriver__FiPc was referenced from module ... (1 Reply)
Discussion started by: Ratikanta
1 Replies

3. AIX

Loading AIX kernel extensions on reboot

Greetings, Does anyone know how to load AIX kernel extensions on reboot? I know that Oracle loads it's postwait kernel extension via a executable in /etc/inittab. I'm assuming this executable calls the "sysconfig" system call and loads it. What if I wrote my own? What is the proper way in AIX to... (3 Replies)
Discussion started by: jbleistein
3 Replies

4. AIX

MySQL 5.5.28 compile on AIX 7.1

Hi, I have an AIX 7.1 lpar with cmake, gmp, libmpc, mpfr on it and a gcc 4.6.2 compiler that was made with the no-dependency flag. I am trying to complile MySql5.5.28 from Oracle. Cmake runs fine. Then when I run make, I get the following: <nyissz> Scanning dependencies of target strings ... (12 Replies)
Discussion started by: Ismeret Tenger
12 Replies

5. AIX

Compile PHP on AIX 5.2 Error

Hello, I am trying to compile PHP 5.3.5 on AIX 5.2 with Apache 2.2.17 and Mysql 3.23.58 Apache und Mysql are working fine but if i try to compile PHP i get this error: with make: sapi/apache2handler/php_functions.lo main/internal_functions.lo -lmysqlclient -lfreetype -lX11 -lXpm -lpng -lz... (2 Replies)
Discussion started by: dtiger
2 Replies

6. AIX

Loading a shared library in AIX

Hi, I have an application running on AIX. The app is deployed on Webspshere server. Due to some reason, i have to make use of a third party library (Sigar API's) from my application. This library requires an .so file as well. Is there any location where i can put this *.so file and it will... (1 Reply)
Discussion started by: user_guest
1 Replies

7. Solaris

Compile issues on Core Solaris 10

Hello All! I am trying to compile sudo-1.7.2p1 on Solaris 10 (Core Install). I get the follow error when I run "./configure": checking for grep that handles long lines and -e... configure: error: no acceptable grep could be found in /usr/sbin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin:/usr/xpg4/bin I... (5 Replies)
Discussion started by: pingmeback
5 Replies

8. UNIX for Dummies Questions & Answers

Solaris10 rrdtool compile issues

Hi all, I'm trying to install rrdtools on a sparc solaris10 system for use with Nagiosgraph. I inititially just added the rrdtools package from sunfreeware but this package doesn't include the directory that Perl needs. I've been told that compiling from source is my only option. I;m trying... (0 Replies)
Discussion started by: Donkey25
0 Replies

9. AIX

Compile gcc on AIX 5.2

I'm trying to compile gcc 3.4.6 on AIX 5.2 but I get this error: bison -t --name-prefix=java_ -o java/parse.c java/parse.y M4sugar requires GNU M4. Install it before installing M4sugar or set the M4 environment variable to its path name.make: *** Broken pipe gcc -c -g -O2 -DIN_GCC -W... (7 Replies)
Discussion started by: untamed
7 Replies

10. Programming

compile problem on aix

When compiling (a simple test program): #include <stdio.h> #include <sys/context.h> int main() { printf("Hello\n"); return 0; } on AIX 5.2 with gcc 3.2.2 from the IBM site I get the following error: /usr/include/sys/context.h:169: parse error before "sigset64_t"... (4 Replies)
Discussion started by: rein
4 Replies
Login or Register to Ask a Question