Hello, I'm trying to build ledger 3 from git using a fresh checkout on Ubuntu 13.10. The compilation makes it about halfway along and then fails with the following linker error:
~/bin/ledger> ./acprep opt update --debug acprep: INFO: Invoking primary phase: update acprep: INFO: Executing phase: update acprep: INFO: Executing phase: pull acprep: DEBUG: Executing command: git pull Already up-to-date. acprep: INFO: Executing phase: submodule acprep: DEBUG: Executing command: git submodule init acprep: DEBUG: Executing command: git submodule update acprep: INFO: Executing phase: make acprep: DEBUG: Configure arguments => [] acprep: DEBUG: Makefile arguments => [] acprep: INFO: Executing phase: config acprep: INFO: Executing phase: submodule acprep: DEBUG: Executing command: git submodule init acprep: DEBUG: Executing command: git submodule update acprep: INFO: Executing phase: configure acprep: DEBUG: Executing command: uname -s acprep: INFO: System type is => Linux acprep: INFO: Setting up build flavor => opt acprep: DEBUG: configure does not need to be run acprep: DEBUG: Changing directory to /home/ryan/bin/ledger acprep: DEBUG: Executing command: make [ 46%] Built target libledger [ 48%] Built target ledger Linking CXX shared library ../libpyledger.so /usr/bin/ld: libledger.a(sha1.cpp.o): relocation R_X86_64_32S against `_ZTV4SHA1' can not be used when making a shared object; recompile with -fPIC libledger.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status make[2]: *** [libpyledger.so] Error 1 make[1]: *** [src/CMakeFiles/pyledger.dir/all] Error 2 make: *** [all] Error 2 acprep: ERROR: Execution failed: make Any suggestions on how to correct this? I've successfully built ledger 3 on this system in the past, but not for a few months. Thanks, Ryan -- --- 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.
