[ELDK] Problems using libxml2

Wolfgang Denk wd at denx.de
Thu Nov 12 12:28:22 CET 2009


Dear Michael Steiger,

In message <4AFBB906.2060008 at infoworks.at> you wrote:
>
> Yesterday I forgot one part of my attempts:
> While trying to use the shared library (libxml2.so.2 and 
> libxml2.so.2.6.29 are already installed) I get the error:
> ld: cannot find -lxml2

Did you try adding "/usr/lib" to your /etc/ld.so.conf file (resp.
/opt/eldk/ppc_85xx/etc/ld.so.conf) ?

> But as I found out later this happens because the makefile specifies the
> -static
> linker flag. I will have to ask my supplier if this is really needed.

That should not be needed. Static linking with glibc is usually not a
wise thing to do.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Testing can show the presense of bugs, but not their absence.
                                                   -- Edsger Dijkstra


More information about the eldk mailing list