php-install Digest 4 Aug 2001 18:32:33 -0000 Issue 395

Topics (messages 3830 through 3833):

debug.log from anoop.nu
        3830 by: anoop.anoop.nu

install problems
        3831 by: anoop.anoop.nu

PHP 4.0.6 freeBSD mysql apache2
        3832 by: lasse

New INSTALL // Apache dies with: undefined symbol: gdImageColorClosestAlpha
        3833 by: Felix C.Courtemanche

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


Hello,

I had problems installing php. A copy of the debug.log is below. I ignored
the error that was given when ./configure ran and continued with the
install.

----- debug.log -----
CONFIGURE:   './configure' '--with-mysql=/usr/local/mysql'
'--with-apxs=/usr/local/apache/bin/apxs'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DUSE_EXPAT -DNO_DL_N
EEDED -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES:    -I/usr/local/apache/include  -I$(top_builddir)/Zend -I/usr/loca
l/mysql/include/mysql
LDFLAGS:     -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-
solaris2.7/2.95.3 -L/usr/local/lib/gcc-lib/sparc-s
un-solaris2.7/2.95.3 -R/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mys
ql
LIBS:       -lmysqlclient -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket 
 -lsocket -lgcc
DLIBS:
SAPI:       apache
PHP_RPATHS:  /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3
/usr/local/mysql/lib/mysql
uname -a:   SunOS gtp 5.7 Generic_106541-06 sun4m sparc SUNW,SPARCstation-20

gcc -o
conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DUSE_EXPAT -DNO_
DL_NEEDED -DSUPPORT_UTF8  -R/usr/ucblib -L/
usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3 -L/usr/local
/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3 -R/usr/lo
cal/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
conftest.c -lmysqlclient -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket  
-
lsocket -lgcc 1>&5
Undefined                       first referenced
 symbol                             in file
uncompress
/usr/local/mysql/lib/mysql/libmysqlclient.so
compress
/usr/local/mysql/lib/mysql/libmysqlclient.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
----- end -----

I ignored the error and continued. When the install completed, i followed
the instructions and copied php.ini-dist to /usr/local/lib/php.ini and made
no changes to it. i uncommented httpd.conf to allow php 4. the Load module
line is there. The error produced from starting apache is below.

----- apache error -----
# apachectl configtest
Syntax error on line 34 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/mysql/lib/mysql/libmysqlclient.so.10: symbol uncompress:
referenced symbol not found
#
----- end -----

The setup for my machine is described below.

Sparc 20 w/ Solaris 2.7
Apache 1.3.20 in /usr/local/apache
mysql 3.23.40 in /usr/local/mysql
php 4.0.6

the options i used with configure script were --with-mysql=/usr/local/mysql
and --with-apxs=/usr/local/apache/bin/apxs

I'd appreciate any feed back on this problem. The ultimate goal here for me
is to get a webmail working which needed PHP. I also wanted to install php
to learn it. If anyone requires more information, i will be glad to provide
it.

Thanks

-Anoop Bhat
[EMAIL PROTECTED]





Hello,

I had problems installing php. A copy of the debug.log is below. I ignored
the error that was given when ./configure ran and continued with the
install.

----- debug.log -----
CONFIGURE:   './configure' '--with-mysql=/usr/local/mysql'
'--with-apxs=/usr/local/apache/bin/apxs'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DUSE_EXPAT -DNO_DL_N
EEDED -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES:    -I/usr/local/apache/include  -I$(top_builddir)/Zend -I/usr/loca
l/mysql/include/mysql
LDFLAGS:     -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-
solaris2.7/2.95.3 -L/usr/local/lib/gcc-lib/sparc-s
un-solaris2.7/2.95.3 -R/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mys
ql
LIBS:       -lmysqlclient -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket
 -lsocket -lgcc
DLIBS:
SAPI:       apache
PHP_RPATHS:  /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3
/usr/local/mysql/lib/mysql
uname -a:   SunOS gtp 5.7 Generic_106541-06 sun4m sparc SUNW,SPARCstation-20

gcc -o
conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DUSE_EXPAT -DNO_
DL_NEEDED -DSUPPORT_UTF8  -R/usr/ucblib -L/
usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3 -L/usr/local
/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3 -R/usr/lo
cal/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
conftest.c -lmysqlclient -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket
-
lsocket -lgcc 1>&5
Undefined                       first referenced
 symbol                             in file
uncompress
/usr/local/mysql/lib/mysql/libmysqlclient.so
compress
/usr/local/mysql/lib/mysql/libmysqlclient.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
----- end -----

I ignored the error and continued. When the install completed, i followed
the instructions and copied php.ini-dist to /usr/local/lib/php.ini and made
no changes to it. i uncommented httpd.conf to allow php 4. the Load module
line is there. The error produced from starting apache is below.

----- apache error -----
# apachectl configtest
Syntax error on line 34 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/mysql/lib/mysql/libmysqlclient.so.10: symbol uncompress:
referenced symbol not found
#
----- end -----

The setup for my machine is described below.

Sparc 20 w/ Solaris 2.7
Apache 1.3.20 in /usr/local/apache
mysql 3.23.40 in /usr/local/mysql
php 4.0.6

the options i used with configure script were --with-mysql=/usr/local/mysql
and --with-apxs=/usr/local/apache/bin/apxs

I'd appreciate any feed back on this problem. The ultimate goal here for me
is to get a webmail working which needed PHP. I also wanted to install php
to learn it. If anyone requires more information, i will be glad to provide
it.

Thanks

-Anoop Bhat
[EMAIL PROTECTED]

I sent this message to another list. I"m sorry if people get duplicates.






hey.

having problem with make install after successfully running
#
./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/sbin/apxs
# make
(uhm.. had big problems with make when i ran ./configure --with-apxs and
apache2. go
figure)
i can't really dechiffer this errormessage:
# make install
<snip>
Making install in .
/usr/local/sbin/apxs -i -a -n php4 libphp4.la
libtool --mode=install cp libphp4.la /usr/local/libexec/apache/libphp4.la
apxs:Break: Command failed with rc=16711680
*** Error code 1
Stop in /usr/home/xlarge/install/php-4.0.6.
*** Error code 1
Stop in /usr/home/xlarge/install/php-4.0.6.

any ideas?

regards
lasse öhgren







Hello,

I have been trying to install PHP4.0.6 with GD2.0.1 support.

config line:
./configure --with-config-file-path=/etc/httpd/conf --with-mysql=/usr --with
-pgsql --with-mcrypt --with-imap=../imap --with-apxs=/usr/sbin/apxs --with-z
lib-dir=/usr --with-gd=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-
openssl  --with-curl-dir=/usr --enable-ftp --enable-shmop --enable-xml --ena
ble-track-vars

When I make install and try to restart apache, it dies with:
Cannot load /usr/libexec/libphp4.so into server: /usr/libexec/libphp4.so:
undefined symbol: gdImageColorClosestAlpha

Anyone have any idea?

--
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Félix C.Courtemanche . [EMAIL PROTECTED]
Co-Administrator . http://www.can-host.com/
Head Designer . http://www.can-design.com/
.




Reply via email to