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:./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
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
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
- Prev by Date: Failing to install php 5.50 and 5.5.1
- Next by Date: Re: install extension zend opcache 7.0.2
- Previous by thread: Failing to install php 5.50 and 5.5.1
- Next by thread: installing php 5.5.1 on to solaris 10 results in error during make
- Index(es):