I think after migration to the new Fedora system, you should start with a fresh lo repo, or at least do a 'make distclean' before rerunning './autogen.sh' and 'make'. 于 2021年12月23日 GMT+08:00 上午12:04:25, Christian Ohrfandl <christian.ohrfandl@xxxxxxxxx> 写到: >Hey there, > >so I installed a new computer with Fedora 35 x64 and set up the >libreoffice build setup as follows: > > compiled GTK4 from source and installed (checked with pkg-config) > compiled libadwaita from source and installed (checked with pkg-config) > checked out LO core and built from source as usual; no problems so far > >However, I then started to get the warnings as shown down below in the >log. Most of them may be ignored (because they happen on Master aswell), >however, the following do matter, because LO starts in x11 mode and does >not show correct theming et cetera: > >warn:sal.osl:180140:180140:sal/osl/unx/module.cxx:152: >dlopen(/home/christian/repos/libreoffice/instdir/program/libvclplug_gtk4lo.so, >257): libadwaita-1.so.0: cannot open shared object file: No such file or >directory >warn:vcl.plugadapt:180140:180140:vcl/source/app/salplug.cxx:128: could >not load shared object libvclplug_gtk4lo.so >warn:sal.osl:180140:180140:sal/osl/unx/module.cxx:152: >dlopen(/home/christian/repos/libreoffice/instdir/program/libvclplug_gtk3lo.so, >257): libadwaita-1.so.0: cannot open shared object file: No such file or >directory > >So I guess what this basically means is that libadwaita-1.so-0 can not >be found; and maybe addtionally that libvclplug_gtk4lo.so can not be >loaded (as a consequence?)? The weired thing about that is that I just >copied the LO source folder I used on my Ubuntu 21.10 machine (it works >perfectly there) and copied it to my Fedora 35 machine. > >How would I solve this? Can you tell me where LO tries to load >"libadwaita-1.so.0" from? In order to correctly get this library into >the build path I updated the following files: > > configure.ac (lines 11641-11707) -> results in config_host.mk.in >(lines 267-268) and config_host.mk (lines 267-268) > Library_vclplug_gtk3.mk and Library_vclplug_gtk4.mk > in general here my autogen.input file > >I attached all of these files to this email. > >As I pointed out, this works on my Ubuntu machine, but not on the Fedora >one; so I guess when starting LO it for some reason can not find the >path to libadwaita-1.so.0. On my Fedora system it is located at >"usr/local/lib64" (just checked) which is included in "pkg-config --libs >libadwaita-1" (see the output attached below). > >Can you help me out with this one please? > > >Cheers, > >Christian > >PKG-Config: > >pkg-config --cflags libadwaita-1 >-I/usr/local/include/libadwaita-1 -I/usr/local/include/gtk-4.0 >-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 >-I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 >-I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 >-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi >-I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 >-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 >-I/usr/lib64/graphene-1.0/include -mfpmath=sse -msse -msse2 >-I/usr/include/gio-unix-2.0 -pthread > >pkg-config --libs libadwaita-1 >-L/usr/local/lib64 -ladwaita-1 -lgtk-4 -lpangocairo-1.0 -lpango-1.0 >-lharfbuzz -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lvulkan >-lgraphene-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 > >LO application start log: >./instdir/program/soffice -env:SAL_USE_VCLPLUGIN=gtk4 >warn:sal.osl:180140:180140:sal/osl/unx/module.cxx:152: >dlopen(/home/christian/repos/libreoffice/instdir/program/libvclplug_gtk4lo.so, >257): libadwaita-1.so.0: cannot open shared object file: No such file or >directory >warn:vcl.plugadapt:180140:180140:vcl/source/app/salplug.cxx:128: could >not load shared object libvclplug_gtk4lo.so >warn:sal.osl:180140:180140:sal/osl/unx/module.cxx:152: >dlopen(/home/christian/repos/libreoffice/instdir/program/libvclplug_gtk3lo.so, >257): libadwaita-1.so.0: cannot open shared object file: No such file or >directory >warn:desktop.app:180140:180140:unotools/source/ucbhelper/localfilehelper.cxx:87: >error removing directory >file:///home/christian/repos/libreoffice/instdir/program/../program/../user/extensions >warn:configmgr:180140:180140:configmgr/source/xcuparser.cxx:901: >ignoring modify of unknown set member node "StarOffice XML (Base) >Report" in >"file:///home/christian/repos/libreoffice/instdir/program/../share/registry/res/fcfg_langpack_en-US.xcd" >warn:configmgr:180140:180140:configmgr/source/xcuparser.cxx:901: >ignoring modify of unknown set member node "StarOffice XML (Base) Report >Chart" in >"file:///home/christian/repos/libreoffice/instdir/program/../share/registry/res/fcfg_langpack_en-US.xcd" >warn:configmgr:180140:180140:configmgr/source/xcuparser.cxx:289: unknown >component "org.openoffice.Office.UI.DbReportWindowState" in >"file:///home/christian/repos/libreoffice/instdir/program/../share/registry/res/registry_en-US.xcd" >warn:configmgr:180140:180140:configmgr/source/xcuparser.cxx:289: unknown >component "org.openoffice.Office.UI.ReportCommands" in >"file:///home/christian/repos/libreoffice/instdir/program/../share/registry/res/registry_en-US.xcd" >warn:vcl.fonts:180140:180140:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-Bold.woff": 6 >warn:vcl.fonts:180140:180140:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-Bold.woff2": 6 >warn:vcl.fonts:180140:180140:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-ExtraBold.woff": 6 >warn:vcl.fonts:180140:180140:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-ExtraBold.woff2": 6 >warn:vcl.fonts:180140:180140:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-Italic.woff": 6 >warn:vcl.fonts:180140:180140:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-Italic.woff2": 6 >warn:vcl.fonts:180140:180140:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-Light.woff": 6 >warn:vcl.fonts:180140:180140:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-Light.woff2": 6 >warn:vcl.fonts:180140:180140:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-Regular.woff": 6 >warn:vcl.fonts:180140:180140:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-Regular.woff2": 6 >warn:sal.osl:180150:180150:sal/osl/unx/module.cxx:152: >dlopen(/home/christian/repos/libreoffice/instdir/program/libvclplug_gtk4lo.so, >257): libadwaita-1.so.0: cannot open shared object file: No such file or >directory >warn:vcl.plugadapt:180150:180150:vcl/source/app/salplug.cxx:128: could >not load shared object libvclplug_gtk4lo.so >warn:sal.osl:180150:180150:sal/osl/unx/module.cxx:152: >dlopen(/home/christian/repos/libreoffice/instdir/program/libvclplug_gtk3lo.so, >257): libadwaita-1.so.0: cannot open shared object file: No such file or >directory >warn:configmgr:180150:180150:configmgr/source/xcuparser.cxx:901: >ignoring modify of unknown set member node "StarOffice XML (Base) >Report" in >"file:///home/christian/repos/libreoffice/instdir/program/../share/registry/res/fcfg_langpack_en-US.xcd" >warn:configmgr:180150:180150:configmgr/source/xcuparser.cxx:901: >ignoring modify of unknown set member node "StarOffice XML (Base) Report >Chart" in >"file:///home/christian/repos/libreoffice/instdir/program/../share/registry/res/fcfg_langpack_en-US.xcd" >warn:configmgr:180150:180150:configmgr/source/xcuparser.cxx:289: unknown >component "org.openoffice.Office.UI.DbReportWindowState" in >"file:///home/christian/repos/libreoffice/instdir/program/../share/registry/res/registry_en-US.xcd" >warn:configmgr:180150:180150:configmgr/source/xcuparser.cxx:289: unknown >component "org.openoffice.Office.UI.ReportCommands" in >"file:///home/christian/repos/libreoffice/instdir/program/../share/registry/res/registry_en-US.xcd" >warn:vcl.fonts:180150:180150:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-Bold.woff": 6 >warn:vcl.fonts:180150:180150:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-Bold.woff2": 6 >warn:vcl.fonts:180150:180150:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-ExtraBold.woff": 6 >warn:vcl.fonts:180150:180150:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-ExtraBold.woff2": 6 >warn:vcl.fonts:180150:180150:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-Italic.woff": 6 >warn:vcl.fonts:180150:180150:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-Italic.woff2": 6 >warn:vcl.fonts:180150:180150:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-Light.woff": 6 >warn:vcl.fonts:180150:180150:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-Light.woff2": 6 >warn:vcl.fonts:180150:180150:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-Regular.woff": 6 >warn:vcl.fonts:180150:180150:vcl/unx/generic/fontmanager/fontmanager.cxx:665: >Could not OpenTTFont >"/usr/share/fonts/julietaula-montserrat/Montserrat-Regular.woff2": 6 >warn:opencl:180150:180150:desktop/source/app/opencl.cxx:206: Failed to >initialize OpenCL for test >warn:vcl.gdi:180150:180150:vcl/unx/generic/gdi/salbmp.cxx:139: 32-bit >images not supported, converting to 24-bit >warn:vcl.gdi:180150:180150:vcl/unx/generic/gdi/salbmp.cxx:139: 32-bit >images not supported, converting to 24-bit >warn:vcl.gdi:180150:180150:vcl/unx/generic/gdi/salbmp.cxx:139: 32-bit >images not supported, converting to 24-bit >warn:vcl.gdi:180150:180150:vcl/unx/generic/gdi/salbmp.cxx:139: 32-bit >images not supported, converting to 24-bit >warn:vcl.gdi:180150:180150:vcl/unx/generic/gdi/salbmp.cxx:139: 32-bit >images not supported, converting to 24-bit >warn:vcl.schedule.deinit:180150:180150:vcl/source/app/scheduler.cxx:177: >DeInit task: Timer a: 1 p: 1 framework::AutoRecovery m_aTimer 600000ms >(0x22ff168) >warn:vcl.schedule.deinit:180150:180150:vcl/source/app/scheduler.cxx:177: >DeInit task: Timer a: 1 p: 1 desktop::Desktop m_firstRunTimer 3000ms >(0x7fff54753e60) (ignored) >warn:vcl.schedule.deinit:180150:180150:vcl/source/app/scheduler.cxx:197: >DeInit active tasks: 2 (ignored: 1) -- Sent from my Android device with K-9 Mail. Please excuse my brevity.