On 6 May 2017 at 19:15, Petter Gustad <[email protected]> wrote:

> Good tip, but unfortunately it fails with the same message as above.
>
>> BTW: Does `locate libexpat` give any results on your machine?
>
> Yes, it will find the .so files in /lib64. But there is no .la file
> there. "locate" will also find the 'libexpat.la' I've built locally.
>
> Again, back to my origional problem that I don't know how I can tell
> libtool how to find libexpat.la in the other location.

Dunno if this will help, but

we build HWLOC here, as it's a dependency for OpenMPI 1.10, for the
School's ArchLinux/PkgSrc systems.

I'm aware that PkgSrc sometimes jumps through a couple of hoops for
libtool, so I went looking for you in case I could shed any light.

Our HWLOC, version 1.11.4's source tree doesn't even mention Expat

$ tar xf /src/work/pkgsrc/distfiles/hwloc-1.11.4.tar.gz
$ cd hwloc-1.11.4/
$ grep -ir expat .
$

and the lstopo binary that gets built certainly doesn't link in a
dynamic Expat lib either

$ ldd /usr/pkg/bin/lstopo
        linux-vdso.so.1 (0x00007fff7bd0b000)
        libhwloc.so.5 => /usr/pkg/lib/libhwloc.so.5 (0x00007fb50bf4f000)
        libudev.so.1 => /usr/lib/libudev.so.1 (0x00007fb50c36b000)
        libpciaccess.so.0 => /usr/pkg/lib/libpciaccess.so.0 (0x00007fb50bd45000)
        libxml2.so.2 => /usr/pkg/lib/libxml2.so.2 (0x00007fb50b97d000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fb50b779000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007fb50b562000)
        liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007fb50b33c000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007fb50b038000)
        libncursesw.so.6 => /usr/lib/libncursesw.so.6 (0x00007fb50adcc000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007fb50aa2e000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007fb50a817000)
        libcap.so.2 => /usr/lib/libcap.so.2 (0x00007fb50a613000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007fb50a40b000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fb50a1ee000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fb50c18a000)

I just grabbed the latest HWLOC source tarball, from open-mpi.org and that
doesn't mention Expat either ?

$ tar xf /src/work/pkgsrc/distfiles/hwloc-1.11.7.tar.gz
$ cd hwloc-1.11.7/
$ grep -ir expat .
$

whilst the configure options for XML only mention libxml2, not  expat.

  --disable-libxml2       Do not use libxml2 for XML support, use a custom
                          minimalistic support

So what version of HWLOC are you using ?

Kevin M. Buckley

eScience Consultant
School of Engineering and Computer Science
Victoria University of Wellington
New Zealand
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to