Cannot update PHP 5.2.12

Dejavu92

Verified User
Joined
Jan 10, 2010
Messages
6
[not solved] Cannot update PHP 5.2.12

Hello DirectAdmin users,

I'm new with Custombuild and DirectAdmin. And I have run into a problem.
When I'm updating to PHP 5.2.12 I can't update libphp5.so.

The error messages that I'm running into are:
Code:
Installing php...
Installing PHP SAPI module:       apache2handler
/var/www/build/instdso.sh SH_LIBTOOL='/var/www/build/libtool' libphp5.la /usr/lib/apache
/var/www/build/libtool --mode=install cp libphp5.la /usr/lib/apache/
cp .libs/libphp5.lai /usr/lib/apache/libphp5.la
cp .libs/libphp5.a /usr/lib/apache/libphp5.a
chmod 644 /usr/lib/apache/libphp5.a
ranlib /usr/lib/apache/libphp5.a
libtool: install: warning: remember to run `libtool --finish /usr/local/directadmin/custombuild/php-5.2.12/libs'
Warning!  dlname not found in /usr/lib/apache/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/lib/apache/libphp5.so

I'm running on a CentOS 5.4 server with 64-bit.

I hope that you can help me!

Thanks in advance,
Dejauv92
 
Last edited:
No it is not working. When I'm doing phpinfo() it shows that version 5.2.8 is loaded in and when I do php -v in SSH it shows that version 5.2.12 is loaded in.
 
Did you run: libtool --finish /usr/local/directadmin/custombuild/php-5.2.12/libs
 
Yes I have executed that command, but it is not working. Also CustomBuild tries to execute that command for me but that doesn't work either.
 
I have done the following command ./build php
Then it recompiled and after that the libphp5.so can't be created.
It says that DLNAME cannot be found.
 
I seem to remember this or a similar issue a few times in the past week or so. Have you tried searching for 5.2.12 in these forums?

Jeff
 
Hi Jeff,

I can't find any solution on the forum when I search for 5.2.12
When I search for my error message I also don't find anything!

Greetings,
Dejavu92
 
Sorry, I should have suggested you search for libphp5.so.

This google query:
Code:
ibphp5.so site:www.directadmin.com/forum
found the thread when I clicked on I'm Feeling Lucky:

Does this thread help?

Jeff
 
Hi Jeff,

Unfortunately, this doesn't fix te problem.
Code:
/var/www/build/instdso.sh SH_LIBTOOL='/var/www/build/libtool' libphp5.la /usr/lib/apache
/var/www/build/libtool --mode=install cp libphp5.la /usr/lib/apache/
cp .libs/libphp5.lai /usr/lib/apache/libphp5.la
cp .libs/libphp5.a /usr/lib/apache/libphp5.a
chmod 644 /usr/lib/apache/libphp5.a
ranlib /usr/lib/apache/libphp5.a
libtool: install: warning: remember to run `libtool --finish /usr/local/directadmin/custombuild/php-5.2.12/libs'
Warning!  dlname not found in /usr/lib/apache/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/lib/apache/libphp5.so


It makes me crazy
 
Last edited:
Back
Top