Description of problem: We are developing an application which uses both libsodium and zeromq from EPEL and this makes linking impossible. zeromq-4.1.4-5.el7 brings in libsodium.so.13 from libsodium13-1.0.5-1.el7.x86_64.rpm and if we want to be able to link we must install libsodium13-devel-1.0.5-1.el7 otherwise we get conflicting symbols from libsodium-devel-1.0.16-1.el7 We can't use libsoldium13 though because it is missing the base64 functions which we use. There doesn't seem to be any reason why zeromq must link with the older libsodium13 rather than the newer libsodium and so this whole problem could be eliminated if zeromq was simply recompiled to use the current libsodium. This can be done with a simple recompile within the context of having libsodium-devel installed rather than having libsodium13-devel installed. NB there is no dependency on the older version of libsodium. Version-Release number of selected component (if applicable): zeromq-4.1.4-5.el7 How reproducible: Always Steps to Reproduce: 1. wget https://dl.fedoraproject.org/pub/epel/7/SRPMS/Packages/z/zeromq-4.1.4-5.el7.src.rpm 2. rpm -Uvh zeromq-4.1.4-5.el7.src.rpm 3. cd rpmbuild/SPECS 4. sudo yum install libsodium-devel 5. rpmbuild -ba zeromq.spec 6. rpm -qp --requires /home/ben/rpmbuild/RPMS/x86_64/zeromq-4.1.4-5.el7.x86_64.rpm | grep sodium Actual results: libsodium.so.13()(64bit) Expected results: libsodium.so.23()(64bit)
Thanks Ben, that's a good catch! If we first remove libsodium13, then zeromq compiles with libsodium-1.0.16, ie by linking with libsodium.so.23 as expected. New build (for zeromq-4.1.4-6.el7): https://koji.fedoraproject.org/koji/taskinfo?taskID=32000270 $ yum remove libsodium13 zeromq $ yum --enablerepo=epel-testing install zeromq-devel-4.1.4-6 || yum install https://kojipkgs.fedoraproject.org//work/tasks/273/32000273/zeromq-devel-4.1.4-6.el7.x86_64.rpm https://kojipkgs.fedoraproject.org//work/tasks/273/32000273/zeromq-4.1.4-6.el7.x86_64.rpm $ ldd -r /usr/lib64/libzmq.so | grep sodium libsodium.so.23 => /lib64/libsodium.so.23
zeromq-4.1.4-6.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-cea8576f94
zeromq-4.1.4-6.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-cea8576f94
(In reply to Ben Woodard from comment #0) > Description of problem: > We are developing an application which uses both libsodium and zeromq from > EPEL and this makes linking impossible. Does it work for you, Ben? If yes, could you give some positive karma on https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-cea8576f94 ?
(In reply to Denis Arnaud from comment #4) > (In reply to Ben Woodard from comment #0) > > Description of problem: > > We are developing an application which uses both libsodium and zeromq from > > EPEL and this makes linking impossible. > > Does it work for you, Ben? If yes, could you give some positive karma on > https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-cea8576f94 ? Hi Denis, LLNL reports that it works for them so I've added karma as requested. Travis
zeromq-4.1.4-6.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.