Created attachment 176693 [details] output from running rpm through truss Using rpm to install a CentOS package on -CURRENT fails with the error: # rpm --root /tst/linux/ -i /tst/linux/var/cache/yum/base/packages/vim-minimal-7.4.629-5.el6.x86_64.rpm warning: /tst/linux/var/cache/yum/base/packages/vim-minimal-7.4.629-5.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY error: Failed to resolve symbol syslog_hooks: Undefined symbol "nspr_use_zone_allocator" error: error reading from file /tst/linux/var/cache/yum/base/packages/vim-minimal-7.4.629-5.el6.x86_64.rpm Listing the contents of the package appears to work: # rpm --root /tst/linux/ -qlp /tst/linux/var/cache/yum/base/packages/vim-minimal-7.4.629-5.el6.x86_64.rpm warning: /tst/linux/var/cache/yum/base/packages/vim-minimal-7.4.629-5.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY /bin/ex /bin/rvi /bin/rview /bin/vi /bin/view /etc/virc All .rpm's appear to have the same issue, so I don't suspect it is a problem with the particular archive. The syslog.so from rpm4 appears to be pointed at the correct library: # grep -r nspr_use_zone_allocator /usr/local/lib* Binary file /usr/local/lib/firefox/libxul.so matches Binary file /usr/local/lib/libnspr4.a matches Binary file /usr/local/lib/libnspr4.so matches # ldd /usr/local/lib/rpm-plugins/syslog.so | grep nspr libnspr4.so => /usr/local/lib/libnspr4.so (0x803477000) # pkg which /usr/local/lib/libnspr4.so /usr/local/lib/libnspr4.so was installed by package nspr-4.13_1 # pkg info nspr-4.13_1 nspr-4.13_1 Name : nspr Version : 4.13_1 Installed on : Sat Oct 29 09:43:14 2016 PDT Origin : devel/nspr Architecture : freebsd:12:x86:64 Other software info: # pkg info rpm4 rpm4-4.12.0.1_3 Name : rpm4 Version : 4.12.0.1_3 Installed on : Sat Oct 29 09:43:15 2016 PDT Origin : archivers/rpm4 Architecture : freebsd:12:x86:64 # uname -a FreeBSD chuck-laptop 12.0-CURRENT FreeBSD 12.0-CURRENT #14 1717ae3(drm-next-4.7): Fri Oct 28 13:49:49 UTC 2016 root@gauntlet:/usr/obj/usr/src/sys/GENERIC amd64 rpm URL : http://mirror.atlantic.net/centos/6.8/os/x86_64/Packages/vim-minimal-7.4.629-5.el6.x86_64.rpm Output from truss is attached in case that is of use.
Please try to rebuild rmp port without plugins.
Anyway rpm -i will not install Linux packages under FreeBSD and you will need to follow method described in Handbook: https://www.freebsd.org/doc/handbook/linuxemu-lbc-install.html