Hi Ruth and Andreas !

I succeeded yesterday by starting building bareos-vmware-vix-disklib_amd64.deb 
first, then installing it before building the rest of the packages:


- - - - 8< - - - -
-- checking for library vixDiskLib and vixDiskLib.h header ...
-- VIXDISKLIB_FOUND=TRUE
-- VIXDISKLIB_LIBRARIES=/usr/lib/vmware-vix-disklib/lib64/libvixDiskLib.so
-- VIXDISKLIB_INCLUDE_DIRS=/usr/include
-- HAVE_VIXDISKLIB=1
-- Performing Test VIXDISKLIBCREEATEPARAMS_HAS_PHYSICALSECTORSIZE
-- Performing Test VIXDISKLIBCREEATEPARAMS_HAS_PHYSICALSECTORSIZE - success
[...]
dpkg-deb: build package 'bareos-vmware-plugin' in 
'../bareos-vmware-plugin_23.1.0-2_amd64.deb'.
dpkg-deb: build package 'bareos-vadp-dumper' in 
'../bareos-vadp-dumper_23.1.0-2_amd64.deb'.
- - - - 8< - - - -


That said, thank you, I will try your solution later.

Sebastian

________________________________
De : Ruth Ivimey-Cook <[email protected]>
Envoyé : lundi 18 novembre 2024 01:01
À : Sébastien WENSKE <[email protected]>; bareos-users 
<[email protected]>
Objet : Re: [bareos-users] Build Debian packages with VMWare plugin


Hi,

I have built bareos this way and it does work, but the vixdisklib mentioned has 
to be obtained from broadcom (owners of vmware), and you have to register to 
get it, though it is free of charge. If you don't need to interact with vmware, 
I suggest you don't try to build the plugin package, as getting vixdisklib is 
fiddly.

When I build it, I expand the broadcom download (I can't remember if you need 
to build vixdisklib too - refer to the readme), set the environment vars, as 
shown below, and run "debuild". Check that the file "debian/rules" is set 
correctly for your needs.

    $ export VIXDISKLIB_INCLUDE_DIRS=$PWD/vmware-vix-disklib-distrib/include

    $ export VIXDISKLIB_LIBRARIES=$PWD/vmware-vix-disklib-distrib/lib64

    $ debuild -b -ui -uc -us -eVIXDISKLIB_INCLUDE_DIRS -eVIXDISKLIB_LIBRARIES


Regards,

Ruth


On 15/11/2024 15:28, Sébastien WENSKE wrote:
Hello Folks

I am trying to build bareos from source and I am having a problem with the 
'bareos-vmware-plugin' package.

At best, the process ends with this kind of errors:

dh_shlibdeps 
-l/builds/veepee/vptech/sre/iac/debian-packages/bareos/bareos-Release-23.0.4/debian/tmp/usr/lib/bareos
dpkg-shlibdeps: error: no dependency information found for 
/lib/libvixDiskLib.so.8.0.3 (used by 
debian/bareos-vadp-dumper/usr/sbin/bareos_vadp_dumper)
Hint: check if the library actually comes from a package.

I am using "dpkg-buildpackage" to build the packages.

Do you have any clues or a way to include the "VMware-vix-disklib-8.0.x" 
libraries and generate the "bareos-vmware-plugin" package (and 
"bareos-vmware-vix-disklib" at the same time, if I understand correctly)?

Vielen Dank und ein schönes Wochenende! --
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion visit 
https://groups.google.com/d/msgid/bareos-users/0c192794-3a46-4815-85db-d67513b0e0f7n%40googlegroups.com<https://groups.google.com/d/msgid/bareos-users/0c192794-3a46-4815-85db-d67513b0e0f7n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bareos-users/PR0P264MB1819E9DF3B3278C354483DBDB1202%40PR0P264MB1819.FRAP264.PROD.OUTLOOK.COM.

Reply via email to