The Ledger that I build from source on my Debian 'testing' distro box
recently broke, with some error about '/usr/lib/libboost_date_time.so'
not being found. (I didn't save the exact run-time error.)
So I updated my source tree from GitHub to rebuild, but then running
'./acprep update' also failed:
$ ./acprep update
[...blah blah blah, many lines of output, blah blah...]
make[2]: *** No rule to make target `/usr/lib/libboost_date_time.so',
needed by `libledger.so.3'. Stop.
make[1]: *** [src/CMakeFiles/libledger.dir/all] Error 2
make: *** [all] Error 2
acprep: ERROR: Execution failed: make
$
After a lovely evening of Debian package exploration, the solution
eventually turned out to be something like this:
$ sudo apt-get install libboost1.49
$ sudo apt-get install libboost1.49-dev
$ sudo apt-get install libboost-date-time1.49
$ ### YMMV -- might need to do more libboost-*1.49* packages here ###
$ make clean
$ git clean -dfx
$ ./acprep update
[...success this time...]
$ sudo make install
I believe this replaced Libboost 1.54 on my system with older 1.49, but
fortunately as far as I can tell that hasn't broken anything else.
By the way, I tried 1.54 first, and it didn't seem to solve the problem.
But I might have forgotten to 'make clean' or 'git clean -dfx' in
between, or mis-piloted 'apt-get install' somewher, or who knows what.
So if someone else is succeeding in building the latest Ledger with the
latest Libboost (>= 1.54) on Debian, please follow up here.
In the meantime, I wanted to post this here so it would show up in
Google results for anyone else who runs into this problem on Debian.
Many thanks to JohnW for giving me the 'git clean -dfx' hint in IRC.
Best,
-Karl
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.