Greetings!

Due to an old version on my linux-box, I had to recompile PHP (using 
version 5.1.2) and OpenSSL (using version 0.9.8a). The OpenSSL INSTALL 
file tells me that "Shared library is currently an experimental feature", 
so I compiled it without "shared".

Compiling PHP (5.1.2) worked fine, but later on, I discovered that 
there're still old libraries from ssl (libcrypto.so under /lib) and 
removed them. Suddenly Apache (1.3.32) refused to come up again, with an 
"file not found" error while loading the libphp5.so module. So I decided 
to recompile PHP.

Now it gets a little weird:

Doing a make clean and a configure with the exact same parameters as 
before, the make stopped with a couple of syntax errors while compiling 
the mbstring module. After a little investigation I found out that the 
configure script wasn't able to detect my stdarg.h file ("checking for 
variable length prototypes and stdarg.h.. no") and thus not setting 
HAVE_STDARG_H which leads to including sys/varargs.h instead of stdarg.h

While I'm still not getting the dependency between the shared ssl-libs and 
the configure-checking for stdarg.h, I decided to build OpenSSL with the 
"shared" parameter. This beeing done, I recompiled PHP (make clean, 
configure [with my parameters], make, make install).

Everything went fine except for the make install part. Doing a make 
install leads to a pear-installer segfault. Well, at least apache comes up 
again, but this is a little too confusing to just leave the system as it 
is.

So, any comment and help would be appreciated.

thx, andy


Additional information:

Versions:
        Scientific Linux 4.1
        Apache: 1.3.32
        PHP: 5.1.2
        OpenSSL: 0.9.8a

pear-installer segfault message:

        Installing PEAR environment:    /usr/lib/php
        make[1]: *** [install-pear-installer] Segmentation fault
        make: *** [install-pear] Error 2

Anything missing?

Reply via email to