When upgrading packages, 'pkg upgrade', shared lib is missing. ... [36/37] Upgrading cyrus-sasl from 2.1.26_12 to 2.1.26_13... *** Updated user `cyrus'. [36/37] Extracting cyrus-sasl-2.1.26_13: 100% Shared object "libdl.so.1" not found, required by "saslpasswd2" Shared object "libdl.so.1" not found, required by "sasldblistusers2" WARNING: Failed to create /usr/local/etc/sasldb2.db ... After some searching I found that 'libdl' functions is now included in 'libc' and therefore not needed anymore. The database is not created.
Here, if it helps (apologies for the noise): ---- [grahamperrin@momh167-gjp4-hpelitebook8570p-freebsd] ~% date ; uname -v Fri 16 Mar 2018 23:48:57 GMT FreeBSD 12.0-CURRENT #0 r320869: Mon Jul 10 13:57:55 UTC 2017 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC [grahamperrin@momh167-gjp4-hpelitebook8570p-freebsd] ~% ldd /usr/local/sbin/saslpasswd2 /usr/local/sbin/saslpasswd2: libsasl2.so.3 => /usr/local/lib/libsasl2.so.3 (0x800825000) libc.so.7 => /lib/libc.so.7 (0x800a41000) [grahamperrin@momh167-gjp4-hpelitebook8570p-freebsd] ~% ldd /usr/local/sbin/sasldblistusers2 /usr/local/sbin/sasldblistusers2: libsasl2.so.3 => /usr/local/lib/libsasl2.so.3 (0x800826000) libc.so.7 => /lib/libc.so.7 (0x800a42000) [grahamperrin@momh167-gjp4-hpelitebook8570p-freebsd] ~% /usr/local/sbin/saslpasswd2 -v This product includes software developed by Computing Services at Carnegie Mellon University (http://www.cmu.edu/computing/). Built against SASL API version 2.1.26 LibSasl version 2.1.26 by "Cyrus SASL" [grahamperrin@momh167-gjp4-hpelitebook8570p-freebsd] ~% /usr/local/sbin/sasldblistusers2 -v This product includes software developed by Computing Services at Carnegie Mellon University (http://www.cmu.edu/computing/). Built against SASL API version 2.1.26 LibSasl version 2.1.26 by "Cyrus SASL" ---- Yep, that's a very outdated 12.0-CURRENT. Throwing what's above into the mix only because today I worked around a libdl.so.1 issue for a different port, [grahamperrin@momh167-gjp4-hpelitebook8570p-freebsd] ~% eom Shared object "libdl.so.1" not found, required by "libgirepository-1.0.so.1" AFAIR the workaround in my case (involving bleeding edge Area 51) was something like … - temporarily install devel/bison - installing devel/gobject-introspection from ports. ---- tl;dr I somehow got from: [grahamperrin@momh167-gjp4-hpelitebook8570p-freebsd] ~% ldd /usr/local/bin/eom | grep found libdl.so.1 => not found (0) – to libdl no longer amongst the indirect dependencies for eom. The other bug that I looked at today was 226200.
I cannot reproduce the problem. Sorry but we doesn't provide binary compatibility on current. Please compile it by yourself.