PHP 4.0 Bug #7820 Updated: xmlFreeURI not found
| From: | dietricha at subpop dot com | Date: | Thu, 16 Nov 2000 00:20:27 +0000 |
| Subject: | PHP 4.0 Bug #7820 Updated: xmlFreeURI not found | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38278@lists.php.net to get a copy of this message | ||
ID: 7820
User Update by: dietricha@subpop.com
Status: Open
Bug Type: DOM XML related
Description: xmlFreeURI not found
update:
now attempting to build with a locally compiled libxml2-2.2.8, prefix=/usr/local
php4.0.3pl1:
------------
--with-dom:
i get the same xmlFreeURI error, and configure keeps going.
--with-dom=/usr/local:
i get the same xmlFreeURI error, and configure exits immediately.
php4-devel
----------
--with-dom:
i get the same xmlFreeURI error, and configure exits immediately.
--with-dom=/usr/local:
i get the same xmlFreeURI error, and configure continues.
the behaviour is switched in the 2 versions(!?)
Previous Comments:
---------------------------------------------------------------------------
[2000-11-15 13:04:15] dietricha@subpop.com
sorry i didn't specify. i am using libxml2-devel from the link at http://www.xmlsoft.org/#Downloads.
just to double check, i grepped xmlFreeURI /usr/include/libxml/uri.h and found it.
also, i removed all my php amd libxml sources and packages and re-downloaded and went through my
tests again last night. still got the xmlFreeURI error.
note:
Php4.0.3pl1 configures past the --with-dom library check and the zlib check, and then chokes on the
"xmlFreeURI" error, *without* having the libxml2-devel package installed.
When building php4-devel from 11.13.00, configure can't find the libs if i don't have
libxml2-devel package installed. After i install libxml2-devel, *then* it gets the xmlFreeURI error.
---------------------------------------------------------------------------
[2000-11-15 10:31:37] joey@php.net
I have just checked every version of libxml from 2.2.2 (which
is what I use) to the latest CVS, and they all have xmlFreeURI
defined in /<includepath>/libxml/uri.h...
If you still have the debian libxml-dev package installed,
then you need to apt-get remove it, as it contains the
headers for 1.8.2.
If you don't, where did you get your "libxml-devel lib"?
---------------------------------------------------------------------------
[2000-11-15 02:41:17] dietricha@subpop.com
i already had apt-get removed libxml1
but to double-check, i did:
find / -name "libxml.*"
find / -name "libxml"
find / -name "tree.h"
and got only the current libxml2-2.2.7 and libxml-devel libs.
tried again compiling php4.03pl1 and the latest devel snapshot, but both with same error: no
xmlFreeURI.
---------------------------------------------------------------------------
[2000-11-14 19:51:00] joey@php.net
Sounds to me like you already have Debian's libxml installed,
which is 1.8.3. Make sure that no other libxml exists on
your system.
---------------------------------------------------------------------------
[2000-11-14 17:29:03] dietricha@subpop.com
configure command "--with-dom"
libxml2-2.2.7 in /usr/lib
libxml2-devel in /usr/lib
still got xmlFreeURI error.
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=7820