当我在AIX上编译php5.5.30时,在配置之后运行gmake
,总是会出错:
ld: 0711-317 ERROR: Undefined symbol: .floorf
ld: 0711-317 ERROR: Undefined symbol: .ceilf
php-config是
./configure --prefix=/usr/local/php5.5.30 --enable-sockets --enable-ftp --enable-soap --enable-zip --enable-pdo --enable-phar --enable-mbstring --enable-gd-native-ttf --enable-bcmath --enable-xmlwriter --enable-xmlreader --enable-simplexml --enable-libxml --with-curl --with-iconv --with-gd --with-jpeg-dir --with-png-dir --with-bz2 --with-mcrypt --with-openssl --with-kerberos --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-zlib --with-config-file-path=/usr/local/php5.5.30 --enable-fpm --with-fpm-user=php-fpm --with-fpm-group=staff
答案 0 :(得分:0)
推荐的方法是从官方的IBM AIX Toolbox安装rpm。源包也可用,以防万一。
https://www.ibm.com/developerworks/aix/library/aix-toolbox/alpha.html