Re: [bug-gettext] building gettext with custom libxml2

2017-10-23 Thread David Lukeš
Hi, Thank you very much for the swift response, both your suggestions are exactly spot on! I'm off to report them to Spack so that they can update the package definition. Thank you also for teaching me a little bit about resolving these problems in general :) Best, David On 10/22/2017 10:5

Re: [bug-gettext] building gettext with custom libxml2

2017-10-22 Thread Bruno Haible
Hi, > This is how configure was invoked: > > ./configure > --prefix=/cnk/common/tools/spack/opt/spack/linux-ubuntu12.04-x86_64/gcc-6.4.0/gettext-0.19.8.1-iyq7wap5sppgofyeunv7j36rvmeewop4 > > --disable-java --disable-csharp --with-included-glib > --with-included-gettext --with-included-libcroc

[bug-gettext] building gettext with custom libxml2

2017-10-22 Thread David Lukeš
Hi all, I'm trying to build gettext 0.19.8.1 with a custom version of libxml2. The includes are correctly found, but when it comes to linking, gcc tries to link against a system-installed version of libxml2 instead, which results in an undefined reference error: /bin/sh ../libtool  --tag=CC   --