PHP 4.0 Bug #7820 Updated: xmlFreeURI not found
| From: | joey@php.net | Date: | Wed, 15 Nov 2000 15:31:37 +0000 |
| Subject: | PHP 4.0 Bug #7820 Updated: xmlFreeURI not found | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38145@lists.php.net to get a copy of this message | ||
ID: 7820
Updated by: joey
Reported By: dietricha@subpop.com
Status: Feedback
Bug Type: DOM XML related
Assigned To:
Comments:
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"?
Previous Comments:
---------------------------------------------------------------------------
[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.
---------------------------------------------------------------------------
[2000-11-14 17:20:03] dietricha@subpop.com
specs:
apache 1.3.14
php snapshot 11.13.00
libxml2-2.2.8
configure error:
"checking for xmlFreeURI in -lxml...no
configure: error: DOM Module requires libxml >= 2.0"
notes:
configure command was "--with-dom=/usr/local/libxml2-2.2.8"
php was not ever able to find the libs if i installed them to /usr/lib. it also could not find them
if i installed to /usr/local/lib, and specified that dir. the only way i got configure to see the
libs was if i compiled from source, and didn't do "make install". then configure
finally could see the libs, but gave me the xmlFreeURI error.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7820