[Scons-users] Why scons doesn't pick up libxml2 into the link lines?

Bill Deegan bill at baddogconsulting.com
Mon Nov 24 23:14:35 EST 2014


Not sure what that is, but it's not vanilla SCons..

I take it you've downloaded a project that uses SCons to build itself and
this is some lines from their SConscript?

Can you make a small SConstruct that reproduces the problem?

On Mon, Nov 24, 2014 at 6:01 PM, Yuri <yuri at rawbw.com> wrote:

> I am looking into the case when SConscript has this line:
> libs['XML_PC'] = {'checks':{'libxml-2.0':'>= 2.9.2'}}
> but -lxml2 doesn't get added to the link command.
>
> pkg-config result seems reasonable:
> # pkg-config --libs libxml-2.0
> -L/usr/local/lib -lxml2
>
> But -lxml2 doesn't get into the link line, and build fails.
>
> What might be wrong here?
>
> scons-2.3.0_1 on FreeBSD-10.1
>
> Yuri
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20141124/123cc94e/attachment.html>


More information about the Scons-users mailing list