Sol8 sparc + apache + php4

From: Miguel Ribeiro (Miguel.Ribeiro@ftse.com)
Date: Mon Jul 01 2002 - 09:15:58 EDT


Dear Managers,

I've setup a sun box with sparc Solaris 8 to use it has company webserver.
I've installed apache 2.0.39 compiled with ssl and ssh.

I've got some problems compiling the php4 on this sun due to some missing
libs and a weird error that shows on the configure.log:

configure:5980: gcc -o conftest -g -O2 -pthreads -D_POSIX_PTHREAD_SEMANTICS
-D_POSIX_PTHREAD_SEMANTICS -D_REE
NTRANT -R/usr/ucblib -L/usr/ucblib conftest.c -lsocket 1>&5
Undefined first referenced
 symbol in file
yp_get_default_domain /var/tmp//cc851EDM.o (symbol belongs to
implicit dependency /usr/lib/libn
sl.so.1)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 5957 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char yp_get_default_domain(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
char yp_get_default_domain();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS. Some functions are actually named
    something starting with __ and the normal name is an alias. */
#if defined (__stub_yp_get_default_domain) || defined
(__stub___yp_get_default_domain)
choke me
#else
yp_get_default_domain();
#endif

; return 0; }

However the libphp4.so is created, but when I launch the httpd with php4
libexec I get the following error (if I run apache only I'd not get any
problem):

# ./httpd -d /usr/local/apache2.0.39
Syntax error on line 230 of /usr/local/apache2.0.39/conf/httpd.conf:
Cannot load /usr/local/apache2.0.39/libexec/libphp4.so into server: ld.so.1:
./httpd: fatal: relocation error: file
/usr/local/apache2.0.39/libexec/libphp4.so: symbol php_checkuid: referenced
symbol not found

I've search for those two errors on the PHP, Apache and web but nothing
relevant to solve this issue...

Please if you have successful installed Apache + PHP4 on sparc sol8 please
could you give me some light? Thanks

I'm using:

solaris 8 for sparc
apache 2.0.39
perl 5.005_3
php 4.2.1

Regards,
Miguel

**********************************************************************

This e-mail and any attachments may contain confidential or privileged
information. If you are not the intended recipient, please contact the
sender immediately and do not use, store or disclose their contents.
Any views expressed are those of the individual sender and not of FTSE
International unless otherwise stated.

                     http://www.ftse.com
**********************************************************************
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:32 EDT