Problems to get PHP 4.3.0 compiled (MySQL?)

From: Date: Wed, 23 Apr 2003 22:03:01 +0000
Subject: Problems to get PHP 4.3.0 compiled (MySQL?)
Groups: php.install 
Request: Send a blank email to php-install+get-10698@lists.php.net to get a copy of this message
Hello everyone, I tried to compile PHP 4.3.0 with following configure string: --with-pear --with-zlib-dir=/usr/include/ --enable-mailparse --enable-trans- sid --enable-shared --enable-static --with-apxs=/usr/local/apache/bin/apxs - -with-curlwrappers --enable-ftp --enable-exif --with-gd --with-jpeg-dir=/usr /lib --with-png-dir=/usr/lib --with-zlib-dir=/usr/include --with-freetype=/u sr/lib --enable-gd-native-ttf --with-mysql --with-pdflib=/usr/local --with-r egex --with-zlib --with-config-file-path=/etc --enable-track-vars Everything went fine until "make" command gives following errors: ext/mysql/libmysql/my_lib.lo(.text+0x3d1): In function `my_dir': /root/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno' ext/mysql/libmysql/my_lib.lo(.text+0x5ef): In function `my_stat': /root/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno' ext/mysql/libmysql/my_malloc.lo(.text+0xde): In function `my_malloc': /root/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno' ext/mysql/libmysql/my_realloc.lo(.text+0xd5): In function `my_realloc': /root/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno' ext/mysql/libmysql/my_delete.lo(.text+0x86): In function `my_delete': /root/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno' ext/mysql/libmysql/my_tempnam.lo(.text+0x85):/root/php-4.3.1/ext/mysql/libmy sql/my_tempnam.c:108: more undefined references to `errno' follow collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 [root@server php-4.3.1]# Any ideas what's up? MySQL was installed from RPM to my RH9 box, does it have some effect? Thanks for any clue, Ville

« previous php.install (#10698) next »