PDA

View Full Version : Problem with CustomBuild and PHP 5.2.3



Virtus
08-23-2007, 10:48 AM
Ran the custombuild on newly install Debian 4.0 server with DA installed


ext/mysql/.libs/php_mysql.o: In function `zif_mysql_set_charset':
/usr/local/directadmin/custombuild/php-5.2.3/ext/mysql/php_mysql.c:1154: undefined reference to `mysql_set_character_set'
ext/mysqli/.libs/mysqli_nonapi.o: In function `zif_mysqli_get_charset':
/usr/local/directadmin/custombuild/php-5.2.3/ext/mysqli/mysqli_nonapi.c:355: undefined reference to `mysql_get_character_set_info'
ext/mysqli/.libs/mysqli_nonapi.o: In function `zif_mysqli_set_charset':
/usr/local/directadmin/custombuild/php-5.2.3/ext/mysqli/mysqli_nonapi.c:331: undefined reference to `mysql_set_character_set'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


How do I get past this error, I really want latest php on my server.

Thanks in advance!

m4ri00sh
08-23-2007, 11:29 AM
I did not have that issue....

Virtus
08-23-2007, 11:51 AM
Using Debian 4 ETCH Minimal ?

I only installed gcc and g++ installed DA normaly then grabbed the CustumBuild script and followed that guide..

now, I also have problems with MySQL, it wont upgrade the databases because it cant connect via shell using mysql -u root --password=mypassword cause of the /tmp/mysqld.sock not found.. I searched the system with localte mysqld.conf and locate mysql.sock after a updatedb, nothing.. not a single file..

As it is right now, my system is kinda ruined.. :(

smtalk
08-23-2007, 12:07 PM
I can take a look where is the problem. If you're interested in this - contact me.

Virtus
08-23-2007, 12:17 PM
Going to install Debian again now, install DA and be happy as it is, cause my old production server is running for another 8 days, then the plug is being pulled.. need a new stable production server.. so Im gonna skip all this fancy stuff and just settle with a running system rather than a bugged maybe updated something something

smtalk
11-04-2007, 04:16 AM
It should work without any problems on Debian Etch (4.0).