cooldharma06
2013-Sep-27 11:47 UTC
[libvirt-users] getting an error when installing LIBVIRT.
hi i am installing libvirt-0.9.12. i am getting following error: libvirtd: /usr/local/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_0.9.12' not found (required by libvirtd) how to solve this one. i am installing from my repositary itself. the same package is working fine for my friend. suggest me some solutions. i googled but i have not get any related stuffs. Regards cooldharma06.
Eric Blake
2013-Sep-27 12:05 UTC
Re: [libvirt-users] getting an error when installing LIBVIRT.
On 09/27/2013 05:47 AM, cooldharma06 wrote:> hi > > i am installing libvirt-0.9.12. > > i am getting following error: > > libvirtd: /usr/local/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_0.9.12' not > found (required by libvirtd) > > > how to solve this one. i am installing from my repositary itself. the same > package is working fine for my friend. > > suggest me some solutions. i googled but i have not get any related stuffs.What options did you pass to configure, and do you already have a distro build installed? Usually, .so mismatches occur because you are installing your self-built package into slightly different locations than the distro build, at which point you have a mismatch between hard-coded paths that the binaries are trying to look up in relation to what binaries actually exist. If you are going to self-build, it is often best to either install into the exact same locations as your distro (set your ./configure flags to match what the distro does; './autogen.sh --system' does this for at least Fedora systems when building from git), or to uninstall your distro version before installing yours (to ensure that the only binaries on your path are your self-built ones, and can thus find all the prerequisite files without being confused by older ones in alternate locations from your distro). Furthermore, why limit yourself to 0.9.12? Why not use the latest 1.1.2? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
cooldharma06
2013-Sep-27 12:57 UTC
Re: [libvirt-users] getting an error when installing LIBVIRT.
hi thanks for your information. i installed libvirt 1.1.2 as per your suggestion. Installation commands are as follows: ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-xen=yes --with-libxl=yes make make install now i am getting the following error: virsh # list error: failed to connect to the hypervisor error: no valid connection error: Failed to connect socket to '/usr/local/var/run/libvirt/libvirt-sock': No such file or directory Guide me to solve this errror. thanks & regards, cooldharma06. On Fri, Sep 27, 2013 at 5:35 PM, Eric Blake <eblake@redhat.com> wrote:> On 09/27/2013 05:47 AM, cooldharma06 wrote: > > hi > > > > i am installing libvirt-0.9.12. > > > > i am getting following error: > > > > libvirtd: /usr/local/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_0.9.12' > not > > found (required by libvirtd) > > > > > > how to solve this one. i am installing from my repositary itself. the > same > > package is working fine for my friend. > > > > suggest me some solutions. i googled but i have not get any related > stuffs. > > What options did you pass to configure, and do you already have a distro > build installed? Usually, .so mismatches occur because you are > installing your self-built package into slightly different locations > than the distro build, at which point you have a mismatch between > hard-coded paths that the binaries are trying to look up in relation to > what binaries actually exist. > > If you are going to self-build, it is often best to either install into > the exact same locations as your distro (set your ./configure flags to > match what the distro does; './autogen.sh --system' does this for at > least Fedora systems when building from git), or to uninstall your > distro version before installing yours (to ensure that the only binaries > on your path are your self-built ones, and can thus find all the > prerequisite files without being confused by older ones in alternate > locations from your distro). > > Furthermore, why limit yourself to 0.9.12? Why not use the latest 1.1.2? > > -- > Eric Blake eblake redhat com +1-919-301-3266 > Libvirt virtualization library http://libvirt.org > >
Maybe Matching Threads
- Re: getting an error when installing LIBVIRT.
- Re: getting an error when installing LIBVIRT.
- Re: (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
- Re: (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
- Re: (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2