Sponsored Content
Full Discussion: Apache2 PHP5 not starting
Operating Systems Solaris Apache2 PHP5 not starting Post 302310097 by RobertSubnet on Thursday 23rd of April 2009 05:58:20 PM
Old 04-23-2009
I did some reading on crle and I entered the following:

# crle -l /lib -l /usr/lib -l /opt/mysql/mysql/lib

I did a system reboot and tried to start apache again. It looks like I get the same libgd error:

Cannot load /usr/local/apache2/modules/libphp5.so into server: ld.so.1: httpd: fatal: relocation error: file /usr/local/lib/libgd.so.2: symbol png_get_error_ptr: referenced symbol not found

Thanks again guys for your help!
 

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

compiling php5 on solaris 9. please help.

I'm trying to compile PHP5. I've installed mysql5 successfully and apache1.3 is working great, but I get the message below when I compile PHP5. I double checked if I have libxml2 installed and I do. I installed libxml2 binary from sunfreeware. Please see below for details: ./configure... (5 Replies)
Discussion started by: xnightcrawl
5 Replies

2. UNIX for Dummies Questions & Answers

How to grep a line not starting with # from a file (there are two lines starting with # and normal)?

e.g. File name: File.txt cat File.txt Result: #INBOUND_QUEUE=FAQ1 INBOUND_QUEUE=FAQ2 I want to get the value for one which is not commented out. Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies
Apache2::Build(3)					User Contributed Perl Documentation					 Apache2::Build(3)

NAME
Apache2::Build - Methods for locating and parsing bits of Apache source code SYNOPSIS
use Apache2::Build (); my $build = Apache2::Build->new; # rebuild mod_perl with build opts from the previous build % cd modperl-2.0 % perl -MApache2::Build -e rebuild DESCRIPTION
This module provides methods for locating and parsing bits of Apache source code. Since mod_perl remembers what build options were used to build it, you can use this knowledge to rebuild it using the same options. Simply chdir to the mod_perl source directory and run: % cd modperl-2.0 % perl -MApache2::Build -e rebuild If you want to rebuild not yet installed, but already built mod_perl, run from its root directory: % perl -Ilib -MApache2::Build -e rebuild METHODS
new Create an object blessed into the Apache2::Build class. my $build = Apache2::Build->new; dir Top level directory where source files are located. my $dir = $build->dir; -d $dir or die "can't stat $dir $! "; find Searches for apache source directories, return a list of those found. Example: for my $dir ($build->find) { my $yn = prompt "Configure with $dir ?", "y"; ... } inc Print include paths for MakeMaker's INC argument to "WriteMakefile". Example: use ExtUtils::MakeMaker; use Apache2::Build (); WriteMakefile( 'NAME' => 'Apache2::Module', 'VERSION' => '0.01', 'INC' => Apache2::Build->new->inc, ); module_magic_number Return the MODULE_MAGIC_NUMBER defined in the apache source. Example: my $mmn = $build->module_magic_number; httpd_version Return the server version. Example: my $v = $build->httpd_version; otherldflags Return other ld flags for MakeMaker's dynamic_lib argument to "WriteMakefile". This might be needed on systems like AIX that need special flags to the linker to be able to reference mod_perl or httpd symbols. Example: use ExtUtils::MakeMaker; use Apache2::Build (); WriteMakefile( 'NAME' => 'Apache2::Module', 'VERSION' => '0.01', 'INC' => Apache2::Build->new->inc, 'dynamic_lib' => { 'OTHERLDFLAGS' => Apache2::Build->new->otherldflags, }, ); AUTHOR
Doug MacEachern perl v5.12.1 2008-03-10 Apache2::Build(3)
All times are GMT -4. The time now is 04:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy