[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Error about loading shared libraries libyajl.so.2
Bei Guan escribió: Hi, 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 I'ts probably best to add /usr/local/lib to LD_LIBRARY_PATH instead polluting /usr/lib or /lib with symlinks. Thanks, Bei Guan 2012/5/12 Bei Guan<gbtju85@xxxxxxxxx<mailto:gbtju85@xxxxxxxxx>> Hi, 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: http://lists.xen.org/archives/html/xen-users/2012-03/msg00325.html 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 Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |