Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Stuart Henderson (stuspacehopper.org)
Date: Wed May 15 2013 - 13:46:17 CDT
On 2013-05-15, Steve Pribyl <SPribylviaforensics.com> wrote:
> I have inherited this system, new to openbsd, and need to install mcrypt but
> I am having a dependency issue.
> OpenBSD mirror 5.0 GENERIC#53 amd64
> # export
> # pkg_add -i mcrypt
> Can't install mcrypt-2.6.8p1 because of libraries
>|library ltdl.4.5 not found
>| /usr/local/lib/libltdl.so.5.0 (libltdl-2.4.2): bad major
> Direct dependencies for mcrypt-2.6.8p1 resolve to libmcrypt-2.5.8p1
> mhash-0.9.9.9 libltdl-2.4.2 gettext-0.18.1p0 libiconv-1.13p2
> Full dependency tree is libmcrypt-2.5.8p1 mhash-0.9.9.9 libltdl-2.4.2
> gettext-0.18.1p0 libiconv-1.13p2
From the library version number, it looks like the packages you have got
installed on this system don't match the OS version and are from sometime
after 5.0 (possibly from a -current snapshot). This isn't supported,
http://www.openbsd.org/faq/faq15.html#NoFun explains a bit about why.
Probably the easiest way out of this problem for now with minimum
impact on the machine is to try building mcrypt from ports. If you already
have a ports tree on the machine,
cd /usr/ports/security/mcrypt && make install
if not then you'll want to fetch a copy of the 5.0 ports tree,
> I for the moment loth to upgrade to 5.1,5.2,5.3 until I have a better handle
> on how our apps work.
Sensible. And as you're new to the OS I'd suggest installing on a scratch
machine or VM to get to learn things a bit better, and try an upgrade via that
route (including updating packages) before attempting it on an important
This might be a worthwhile investment..