[Libvirt-cim] compiling/linking under debian/ubuntu

Ancoron Luciferis ancoron at chaoslayer.de
Thu Dec 16 07:44:22 UTC 2010


Hi,

my system is a Kubuntu 10.10 desktop running on kernel 2.6.37-rc5
(currently).

- libvirt-cim directly from hg
- libcmpiutil from hg

Other libraries/tools directly from ubuntu:

$ dpkg -l | grep cmpi
ii  libcmpicppimpl0                       1.0.5-0ubuntu1
ii  libcmpicppimpl0-dev                   1.0.5-0ubuntu1
ii  libcmpiosbase-common0                 1.6.0-0ubuntu2
ii  libcmpiosbase-common0-dev             1.6.0-0ubuntu2
ii  sblim-cmpi-base                       1.6.0-0ubuntu2
ii  sblim-cmpi-common                     1.6.0-0ubuntu2

$ dpkg -l | grep sfcb
ii  sfcb                                  1.3.8-0ubuntu1

$ dpkg -l | grep libvirt
ii  libvirt-bin                           0.8.3-1ubuntu14
ii  libvirt0                              0.8.3-1ubuntu14
ii  libvirtodbc0                          6.1.2+dfsg1-1ubuntu4
ii  munin-libvirt-plugins                 0.0.6-1
ii  python-libvirt                        0.8.3-1ubuntu14


Hope this helps and thanx for any hints.


Cheers,

	Ancoron


On 12/13/2010 06:38 PM, Chip Vincent wrote:
> If you can include some information about the distro and version you are
> using, I can try to reproduce and attempt to give you some pointers to
> resolve.
> 
> Ancoron Luciferis wrote:
>> Hi *,
>>
>> I'm currently trying to figure out how to build and install libvirt-cim
>> on one of my Ubuntu boxes.
>>
>> I have all requirements met but during 'make install' I get this:
>>
>> /usr/bin/ld: cannot find -lVirt_VirtualSystemSnapshotService
>> collect2: ld returned 1 exit status
>> libtool: install: error: relink `libVirt_ComputerSystem.la' with the
>> above command before installing it
>> make[3]: *** [install-providerLTLIBRARIES] Error 1
>>
>>
>> Well, the mentioned library is there:
>>
>> src/.libs/libVirt_VirtualSystemSnapshotService.a
>> src/.libs/libVirt_VirtualSystemSnapshotService.la
>> src/.libs/libVirt_VirtualSystemSnapshotService.lai
>> src/.libs/libVirt_VirtualSystemSnapshotService.so
>> src/.libs/libVirt_VirtualSystemSnapshotService.so.0
>> src/.libs/libVirt_VirtualSystemSnapshotService.so.0.0.0
>>
>>
>> Could someone help me with that as I'm not that familiar with the
>> details of shared library linking yet.
>>
>> I attached a full output of:
>>
>> make preinstall
>> make
>> sudo make install
>>
>>
>> Thanx in advance,
>>
>> Ancoron
>>
>>
>>  
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Libvirt-cim mailing list
>> Libvirt-cim at redhat.com
>> https://www.redhat.com/mailman/listinfo/libvirt-cim
> 
> 




More information about the Libvirt-cim mailing list