<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div>Hi,</div>
<div><br></div>
<div>This sounds like a problem in the package you're using. <br></div>
<div><br></div>
<div>lock_nonblocking() is a macro defined in lib/cyr_lock.h, which just calls lock_setlock(). If it's trying to resolve "lock_nonblocking" as a symbol, that suggests something has gone awry in the build.<br></div>
<div><br></div>
<div>The locking method is chosen by configure automatically, but can be overridden by passing --with-lock=METHOD to configure:<br></div>
<div><br></div>
<div><div>> --with-lock=METHOD force use of METHOD for locking (flock or fcntl)<br></div>
<div><div><br></div>
</div>
<div>For what it's worth, lock_setlock() is defined in lib/lock_fcntl.c and lib/lock_flock.c. Depending on configure options/etc, one of these will be linked into libcyrus_min.so, which I can see in your ldd output so that's probably not the problem. (Also, it's not complaining about "lock_set", it's complaining about "lock_nonblocking".)<br></div>
<div><br></div>
<div>I don't know much about packaging, but it kind of sounds like the package has somehow been built with no lock method selected.<br></div>
<div><br></div>
<div>It's also interesting to note that you're running "/usr/sbin/cyrmaster" but it's linking against "/usr/local/lib/libcyrus_min.so.0". Do you possibly have two different builds of Cyrus installed? (One in /usr, one in /usr/local.)</div>
<div><br></div>
<div>Have you reported this on the Ubuntu issue tracker?</div>
<div><br></div>
<div>Cheers,<br></div>
<div><br></div>
<div>ellie<br></div>
<div><br></div>
<div>On Thu, Jun 28, 2018, at 9:01 PM, Andrew Bernard wrote:<br></div>
</div>
<blockquote type="cite"><div dir="ltr"><div>I am unable to start cyrmaster installed from the Ubuntu packages with a symbol not found error:<br></div>
<div><br></div>
<div><div># ldd -r /usr/sbin/cyrmaster <br></div>
<div> linux-vdso.so.1 (0x00007fff2d1bd000)<br></div>
<div> libcyrus_min.so.0 => /usr/local/lib/libcyrus_min.so.0 (0x00007f2eb4f60000)<br></div>
<div> libnetsnmpmibs.so.30 => /usr/lib/x86_64-linux-gnu/libnetsnmpmibs.so.30 (0x00007f2eb4ae5000)<br></div>
<div> libnetsnmpagent.so.30 => /usr/lib/x86_64-linux-gnu/libnetsnmpagent.so.30 (0x00007f2eb487c000)<br></div>
<div> libnetsnmp.so.30 => /usr/lib/x86_64-linux-gnu/libnetsnmp.so.30 (0x00007f2eb45a0000)<br></div>
<div> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f2eb4202000)<br></div>
<div> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2eb3e11000)<br></div>
<div> libpcreposix.so.3 => /usr/lib/x86_64-linux-gnu/libpcreposix.so.3 (0x00007f2eb3c0e000)<br></div>
<div> libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f2eb39f1000)<br></div>
<div> libsensors.so.4 => /usr/lib/x86_64-linux-gnu/libsensors.so.4 (0x00007f2eb37e2000)<br></div>
<div> libpci.so.3 => /lib/x86_64-linux-gnu/libpci.so.3 (0x00007f2eb35d4000)<br></div>
<div> libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2eb33d0000)<br></div>
<div> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2eb31b1000)<br></div>
<div> libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f2eb2fa7000)<br></div>
<div> libperl.so.5.26 => /usr/lib/x86_64-linux-gnu/libperl.so.5.26 (0x00007f2eb2baa000)<br></div>
<div> libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f2eb2732000)<br></div>
<div> /lib64/ld-linux-x86-64.so.2 (0x00007f2eb53dc000)<br></div>
<div> libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f2eb24c0000)<br></div>
<div> libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f2eb22a5000)<br></div>
<div> libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f2eb2087000)<br></div>
<div> libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f2eb1e6d000)<br></div>
<div> libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f2eb1c35000)<br></div>
<div> librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f2eb1a2d000)<br></div>
<div>undefined symbol: lock_nonblocking (/usr/sbin/cyrmaster)<br></div>
</div>
<div><br></div>
<div>For reasons unknown to me, a Google search for the term lock_nonblocking returns nothing at all related, which I thought somewhat strange. What am I missing understanding here?<br></div>
<div><br></div>
<div>Andrew<br></div>
<div><br></div>
<div><br></div>
</div>
<div>----<br></div>
<div>Cyrus Home Page: <a href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a><br></div>
<div>List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br></div>
<div>To Unsubscribe:<br></div>
<div><a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a><br></div>
</blockquote><div><br></div>
</body>
</html>