Re: [xml] cannot find -lxml, urgent!



On Mon, Oct 28, 2002 at 10:06:30PM +0000, Ivone Uribe wrote:
Hi all!

I'm trying to install a patch for a gateway (kannel).

But when I execute " make " for this patch (wtls_patch) I get this error!

gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. 
  -o wtls_box wtls_box.o libwtls.a -lz -lpthread -lnsl -lm  -L/usr/lib -lxml 
-lz -L/usr/local/ssl/lib -lcrypto
/usr/bin/ld: cannot find -lxml
collect2: ld returned 1 exit status

I don't understand the cause for that error: /usr/bin/ld: cannot find -lxml. 
I have the libxml2-devel-2.4.2-1 and the libxml2-2.4.2-1installed. Do I need 
another library like "libxml1" or maybe I need set any variable?

Please, anyone can help me? Any idea?

I will be grateful with any contribution,

  it's probably using libxml version 1 considering the include path and
the -lxml (instead of -lxml2).
  I would suggest to switch this code to libxml2.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]