[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error when using libssh in a PAM module with OpenSSH
[Thread Prev] | [Thread Next]
- Subject: Re: Error when using libssh in a PAM module with OpenSSH
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 23 Oct 2014 17:36:43 +0200
- To: libssh@xxxxxxxxxx
On Thursday 23 October 2014 17:00:17 perox@xxxxxxxxxx wrote: > After some investigating, the problem seems to be a name clash of > ssh_key_new that is present in both FreeBSD's libssh used by openssh and > libssh's ssh_key_new. FreeBSD's system library has precedence over libssh > and hence the wrong function is called. After renaming it and recompiling, > I can use the library. There are more clashes (ssh_key_free, ssh_key_type, > ...?) but they have not yet caused any problems for me. > > Is there a chance that the functions could be renamed in future or could I > circumvent the problem somehow differently? > Why do you link against two libraries which provide the same functionality? -- andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org asn@xxxxxxxxxxxxxx
RE: RE: Error when using libssh in a PAM module with OpenSSH | perox@xxxxxxxxxx |