For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > November 2004 > Re: [PHP-INSTALL] 4.3.9 build problem - libphp4.so is not created









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] 4.3.9 build problem - libphp4.so is not created
Jesse Reynolds

2004-11-29, 4:01 pm

At 9:43 +1100 28/11/04, Brad Kowalczyk wrote:
>Jesse Reynolds wrote:
>
>Hi Jesse,
>
>I had what sounds like the same problem on my FreeBSD server, try
>this solution:
>
>1. run your configure script as it is
>2. Open the libtool file that is created in the php source directory
>3. find the variable definition: deplibs_check_method=
>4. edit it to read: deplibs_check_method="pass_all"
>5. run make
>
>I'm almost 100% sure that solved my problem, give it a go anyhow.



So I changed:

# Method to check whether dependent libraries are shared objects.
deplibs_check_method="unknown"

to

# Method to check whether dependent libraries are shared objects.
deplibs_check_method="pass_all"

This has worked! Thanks Brad. I wonder what the cause of the problem is.

libs dir now looks like:

root@cabernet /home/jesse/src/php/php-4.3.9 # ls -l libs/
total 3554
-rw-r--r-- 1 root jesse 1177 Nov 28 10:58 libphp4.la
-rwxr-xr-x 1 root jesse 3615533 Nov 28 10:58 libphp4.so

Great, after a 'make install' and 'apachectl stop ; apachectl
startssl' all is good with the world (except that I've now broken
IMP, which I see is because PEAR has dropped support for isWarning()
.... but you get that).

Cheers

Jesse


--

::: Jesse Reynolds +61 (0)414 669 790 ::: AIM - jessedreynolds :::
::: Virtual Artists Pty Ltd, Adelaide ::: http://www.va.com.au :::
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com