From:             [EMAIL PROTECTED]
Operating system: RH Linux 7.0
PHP version:      4.0 Latest CVS (23/01/2001)
PHP Bug Type:     Compile Failure
Bug description:  Link problems with Sablot 0.50

(CVS 2001.01.17)

When compiling with Sablot 0.50, the following errors come up:

/bin/sh /usr/src/redhat/BUILD/php-4.0.5dev_20010117/libtool --silent --mode=link gcc  
-I. -I/usr/src/redhat/BUILD/php-4.0.5dev_20010117/ 
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010117/main 
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010117 
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010117/Zend -I/usr/include/freetype 
-I/usr/include/imap -I/opt/sybase-11.9.2/include 
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010117/ext/xml/expat/xmltok 
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010117/ext/xml/expat/xmlparse 
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010117/TSRM  -DXML_BYTE_ORDER=12 -O2 -m486 
-fno-strength-reduce -fPIC   -o libphp4.la -rpath 
/usr/src/redhat/BUILD/php-4.0.5dev_20010117/libs -L/usr/kerberos/lib 
-L/opt/sybase-11.9.2/lib  -R /usr/kerberos/lib -R /opt/sybase-11.9.2/lib stub.lo  
Zend/libZend.la sapi/cgi/libsapi.la main/libmain.la regex/libregex.la 
ext/dba/libdba.la ext/domxml/libdomxml.la ext/ftp/libftp.la ext/gd/libgd.la 
ext/gettext/libgettext.la ext/imap/libimap.la ext/openssl/libopenssl.la 
ext/pcre/libpcre.la ext/pdf/libpdf.la ext/posix/libposix.la ext/sablot/libsablot.la 
ext/session/libsession.la ext/standard/libstandard.la ext/sybase_ct/libsybase_ct.la 
ext/sysvsem/libsysvsem.la ext/sysvshm/libsysvshm.la ext/xml/libxml.la ext/yp/libyp.la 
TSRM/libtsrm.la -lpam -lc-client -ldl -linsck -lsybtcl -lintl -lcomn -lct -lcs -lexpat 
-lexpat -lsablot -lz -ljpeg -lpng -ltiff -lpdf -lgssapi_krb5 -lkrb5 -lk5crypto 
-lcom_err -lttf -lz -lpng -lgd -ljpeg -lz -lxml -lgdbm -lssl -lcrypto -lresolv -lm 
-ldl -lcrypt -lnsl -lttf -lpng -ljpeg -lz -lpam -lxmlparse -lxmltok -lresolv -Lyes/lib 
-lz -L/usr/lib -ljpeg
/usr/src/redhat/BUILD/php-4.0.5dev_20010117/libtool: yes/lib: No such file or directory
libtool: link: warning: cannot determine absolute directory name of `yes/lib'
libtool: link: passing it literally to the linker, although it might fail
/bin/sh /usr/src/redhat/BUILD/php-4.0.5dev_20010117/libtool --silent --mode=link gcc  
-I. -I/usr/src/redhat/BUILD/php-4.0.5dev_20010117/ 
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010117/main 
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010117 
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010117/Zend -I/usr/include/freetype 
-I/usr/include/imap -I/opt/sybase-11.9.2/include 
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010117/ext/xml/expat/xmltok 
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010117/ext/xml/expat/xmlparse 
-I/usr/src/redhat/BUILD/php-4.0.5dev_20010117/TSRM  -DXML_BYTE_ORDER=12 -O2 -m486 
-fno-strength-reduce -fPIC   -o php -export-dynamic      stub.lo libphp4.la
.libs/libphp4.a(xml.o): In function `php_if_xml_set_end_namespace_decl_handler':
xml.o(.text+0x2619): undefined reference to `XML_SetEndNamespaceDeclHandler'
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/php-4.0.5dev_20010117'
make: *** [all-recursive] Error 1

The configure line is as follows:

./configure \
        --prefix=%{_prefix} \
        --with-config-file-path=%{_sysconfdir} \
        --disable-debug \
        --enable-pic \
        --enable-shared \
        --enable-inline-optimization \
        $* \
        --with-exec-dir=%{_bindir} \
        --with-regex=php \
        --with-gettext \
        --with-gd \
        --with-jpeg-dir=%{_prefix} \
        --with-tiff-dir=%{_prefix} \
        --with-png \
        --with-gdbm \
        --enable-debugger \
        --enable-magic-quotes \
        --enable-safe-mode \
        --enable-sysvsem \
        --enable-sysvshm \
        --enable-track-vars \
        --enable-yp \
        --enable-ftp \
        --without-mysql \
        --without-oracle \
        --without-oci8 \
        --with-openssl \
        --with-xml \
        --with-expat-dir=/usr \
        --with-imap \
        --with-dom \
        --with-sablot=/usr/local \
        --with-kerberos \
        --with-sybase-ct=/opt/sybase-11.9.2 \
        --with-pdflib \
        --enable-gd-native-ttf \
        --with-ttf



-- 
Edit Bug report at: http://bugs.php.net/?id=8872&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to