<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:0px 0px 1.2em!important"> Hi Hui, </p>
<p style="margin:0px 0px 1.2em!important">libevent(-2.0.so.5) is at available at /lib64. pmix depends on libevent as per the <a href="https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/pmix/package.py">spack recipe</a>. Checking for libpmix linkage I do see that it is linked to libevent :</p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline;white-space:pre;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important">[sas4990@quser10 lib64]$ pwd
/usr/local/pmix-3.1.5/lib64
[sas4990@quser10 lib64]$ ldd libpmix.so.2.2.25
        linux-vdso.so.1 =>  (0x00007fffbfbe7000)
        libm.so.6 => /lib64/libm.so.6 (0x00002b413ffb3000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00002b41402b5000)
        libevent-2.0.so.5 => /lib64/libevent-2.0.so.5 (0x00002b41404b8000)
        libevent_pthreads-2.0.so.5 => /lib64/libevent_pthreads-2.0.so.5 (0x00002b4140700000)
        libz.so.1 => /home/sas4990/packages/spack/opt/spack/linux-rhel7-ivybridge/gcc-4.8.5/zlib-1.2.11-dy4p76tgbhwcznwvv7rcagzfcbxyhsbo/lib/libz.so.1 (0x00002b4140903000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00002b4140b1a000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b4140d1e000)
        libc.so.6 => /lib64/libc.so.6 (0x00002b4140f3a000)
        /lib64/ld-linux-x86-64.so.2 (0x00002b413fa75000)
[sas4990@quser10 lib64]$
</code></pre><p style="margin:0px 0px 1.2em!important">I’m confused as to why libtool is unable to read use the dependency listing of pmix to find libevent. readelf tells me that libpmix doesn’t have rpaths set for it’s dependencies, could this be the cause of the linker being unable to find libevent ?</p>
<p style="margin:0px 0px 1.2em!important">Thank You<br>Sajid Ali | PhD Candidate<br>Applied Physics<br>Northwestern University<br><a href="http://s-sajid-ali.github.io">s-sajid-ali.github.io</a></p>
<div title="MDH:PGRpdiBkaXI9Imx0ciIgZ21haWxfb3JpZ2luYWw9IjEiPgo8ZGl2PkhpIEh1aSwgPGJyPjwvZGl2
PjxkaXY+PGJyPjwvZGl2PjxkaXY+bGliZXZlbnQoLTIuMC5zby41KSBpcyBhdCBhdmFpbGFibGUg
YXQgL2xpYjY0LiBwbWl4IGRlcGVuZHMgb24gbGliZXZlbnQgYXMgcGVyIHRoZSA8YSBocmVmPSJo
dHRwczovL2dpdGh1Yi5jb20vc3BhY2svc3BhY2svYmxvYi9kZXZlbG9wL3Zhci9zcGFjay9yZXBv
cy9idWlsdGluL3BhY2thZ2VzL3BtaXgvcGFja2FnZS5weSIgdGFyZ2V0PSJfYmxhbmsiPnNwYWNr
IHJlY2lwZTwvYT4uIENoZWNraW5nIGZvciA8c3BhbiB6ZXVtNGMxND0iUFJfMV8wIiBkYXRhLWRk
bndhYj0iUFJfMV8wIiBhcmlhLWludmFsaWQ9InNwZWxsaW5nIiBjbGFzcz0iTEkgbmciPmxpYnBt
aXg8L3NwYW4+IGxpbmthZ2UgSSBkbyBzZWUgdGhhdCBpdCBpcyBsaW5rZWQgdG8gbGliZXZlbnQg
Ojxicj48L2Rpdj48ZGl2PmBgYDxicj5bc2FzNDk5MEBxdXNlcjEwIGxpYjY0XSQgcHdkPGJyPi91
c3IvbG9jYWwvcG1peC0zLjEuNS9saWI2NDxicj5bc2FzNDk5MEBxdXNlcjEwIGxpYjY0XSQgbGRk
IGxpYnBtaXguc28uMi4yLjI1PGJyPiZuYnNwOyAmbmJzcDsgJm5ic3A7ICZuYnNwOyBsaW51eC12
ZHNvLnNvLjEgPSZndDsgJm5ic3A7KDB4MDAwM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