Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

SOLVED FreeNAS-11.1-U7 jails broken: "libdl.so.1" not found

Joined
Oct 3, 2015
Messages
51
Thanks
1
#1
Using the 11.0 template, my dedicated PMS jail has broken after running the last pkg upgrade. I made a new jail and ran all the updates; same problem. The worst symptom of the problem is that python will not run. So this has wide ranging implications.

I made a fresh test jail, ran no updates, and it doesn't have this problem:

Code:
[bill@freenas /]$ jls
   JID  IP Address      Hostname                      Path
     1                  plex.localdomain              /mnt/z1/jails/plex
     2                  test                          /mnt/z1/jails/test
[bill@freenas /]$ su
Password:
root@freenas:/ # jexec 2 /bin/csh
root@test:/ # python2.7
Python 2.7.13 (default, Apr 29 2017, 01:15:45)
[GCC 4.2.1 Compatible FreeBSD Clang 3.8.0 (tags/RELEASE_380/final 262564)] on freebsd11
Type "help", "copyright", "credits" or "license" for more information.
>>>
root@test:/ # exit
root@freenas:/ # jexec 1 /bin/csh
root@plex:/ # python2.7
Shared object "libdl.so.1" not found, required by "pnksython2.7"


Any help appreciated.

Thanks!
 
Joined
Oct 3, 2015
Messages
51
Thanks
1
#2
ln -sf /lib/libc.so.7 /usr/lib/libdl.so.1
 
Joined
Jun 12, 2019
Messages
1
Thanks
0
#3
I had to register just to reply and tell you that this fixed my Plex Server on 11.1-U7. Thank you for figuring this out and sharing the command with us. After running the updater script it was completely broken and I thought all was lost but this command was simple and worked immediately.
 
Top