[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Error about loading shared libraries libyajl.so.2

  • To: xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: Bei Guan <gbtju85@xxxxxxxxx>
  • Date: Sat, 12 May 2012 01:22:53 +0800
  • Delivery-date: Fri, 11 May 2012 17:23:12 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>


This problem is solved now.

My environment is 64-bit ubuntu and xl needs to find libyajl from the following paths.

   trying file=/lib/libyajl.so.2
   trying file=/usr/lib/libyajl.so.2
   trying file=/lib/x86_64-linux-gnu/tls/x86_64/libyajl.so.2
   trying file=/lib/x86_64-linux-gnu/tls/libyajl.so.2

However, the actual path of libyajl is /usr/local/lib/libyajl.so.2.0.5 where I just installed into.
So, a symbolic link is enough to solve this problem. Just like this:
# ln -s /usr/local/lib/libyajl.so.2.0.5 /lib/libyajl.so.2

Bei Guan

2012/5/12 Bei Guan <gbtju85@xxxxxxxxx>

When I do "xl list", there is an error like this:

root@gavin-desktop:~# xl list
xl: error while loading shared libraries: libyajl.so.2: cannot open shared object file: No such file or directory

I install the yajl followed this message:

After that, the module libyajl.so.2 is copied to /usr/local/lib/.

Is there any advice on this problem. Thank you so much.

Best Regards,
Bei Guan

Best Regards,
Bei Guan

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.