Update readme for linux and libpscrypto

This commit is contained in:
Matt Smith 2018-09-05 20:44:00 -07:00
parent 6cd18c5623
commit faa78d88e2
No known key found for this signature in database
GPG key ID: 2B6D2CFDF76CC4B5

View file

@ -123,7 +123,7 @@ sbt packArchiveZip # creates a single zip with resources
This will use the sbt-pack plugin to create a JAR file and some helper scripts to run the server. The output for this will be in the `PSF-LoginServer\target` directory. Now you can copy the ZIP file to a server you want to run it on. You will need the Java 8 runtime (JRE only) on the target to run this. In the ZIP file, there is a `bin/` directory with some helper scripts. Run the correct file for your platform (.BAT for Windows and shell script for Unix).
## Troublshooting
## Troubleshooting
#### Unable to initialize pscrypto
If you get an error like below
@ -133,6 +133,8 @@ java.lang.UnsatisfiedLinkError: Unable to load library 'pscrypto': Native librar
```
Then you are missing the native library required to provide cryptographic functions to the login server. To fix this, you need a binary build of [PSCrypto](#downloading-pscrypto).
If you are still having trouble on Linux, try putting the library in `root directory/pscrypto-lib/libpscrypto.so`.
## Contributing
Please fork the project and provide a pull request to contribute code. Coding guidelines and contribution checklists coming soon.