Hi Ruth I succeeded yesterday by 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: building package 'bareos-vmware-plugin' in '../bareos-vmware-plugin_23.1.0-2_amd64.deb'. dpkg-deb: building package 'bareos-vadp-dumper' in '../bareos-vadp-dumper_23.1.0-2_amd64.deb'. - - - - 8< - - - - That said, thanks, I will test your solution later. Sebastian Le mardi 19 novembre 2024 à 07:55:02 UTC+1, Ruth Ivimey-Cook a écrit : > 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]. > 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/ef769d21-487b-4731-a595-3c5a8f959e0an%40googlegroups.com.
