PDA

View Full Version : 4.3.10 -> 4.3.9 wont compile



Chrysalis
12-22-2004, 03:53 AM
I am downgrading php on a server to investigate a problem with webmail but 4.3.9 refuses to compile.

I get this error

/usr/bin/ld: cannot find -lltdl
*** Error code 1

Stop in /usr/local/directadmin/customapache/php-4.3.9.
-e \n*** The make has failed, do you want to try to make again? (y,n):

anyone came across this before and know how to fix?

byteware
12-26-2004, 06:27 PM
Had same problem with "/usr/bin/ld: cannot find -lltdl" and with strange problems with webmail after upgrade to PHP 4.3.10.

Try this:

Delete everythng in "/usr/local/directadmin/customapache" except "build"

./build clean
./build update
./build php y


If you use Zend ALSO:

./build zend

This cleared up all the problems for me.

Dont' forget to restart apache after make is complete.

Chrysalis
12-27-2004, 11:54 AM
thanks, but I dont need to do it anymore, but will remember what you said incase I need to in future.

Chrysalis
12-27-2004, 01:06 PM
I cant even recompile php 4.3.10, trying what you said.

Chrysalis
12-27-2004, 01:25 PM
works :)

SeLLeRoNe
12-28-2004, 12:21 PM
i need an help..

what i've to do to install php 4.3.10 on my system? i use freebsd 5.2.1 with the latest version of directadmin, i've downloaded php latest version from php website.. now?

where i've to put in? how i've to compile and what conf i've to change for use that?

i've tried to compile and make and it work, but if i restart directadmin dont change version.. help me thanks

SeLLeRoNe
12-28-2004, 12:44 PM
i crash... now i think php 4.3.10 are workin but with conflicts.. the skin si not working good and others skins give me a lot of error... please help me sooon

byteware
12-28-2004, 04:21 PM
I'm not exactly where it is on FreeBSD - try something like:

cd /usr/local/directadmin/customapache

./build update
./build php n

If you use Zend you must:

./build zend

Then restart apache

That should be it.

SeLLeRoNe
12-29-2004, 04:06 AM
thanks a lot!

now every time i've to update php i need just this two command line?

romeitaly
01-21-2008, 03:41 AM
thanks...it was helpful to ma as well..