User Tools

Site Tools


cryptlib

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
cryptlib [2017/12/03 19:55] – [Linux] g00r00cryptlib [2018/04/29 02:57] – added cryptlib content ex bcw142 - refer fsx_mys post avon
Line 26: Line 26:
  
 In Linux, Mystic looks for Cryptlib in the "libcl.so" file, which must be created by compiling the source code. In Linux, Mystic looks for Cryptlib in the "libcl.so" file, which must be created by compiling the source code.
 +
 +For many installs of Linux the compiler setup is not included by default, check by typing in a terminal:
 +  whereis gcc
 +
 +You should see several locations (like)
 +  gcc: /usr/bin/gcc /usr/lib/gcc /usr/bin/X11/gcc /usr/share/man/man1/gcc.1.gz
 +
 +If you get no locations you need to install it, using a terminal do:
 +
 +  sudo apt-get update
 +  sudo apt-get install build-essential manpages-dev
 +
 +Then check again with 'whereis gcc' to make sure.
  
 The source is contained in the above download section.  Once the file has been downloaded, it must be extracted into its own directory on the Linux machine.  The archive has source files that are stored in the Windows format, so it must be extracted and converted to Linux format.  This can be done by using the "-a" option of unzip.  **If this step is skipped, the source code will not properly compile**. The source is contained in the above download section.  Once the file has been downloaded, it must be extracted into its own directory on the Linux machine.  The archive has source files that are stored in the Windows format, so it must be extracted and converted to Linux format.  This can be done by using the "-a" option of unzip.  **If this step is skipped, the source code will not properly compile**.
Line 53: Line 66:
   * Type "unzip -a cl3431.zip" to extract the source code ZIP into the /cryptlib directory   * Type "unzip -a cl3431.zip" to extract the source code ZIP into the /cryptlib directory
   * Type "sudo make shared"   * Type "sudo make shared"
-  * Type "ls libcl*.dylib*" to see the name of the generated library.  For example: libcl.3.4.3.1.dylib+  * Type "ls libcl*.dylib*" to see the name of the generated library.  For example: libcl.3.4.3.dylib
   * Move the library into the library path and rename it so that Mystic will find it.  Execute the following:   * Move the library into the library path and rename it so that Mystic will find it.  Execute the following:
-  * "sudo mv libcl.3.4.3.1.dylib /usr/lib/libcl.dylib"+  * "sudo mv libcl.3.4.3.dylib /usr/lib/libcl.dylib"
  
 You can now delete the /cryptlib directory if you wish.  The library is installed and read to be used by Mystic! You can now delete the /cryptlib directory if you wish.  The library is installed and read to be used by Mystic!
  
cryptlib.txt · Last modified: 2023/01/24 11:05 by g00r00

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki