Re: Re: [xml] libxml linking using rpms

Date view Thread view Subject view Author view

From: Steve Webster (swebster@rayva.org)
Date: Sat Dec 11 1999 - 10:57:17 EST


Daniel,

Thanks for your rapid response. The rpms I'm using came from the url you
mention, ftp://rpmfind.net/pub/veillard/. Here's my output, as you
requested, which looks identical to your sample. Consquently, my issue
looks be related to my environment, beyond libxml.If you think
differently, please let me know.

Thanks once again,
Steve

[root@crusher packages]# rpm -qf /usr/lib/libxml.so.1.7.4
libxml-1.7.4-SNAP
[root@crusher packages]# nm /usr/lib/libxml.so.1.7.4 | grep htmlParseDoc
0002ccc0 T htmlParseDoc
0002b540 T htmlParseDocTypeDecl
0002c600 T htmlParseDocument
[root@crusher packages]# rpm -qf /usr/lib/libxml.a
libxml-devel-1.7.4-SNAP
[root@crusher packages]# nm /usr/lib/libxml.a | grep htmlParseDoc
00003d80 T htmlParseDoc
00002780 T htmlParseDocTypeDecl
00003750 T htmlParseDocument
[root@crusher packages]# ls -l /usr/lib/libxml.so.1
lrwxrwxrwx 1 root root 15 Dec 7 07:51
/usr/lib/libxml.so.1 -> libxml.so.1.7.4

> On Sat, Dec 11, 1999 at 06:50:46AM - 0500 Daniel Veillard wrote:
>
> On Fri, Dec 10, 1999 at 01:56:25PM -0500, Steve Webster wrote:
> >
> > Greetings,
> >
> > I'm having troubles linking with the library that's provided with
> > libxml[-devel]-1.7.4-SNAP.i386.rpm. After using the htmlParseDoc method,
> > I get an "undefined reference to htmlParseDoc(unsigned char *, char
> > const *)" linker error upon compiling. I found this behavior strange,
> > since I've been running successfully with the xml portion of the api.
> > Was this binary built so as not to expose the html features? Where might
> > I find documentation to enable html if a binary rebuild is required?
>
> Hum, strange:
>
> Can you double-check the following ?
> [root@orchis /root]# rpm -qf /usr/lib/libxml.so.1.7.4
> libxml-1.7.4-SNAP
> [root@orchis /root]# nm /usr/lib/libxml.so.1.7.4 | grep htmlParseDoc
> 0002ccc0 T htmlParseDoc
> 0002b540 T htmlParseDocTypeDecl
> 0002c600 T htmlParseDocument
> [root@orchis /root]# rpm -qf /usr/lib/libxml.a
> libxml-devel-1.7.4-SNAP
> [root@orchis /root]# nm /usr/lib/libxml.a | grep htmlParseDoc
> 00003d80 T htmlParseDoc
> 00002780 T htmlParseDocTypeDecl
> 00003750 T htmlParseDocument
> [root@orchis /root]# ls -l /usr/lib/libxml.so.1
> lrwxrwxrwx 1 root root 15 Dec 11 13:42 /usr/lib/libxml.so.1
> -> libxml.so.1.7.4
> [root@orchis /root]#
>
> The RPMs as found at ftp://rpmfind.net/pub/veillard/ are definitely
> compiled with the HTML (this is not a configure option)
>
> Daniel

----
Message from the list xml@rufus.w3.org
Archived at : http://rufus.w3.org/veillard/XML/messages
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rufus.w3.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:54 EDT