From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bei Guan Subject: Error about loading shared libraries libyajl.so.2 Date: Sat, 12 May 2012 00:39:50 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2444773774503096737==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel List-Id: xen-devel@lists.xenproject.org --===============2444773774503096737== Content-Type: multipart/alternative; boundary=bcaec554e116965b0704bfc56297 --bcaec554e116965b0704bfc56297 Content-Type: text/plain; charset=ISO-8859-1 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 --bcaec554e116965b0704bfc56297 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

When I do "xl list", there is an error like this:
<= br>root@gavin-desktop:~# xl list
xl: error while loading shared librarie= s: libyajl.so.2: cannot open shared object file: No such file or directory<= br clear=3D"all">
I install the yajl followed this message:
http://lists.xen.org/a= rchives/html/xen-users/2012-03/msg00325.html

After that, the mod= ule libyajl.so.2 is copied to /usr/local/lib/.

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


Best= Regards,
Bei Guan

--bcaec554e116965b0704bfc56297-- --===============2444773774503096737== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============2444773774503096737==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bei Guan Subject: Re: Error about loading shared libraries libyajl.so.2 Date: Sat, 12 May 2012 01:22:53 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3326488397959265117==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel List-Id: xen-devel@lists.xenproject.org --===============3326488397959265117== Content-Type: multipart/alternative; boundary=f46d040839898aba9804bfc5fc7f --f46d040839898aba9804bfc5fc7f Content-Type: text/plain; charset=ISO-8859-1 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 Thanks, Bei Guan 2012/5/12 Bei Guan > 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 --f46d040839898aba9804bfc5fc7f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

This problem is solved now.

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

=A0=A0 try= ing file=3D/lib/libyajl.so.2
=A0=A0 trying file=3D/usr/lib/libyajl.so.2<= br>=A0=A0 trying file=3D/lib/x86_64-linux-gnu/tls/x86_64/libyajl.so.2
=A0=A0 trying file=3D/lib/x86_64-linux-gnu/tls/libyajl.so.2
=A0 ...
<= br>However, the actual path of libyajl is /usr/local/lib/libyajl.so.2.0.5 w= here 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


Thank= s,
Bei Guan




2012/5/12 Bei = Guan <gbtju85@gmail.com>
Hi,

When I do &quo= t;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 G= uan

--f46d040839898aba9804bfc5fc7f-- --===============3326488397959265117== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============3326488397959265117==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roger Pau Monne Subject: Re: Error about loading shared libraries libyajl.so.2 Date: Mon, 14 May 2012 10:28:39 +0100 Message-ID: <4FB0D047.7010104@citrix.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Bei Guan Cc: xen-devel List-Id: xen-devel@lists.xenproject.org Bei Guan escribi=F3: > Hi, > > This problem is solved now. > > My environment is 64-bit ubuntu and xl needs to find libyajl from the fol= lowing paths. > > trying file=3D/lib/libyajl.so.2 > trying file=3D/usr/lib/libyajl.so.2 > trying file=3D/lib/x86_64-linux-gnu/tls/x86_64/libyajl.so.2 > trying file=3D/lib/x86_64-linux-gnu/tls/libyajl.so.2 > ... > > However, the actual path of libyajl is /usr/local/lib/libyajl.so.2.0.5 wh= ere 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> > 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 share= d 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 > > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: Error about loading shared libraries libyajl.so.2 Date: Mon, 14 May 2012 10:36:09 +0100 Message-ID: <1336988169.31817.53.camel@zakaz.uk.xensource.com> References: <4FB0D047.7010104@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: In-Reply-To: <4FB0D047.7010104@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau Monne Cc: Bei Guan , xen-devel List-Id: xen-devel@lists.xenproject.org T24gTW9uLCAyMDEyLTA1LTE0IGF0IDEwOjI4ICswMTAwLCBSb2dlciBQYXUgTW9ubmUgd3JvdGU6 Cj4gQmVpIEd1YW4gZXNjcmliacOzOgo+ID4gSGksCj4gPgo+ID4gVGhpcyBwcm9ibGVtIGlzIHNv bHZlZCBub3cuCj4gPgo+ID4gTXkgZW52aXJvbm1lbnQgaXMgNjQtYml0IHVidW50dSBhbmQgeGwg bmVlZHMgdG8gZmluZCBsaWJ5YWpsIGZyb20gdGhlIGZvbGxvd2luZyBwYXRocy4KPiA+Cj4gPiAg ICAgdHJ5aW5nIGZpbGU9L2xpYi9saWJ5YWpsLnNvLjIKPiA+ICAgICB0cnlpbmc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