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

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



On Mon, 2012-05-14 at 10:28 +0100, Roger Pau Monne wrote:
> 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.

Weird that /usr/local/*something* isn't in /etc/ld.so.conf
(/usr/local/lib is there on my Debian system)

In any case it is even better to just install the libyajl packages from
your distro -- there's no requirement to build it from source.

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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