Code Monkey home page Code Monkey logo

Comments (10)

exploitagency avatar exploitagency commented on July 17, 2024 1

Or on Kali this package...
apt-get install libssl1.0-dev

from scallion.

pharaon avatar pharaon commented on July 17, 2024

OpenSSL.Core.Native ---> System.DllNotFoundException: libcrypto.so

is there "libcrypto.so" somewhere in your PC ?

from scallion.

lachesis avatar lachesis commented on July 17, 2024

libcrypto.so is a part of openssl on my box.

$ locate libcrypto.so
/usr/lib/libcrypto.so
/usr/lib/libcrypto.so.1.0.0
/usr/lib32/libcrypto.so
/usr/lib32/libcrypto.so.1.0.0

It might be worth trying to install the 32-bit version of OpenSSL. I'm not sure if scallion depends on 32 bit or 64 bit libs on Linux.

from scallion.

freethenation avatar freethenation commented on July 17, 2024

Cleaning up and closing this issue. Reopen if your still having issues.

from scallion.

eduncan911 avatar eduncan911 commented on July 17, 2024

I have the same problem.

I had Scallion working on Windows 8.1, an older Debian install, etc. I just did a fresh install of a machine I built to do this specifically:

Ubuntu 12.04 LTS Fresh install.
sudo apt-get install openssl
sudo apt-get install mono-complete
sudo apt-get install fglrx
AMD Catalyst 14.12 (trying the latest)
AMD APP SDK 2.9 (trying the latest)

Then I grab the default branch from git, which is "gpg", and do:
cd scallion/
xbuild scallion.sln
cd scallion/scallion/bin/Debug
~/code/scallion/scallion/bin/Debug$ mono ./scallion.exe -l

I also tried without mono prefix, -d, etc.

Error:

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for OpenSSL.Core.Native ---> System.DllNotFoundException: libcrypto.so
  at (wrapper managed-to-native) OpenSSL.Core.Native:ERR_load_crypto_strings ()
  at OpenSSL.Core.Native..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at OpenSSL.Core.ThreadInitialization.InitializeThreads () [0x00000] in <filename unknown>:0 
  at scallion.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for OpenSSL.Core.Native ---> System.DllNotFoundException: libcrypto.so
  at (wrapper managed-to-native) OpenSSL.Core.Native:ERR_load_crypto_strings ()
  at OpenSSL.Core.Native..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at OpenSSL.Core.ThreadInitialization.InitializeThreads () [0x00000] in <filename unknown>:0 
  at scallion.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 

Again, I've built from source 2 times earlier on existing machines (one mining rig, that seemed to work actually) and another Debian machine. But this new machine is giving me problems.

I'm more than happy to wipe it and start over using a specific Linux install (Debian?), specific AMD drivers (the old 11?) and SDK (2.7?), etc. Let me know.

from scallion.

thebaer avatar thebaer commented on July 17, 2024

@eduncan911 I was having the same problem on a fresh install of Ubuntu 14.04. Doing sudo apt-get install libcurl4-openssl-dev solved it for me.

from scallion.

theintern1 avatar theintern1 commented on July 17, 2024

Hi I am having a similar issue and installing libcurl4-openssl-dev sadly did not solve it. When I try to use scallion, it gives me this error:
~/Downloads/scallion/scallion/bin/Debug$ mono scallion.exe ipad

Unhandled Exception:
System.DllNotFoundException: libOpenCL.so
at (wrapper managed-to-native) OpenTK.Compute.CL10.CL/Core:GetPlatformIDs (uint,intptr_,uint_)
at OpenTK.Compute.CL10.CL.GetPlatformIDs (UInt32 num_entries, System.IntPtr* platforms, System.UInt32* num_platforms) [0x00000] in :0
at scallion.CLDeviceInfo.GetPlatformIds () [0x00000] in :0
at scallion.CLDeviceInfo.GetDeviceIds () [0x00000] in :0
at scallion.CLRuntime.GetDevices () [0x00000] in :0
at scallion.Program.Main (System.String[] args) [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libOpenCL.so
at (wrapper managed-to-native) OpenTK.Compute.CL10.CL/Core:GetPlatformIDs (uint,intptr_,uint_)
at OpenTK.Compute.CL10.CL.GetPlatformIDs (UInt32 num_entries, System.IntPtr* platforms, System.UInt32* num_platforms) [0x00000] in :0
at scallion.CLDeviceInfo.GetPlatformIds () [0x00000] in :0
at scallion.CLDeviceInfo.GetDeviceIds () [0x00000] in :0
at scallion.CLRuntime.GetDevices () [0x00000] in :0
at scallion.Program.Main (System.String[] args) [0x00000] in :0

Does anyone know how to fix this?

from scallion.

chris-gunawardena avatar chris-gunawardena commented on July 17, 2024

sudo yum install openssl-devel worked for me on Amazon Linux AMI with NVIDIA GRID GPU Driver. (Only got 459.1MH/s on a g2.2xlarge. )

from scallion.

loning avatar loning commented on July 17, 2024

apt-get install libssl-dev, works for me

from scallion.

jrruethe avatar jrruethe commented on July 17, 2024

I can confirm that "apt-get install libssl-dev" worked for me as well.

from scallion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.