[GNC] libboost problem compiling gnucash 5.0

john jralls at ceridwen.us
Tue Apr 11 20:05:13 EDT 2023



> On Apr 11, 2023, at 6:52 AM, John Griessen <john at industromatic.com> wrote:
> 
> any ideas how to fix this on ubuntu   22.04.2?
> 
> dpkg -l '*boost*'
> 
> ii  libboost-filesystem1.74-dev:amd64      1.74.0-14ubuntu3 amd64        filesystem operations (portable paths, iteration over directories, etc) in C++
> ii  libboost-filesystem1.74.0:amd64        1.74.0-14ubuntu3 amd64        filesystem operations (portable paths, iteration over directories, etc) in C++
> 
> dpkg -l '*guile*'
> ii  guile-2.2            2.2.7+1-6build2 amd64        GNU extension language and Scheme interpreter
> ii  guile-2.2-dev        2.2.7+1-6build2 amd64        Development files for Guile 2.2
> un  guile-2.2-doc        <none>          <none>       (no description available)
> ii  guile-2.2-libs:amd64 2.2.7+1-6build2 amd64        Core Guile libraries
> 
> 
> ==================================================================
> 
> 65%] Building C object gnucash/register/register-gnome/CMakeFiles/gnc-register-gnome.dir/combocell-gnome.c.o
> [ 65%] Building C object gnucash/import-export/csv-imp/CMakeFiles/gnc-csv-import.dir/assistant-csv-account-import.c.o
> /bin/guile: symbol lookup error: /usr/local/src/gnucash-5.0-build/lib/libgnc-core-utils.so: undefined symbol: _ZN5boost10filesystem4path9append_v3ERKS1_
> make[2]: *** [gnucash/report/CMakeFiles/scm-report-1.dir/build.make:89: lib/x86_64-linux-gnu/guile/2.2/site-ccache/gnucash/report/commodity-utilities.go] Error 127
> make[2]: *** Waiting for unfinished jobs....
> [ 65%] Building CXX object gnucash/import-export/csv-imp/CMakeFiles/gnc-csv-import.dir/assistant-csv-price-import.cpp.o
> /bin/guile: symbol lookup error: /usr/local/src/gnucash-5.0-build/lib/libgnc-core-utils.so: undefined symbol: _ZN5boost10filesystem4path9append_v3ERKS1_
> make[2]: *** [gnucash/report/CMakeFiles/scm-report-1.dir/build.make:94: lib/x86_64-linux-gnu/guile/2.2/site-ccache/gnucash/report/html-acct-table.go] Error 127
> make[1]: *** [CMakeFiles/Makefile2:8271: gnucash/report/CMakeFiles/scm-report-1.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....

You need to install libboost-program-options.1.74.0

Regards,
John Ralls



More information about the gnucash-user mailing list