Failing to install php 5.50 and 5.5.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I am trying to install the php 5.5 for source on slackware linux 13.1 using the procedure below:

./configure --with-apxs2=/usr/sbin/apxs  --with-openssl --enable-pdo=shared --with-pdo-mysql=shared  --with-pdo-sqlite=shared --with-libdir=/lib64 --enable-mbstring --with-mysql --with-mysql-sock=/var/run/mysql/mysql.sock --enable-sockets --with-jpeg-dir=/usr --with-gd --enable-sockets --with-freetype-dir=/usr --with-zlib-dir=/usr --with-iconv --with-curl --enable-soap --with-xmlrpc --enable-zip  --enable-opcache=no

Then i edit the Makefile with the line below:

EXTRA_LDFLAGS = -avoid-version –module -L/usr/lib64 -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib -L/usr/local/mysql/lib/mysql

then proceed with the make command and it comes up with the erorr below:
php_cli_server.lo sapi/cli/ps_title.lo sapi/cli/php_cli_process_title.lo -lz -lfreetype -lpng -lz -ljpeg -lcurl -lz -lrt -lm -ldl -lnsl -lxml2 -lz -lm -lssl -lcrypto -ldl -lcurl -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lssl -lcrypto -ldl  -o sapi/cli/php
ext/standard/.libs/basic_functions.o: In function `zm_startup_basic':
/usr/local/src/php-5.5.0/ext/standard/basic_functions.c:3647: undefined reference to `zm_startup_password'
ext/standard/.libs/basic_functions.o:(.data.rel.ro+0x1168): undefined reference to `zif_password_hash'
ext/standard/.libs/basic_functions.o:(.data.rel.ro+0x1188): undefined reference to `zif_password_get_info'
ext/standard/.libs/basic_functions.o:(.data.rel.ro+0x11a8): undefined reference to `zif_password_needs_rehash'
ext/standard/.libs/basic_functions.o:(.data.rel.ro+0x11c8): undefined reference to `zif_password_verify'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


Could anyone out there help solving this error thanx in advance


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux