emk2203
Guru
- Joined
- Nov 11, 2012
- Messages
- 573
I had a jail with midnight commander in my earlier FreeNAS installations. After installing a fresh 9.3, I wanted to reinstall mc in a jail again.
pkg updates itself, but after fetching mc and its dependencies, I get:
After some research, it turns out that the issue is discussed fairly recently on the FreeBSD forums: https://forums.freebsd.org/threads/is-this-a-problem-with-the-wget-package-my-system-or-me.49475/
It turns out that the gettext-runtime package is the offending one here; if a pkg install gettext is done manually, the subsequent installation of mc proceeds. BUT: It still doesn't work!
Now I get:
If I run a
now in /usr/local/lib, I get:
At this point I threw in the towel. 5 libraries are missing. What has happened to FreeBSD (and by extension FreeNAS), that a simple install of midnight commander is abysmally broken? In the earlier releases, I could open a jail and simply install whatever package was desired, and never had problems.
pkg updates itself, but after fetching mc and its dependencies, I get:
Code:
Checking integrity...Assertion failed: (pkgdb_ensure_loaded(j->db, p2, PKG_LOAD_FILES|PKG_LOAD_DIRS) == EPKG_OK), function pkg_conflicts_need_conflict, file pkg_jobs_conflicts.c, line 211. Child process pid=67935 terminated abnormally: Abort trap: 6
After some research, it turns out that the issue is discussed fairly recently on the FreeBSD forums: https://forums.freebsd.org/threads/is-this-a-problem-with-the-wget-package-my-system-or-me.49475/
It turns out that the gettext-runtime package is the offending one here; if a pkg install gettext is done manually, the subsequent installation of mc proceeds. BUT: It still doesn't work!
Now I get:
Code:
root@btsync_1:/var/cache/pkg # mc Shared object "libiconv.so.2" not found, required by "libgmodule-2.0.so.0"
If I run a
Code:
ldd libgmodule*
Code:
root@btsync_1:/usr/local/lib # ldd libgmodule* ldd: libgmodule-2.0.a: not a dynamic executable libgmodule-2.0.so: libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x801203000) libiconv.so.2 => not found (0) libpcre.so.1 => not found (0) libintl.so.8 => /usr/local/lib/libintl.so.8 (0x801500000) libthr.so.3 => /lib/libthr.so.3 (0x80170a000) libc.so.7 => /lib/libc.so.7 (0x80081b000) libiconv.so.2 => not found (0) libpcre.so.1 => not found (0) libiconv.so.2 => not found (0) libgmodule-2.0.so.0: libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x801203000) libiconv.so.2 => not found (0) libpcre.so.1 => not found (0) libintl.so.8 => /usr/local/lib/libintl.so.8 (0x801500000) libthr.so.3 => /lib/libthr.so.3 (0x80170a000) libc.so.7 => /lib/libc.so.7 (0x80081b000) libiconv.so.2 => not found (0) libpcre.so.1 => not found (0) libiconv.so.2 => not found (0) libgmodule-2.0.so.0.4200.1: libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x801203000) libiconv.so.2 => not found (0) libpcre.so.1 => not found (0) libintl.so.8 => /usr/local/lib/libintl.so.8 (0x801500000) libthr.so.3 => /lib/libthr.so.3 (0x80170a000) libc.so.7 => /lib/libc.so.7 (0x80081b000) libiconv.so.2 => not found (0) libpcre.so.1 => not found (0) libiconv.so.2 => not found (0)
At this point I threw in the towel. 5 libraries are missing. What has happened to FreeBSD (and by extension FreeNAS), that a simple install of midnight commander is abysmally broken? In the earlier releases, I could open a jail and simply install whatever package was desired, and never had problems.
Last edited: