Segmentation fault

Mad Unix madunix at gmail.com
Wed May 9 05:20:05 UTC 2007


[test at localhost ~]$ gcc -v
Reading specs from /usr/lib/gcc/ppc64-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=ppc64-redhat-linux --build=ppc64-redhat-linux
--target=ppc64-redhat-linux --with-cpu=default32
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)

[root at localhost test]# /usr/sbin/apachectl -V
Server version: Apache/2.0.52
Server built:   May 24 2006 11:45:17
Server's Module Magic Number: 20020903:9
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"


On 5/9/07, Mad Unix <madunix at gmail.com> wrote:
>
> I think you have a point
> You apache was compiled as 64 bit while PHP was
> not or vice versa. Not PHP problem.
> so what shall i do ????
> how to make both recompiled on the same level 64bit
>
>  On 5/8/07, Troy Knabe <knabe at 4j.lane.edu> wrote:
> >
> > Php is a 32 bit application and requires 32bit libraries.
> >
> > -Troy
> >
> > -----Original Message-----
> > From: redhat-list-bounces at redhat.com [mailto:
> > redhat-list-bounces at redhat.com] On Behalf Of m.roth2006 at rcn.com
> > Sent: Tuesday, May 08, 2007 1:12 PM
> > To: General Red Hat Linux discussion list
> > Subject: Re: Segmentation fault
> >
> > Hey, madunix,
> >
> > >Date: Tue, 8 May 2007 15:42:46 +0200
> > >From: "Mad Unix" < madunix at gmail.com>
> > >
> > >I am trying to install Apache MySQL and PHP on Linux redhat for PowerPC
> > >64bit apache running correctly when i try to recompile php with it, it
> > >gave an error
> > >
> > >[root at localhost php-5.2.1]# /usr/sbin/apachectl start
> > >/usr/sbin/apachectl: line 102:   815 Segmentation fault      $HTTPD
> > $OPTIONS
> > <snip>
> > >my PHP recompile options are
> > >[root at localhost php-5.2.1]# ./configure --with-mysql
> > >--with-apxs2=/usr/sbin/apxs
> >
> > Lessee, I assume you follow that with make and make install. It sounds
> > to me, and this is just a guess, that the compile might be defaulting to 32
> > bit, and you might need some extra switches. I see that gcc has -mpowerpc64,
> > for example.
> >
> >     mark
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
>
>
> --
> madunix




-- 
madunix



More information about the redhat-list mailing list