Re: [xml] Static compiling



On Fri, Sep 29, 2006 at 08:39:12PM -0400, Pierre-Luc Bacon wrote:
I can't get a program (ices2) that uses libxml2 to compile statically
with this library. It fails in "./configure" process exposing this in
config.log:

[...]
nohttp.c:1050: warning: Using 'gethostbyname' in statically linked
applications requires at runtime the shared
 libraries from the glibc version used for linking

I tried building libxml2 with --disable-shared and it was doing the

  No idea, I always compile statically in my devel tree and never saw this
when linking xmllint statically for example. Check with your OS/distro
they must know about it.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
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]