cannot configure with openssl and other security options.

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



Hi,

 

I am trying to install php-5.3.5 on a sparc server running Solaris 10.

 

If I enter

./configure --prefix=/opt/servers/php --with-apxs2=/opt/servers/apache/bin/apxs --disable-cgi --with-libxml-dir=/usr/lib --enable-calendar --with-gd --with-mysql=/opt/servers/mysql

 

and then run make or gmake, the make command is successful.

 

If I add –with-openssl and/or –with-openssl-dir and/or –with-ldap and/or –with-ldap-sasl and/or –with-kerberos, to the configure command then make and gmake fail with this error

 

libtool: link: warning: library `/opt/servers/mysql/lib/libz.la' was moved.

libtool: link: warning: library `/opt/servers/mysql/lib/libz.la' was moved.

Undefined                       first referenced

symbol                             in file

mysql_set_character_set             ext/mysql/.libs/php_mysql.o

mysql_set_server_option             ext/mysql/.libs/php_mysql.o

ld: fatal: Symbol referencing errors. No output written to sapi/cli/php

collect2: ld returned 1 exit status

gmake: *** [sapi/cli/php] Error 1

 

In all instances, the configure command is successful.

 

My environment variables are:

_=/usr/bin/env

LANG=C

HZ=

GCC=/usr/sfw/bin/gcc

VISUAL=vi

PATH=/opt/servers/mysql/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin

EDITOR=vi

EXINIT=set showmode tabstop=4

LOGNAME=root

MAIL=/var/mail/root

CC=/usr/sfw/bin/gcc

CXX=gcc

SHELL=/sbin/sh

CXXFLAGS=-O3 -felide-constructors -fno-exceptions -fno-rtti

HOME=/

LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/openwin/lib:/usr/X/lib:/usr/X11R6/lib:/opt/servers/mysql/lib:/opt/servers/apache/lib

TERM=vt100

CFLAGS=-O3

PWD=/opt/downloads/php-5.3.5

TZ=US/Central

 

I do not know why the make command is failing.

Larry

 


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