HI,

I have posted this question before and had no response.

I cannot compile PHP on OpenUnix 8. Have successfully installed on
OpenServer 5.0.x but can't get OpenUnix to work.

My configure line is this:

./configure --with-mysql=/usr/local/mysql --with-xml --with-dom --enable-tra
ck-vars --with-zlib-dir=/usr/local/lib

This is the error I'm receiving when I try to make the library:

/bin/sh /home/samsa/archives/php-4.2.1/libtool --silent --mode=link
gcc -I. -I/home/samsa/archives/php-4.2.1/ -I/home/samsa/archives
/php-4.2.1/main -I/home/samsa/archives/php-4.2.1 -I/home/samsa/archives/php-
4.2.1/Zend -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/my
sql/include -I/home/samsa/archives/php-4.2.1/ext/xml/expat  -I/home/samsa/ar
chives/php-4.2.1/TSRM -g -O2   -o php -export-dynamic    stub.lo libphp4.la
Undefined                            first referenced
symbol                                in file
php_register_variable_ex    libphp4.a(rfc1867.o)
php_std_post_handler        libphp4.a(php_content_types.o)
php_treat_data                   libphp4.a(main.o)
tsrm_strtok_r                      libphp4.a(tsrm_virtual_cwd.o)
__builtin_generic                 libphp4.a(formatted_print.o)
php_register_variable          libphp4.a(cgi_main.o)
php_import_environment_variables    libphp4.a(cgi_main.o)
UX:ld: ERROR: Symbol referencing errors. No output written to php
collect2: ld returned 1 exit status
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.

Here are my environment variables:

LD_RUN_PATH=/usr/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/mysql/lib/mysql:
PWD=/home/samsa/archives/php-4.2.1
TZ=:Australia/Queensland
MAPCHAN=/usr/lib/mapchan/88591.dk
HZ=100
HOSTNAME=uw8
LD_LIBRARY_PATH=;/lib:/usr/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/mysql/
lib/mysql:/usr/local/bdb:/usr/gnu/lib:
SHIFTDOWN=yes
KEYBOARD=C/US
TIMEOUT=0
MANPATH=scohelp:/usr/man:/usr/local/man:
NUMLOCK=no
MACHTYPE=i486-pc-sysv5
TFADMIN=
OLDPWD=/
XMODIFIERS=@im=Local
TERMCAP=/etc/termcap
LANG=en_AU
DISPLAY=swift:0.0
LOGNAME=root
SHLVL=1
XKEYBOARD=C/US
SHELL=/sbin/sh
HOSTTYPE=i486
OSTYPE=sysv5
HOME=/
TERM=scoansi
XNLSPATH=/usr/X/lib/Xsi/C/US
PATH=:/sbin:/usr/sbin:/usr/bin:/etc:/usr/ccs/bin:/usr/local/bin:/usr/gnu/bin
:
_=/usr/bin/env

System = OpenUNIX
Node = uw8
Release = 5
KernelID = 01/06/09
Machine = Pentium III
BusType = ISA
Serial = 3IF048974
Users = 5
OEM# = 0
Origin# = 1
NumCPU = 1

I must be missing a library, or something isn't getting compiled in.

Any help would be much appreciated.

Thanks,
Sam




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to