[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error when using libssh in a PAM module with OpenSSH


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


Archive administrator: postmaster@lists.cynapses.org