Skip to content

Instantly share code, notes, and snippets.

@martinhbramwell
Created May 15, 2012 10:29
Show Gist options
  • Save martinhbramwell/2700666 to your computer and use it in GitHub Desktop.
Save martinhbramwell/2700666 to your computer and use it in GitHub Desktop.
Build failures
I build Moneychanger using :
mvn install
I move the jar file to a new directory, containing a ./lib subdirectory.
myself@test:~/programs/Moneychanger$ tree
.
├── lib
│   └── libotapi-java.so
└── MoneyChanger-0.8-SNAPSHOT-jar-with-dependencies.jar
I placed 4 *.so files in /usr/local/lib/
- libboost_thread-mt.so.1.49.0
- libmsgpack.so.3
- libprotobuf.so.7
- libzmq.so.1
I append "/usr/local/lib/" to the file "/etc/ld.so.conf" and then run:
sudo /sbin/ldconfig
I run it with ...
yourself@test:~/programs/Moneychanger$ java -Djava.library.path=./lib -jar ./MoneyChanger-0.8-SNAPSHOT-jar-with-dependencies.jar
... but the result is :
We didn't load Successfully Last time, Showing Seetings...!
Load.JavaPaths: Adding path:
Failed loading the ini file: /home/yourself/.ot/client_data/../client.cfg
OTDB::InitDefaultStorage: Existing storage context doesn't already exist. (Creating it.)
StorageFS::Init: New path segments are: /home/yourself/.ot/client_data
(Make sure to call LoadWallet after this.)
Load.initOTAPI: SUCCESS invoking OT_API_Init().
getImagePath top...
Utility.getImagePath(): File does not exist: (OT_MAIN_PATH)/moneychanger/settings.dat
null
com.moneychanger.ui.Load$SetupPasswordImageFailedException: No Path available
com.moneychanger.ui.Load$LoadFailedException: com.moneychanger.ui.Load$SetupPasswordImageFailedException: No Path available
SomethingBad Happend! We couldn't load properly!
yourself@test:~/programs/Moneychanger$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment