Thread: Libssh library installation advice/guide

  1. #1
    Registered User
    Join Date
    Apr 2014

    Libssh library installation advice/guide

    Hi, I’m currently having an issue with using the libssh library located here and was hoping someone might be able to help me out. I’m trying to run a dummy C program using the ssh_new and ssh_free functions simply to test if I have connected the libssh library to my Visual Studio (2013) project correctly. Once I know the library is connected I can begin development.
    The issue is that the program compiles with no errors but when I go to run it I get the error message “The program can't start because MSVCR100D.dll is missing from your computer”.

    I’ve looked all over the internet for solutions and everything points towards me not installing/connecting the library correctly.

    - I have the required Microsoft Visual C++ Redistributable software installed (I even reinstalled).

    - I’m using Visual Studio 2013 as my IDE, trying to create a C program on Windows.

    - My OS is Windows 7 64bit.

    - I’ve connected the “openssl” library and included the “zlib1.dll” into the correct directories with my VS installation.

    - The libssh library was connected to my project in VS by placing the contents of the include, bin and lib directories into my <VS installation>/VC/ directory.

    - I also appended “;ssh.lib;ssleay32.lib;libeay32.lib;” to the “Additional Dependencies” of my VS project which resolved the “unresolved external symbol _imp_ssh_free” issues I was getting.

    - This is the best guide I’ve been able to get somewhere with so far which describes the steps above.

    Does anyone have any guides they can direct me to that can assist with the installation of this library?

    Apologies for my lack of experience, any advice/help you can provide would be massively appreciated as this project is part of my university dissertation.

  2. #2
    Registered User
    Join Date
    Mar 2012
    the c - side
    Google on " missing MSVCR100D.dll".

    See what you get.

    Edit: what about here
    Last edited by gemera; 04-09-2014 at 12:06 PM.

  3. #3
    Registered User
    Join Date
    May 2009
    RE: libssh Windows release build

    I think building the DLL yourself might be needed or waiting till someone fixes the poorly built DLL.

    Edit1: Found a better location to get DLL.
    File: libssh-vc100-0.5.3-bin.tar.bz2 looks like the DLL needs the release version MSVCR100.DLL instead.

    Edit2: It will likely need zlib-vc100-1.2.7-1-bin.tar.bz2 downloaded from same site.
    I have no idea if zlib needs another DLL.

    Tim S.
    Last edited by stahta01; 04-10-2014 at 08:17 PM.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Guide the USPTO
    By phantomotap in forum General Discussions
    Replies: 0
    Last Post: 07-31-2010, 12:57 PM
  2. Advice sought on GUI library / tools / code
    By PaulBlay in forum C++ Programming
    Replies: 7
    Last Post: 06-03-2009, 03:20 AM
  3. Someone guide me here..
    By xeddiex in forum Windows Programming
    Replies: 3
    Last Post: 04-04-2005, 12:12 AM
  4. would somebody be able to guide me
    By simpleYetPowerful in forum A Brief History of
    Replies: 0
    Last Post: 10-14-2001, 09:40 PM