Re: [users@httpd] httpd crashes with segmentation fault: Incompatible libpng version in application and library

2012-03-19 Thread Lenin
Hi, Thank both of you for reply. I finally discovered that this problem occurs at the stage of linking. The gd library has hard-coded that only libpng 1.2.x series can be recognized. Since its configure script cannot find libpng12-config from my libpng 1.5.x install path, it uses the one under /u

Re: [users@httpd] httpd crashes with segmentation fault: Incompatible libpng version in application and library

2012-03-19 Thread Martin Hasicek
Hi, you can check if you use prelink feature. In such case, LD_LIBRARY_PATH is overwriten by LD_PRELOAD or prelink. mh On Mon, Mar 19, 2012 at 1:55 PM, Lenin wrote: > I tried the directive LoadFile, but with no luck. > > Igor Cicimov 於 2012年3月19日上午9:35 ��道: > > LoadFile >> >> >> On Mon, Mar 1

Re: [users@httpd] httpd crashes with segmentation fault: Incompatible libpng version in application and library

2012-03-19 Thread Lenin
I tried the directive LoadFile, but with no luck. Igor Cicimov 於 2012年3月19日上午9:35 寫道: > LoadFile > > > On Mon, Mar 19, 2012 at 12:27 PM, Lenin wrote: > >> Thanks for your reply. >> >> I've tried he first method before, no luck. >> >> For the second one, I cannot find any useful information abou

Re: [users@httpd] httpd crashes with segmentation fault: Incompatible libpng version in application and library

2012-03-18 Thread Igor Cicimov
LoadFile On Mon, Mar 19, 2012 at 12:27 PM, Lenin wrote: > Thanks for your reply. > > I've tried he first method before, no luck. > > For the second one, I cannot find any useful information about the > 'FileLoad' directive, neither from Google nor the official documentation. > > Are you sure you

Re: [users@httpd] httpd crashes with segmentation fault: Incompatible libpng version in application and library

2012-03-18 Thread Lenin
Thanks for your reply. I've tried he first method before, no luck. For the second one, I cannot find any useful information about the 'FileLoad' directive, neither from Google nor the official documentation. Are you sure you didn't misspell the directive ? 2012/3/19 Igor Cicimov > Two things

Re: [users@httpd] httpd crashes with segmentation fault: Incompatible libpng version in application and library

2012-03-18 Thread Igor Cicimov
Two things that come to my mind atm: 1. Link the existing “libpng.so” installed to the one you compiled or 2. Try using FileLoad directive in the httpd.conf to load the correct "libpng.so" file Igor On Sun, Mar 18, 2012 at 10:24 PM, Lenin wrote: > Hi, > > I've compiled httpd 2.2.21 and php 5.3

[users@httpd] httpd crashes with segmentation fault: Incompatible libpng version in application and library

2012-03-18 Thread Lenin
Hi, I've compiled httpd 2.2.21 and php 5.3.10, the version of libpng I used is 1.5.7, and I installed all the three packages under a custom path under /opt. The OS is CentOS 6.2, which contains an official distribution of libpng, the version is 1.2.46. When I start the server and visit programs