Subject: Re: libssh_sftp_readdir problem

Re: libssh_sftp_readdir problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 30 Jun 2010 15:48:27 +0200 (CEST)

On Wed, 30 Jun 2010, Renaud Durand wrote:

> when i reload my apache server after installation (to start php module) i
> got this message in the log file :
> *PHP Warning: PHP Startup: Unable to load dynamic library
> '/usr/lib64/php/modules/ssh2.so' - /usr/lib64/php/modules/ssh2.so: undefined
> symbol: libssh2_sftp_readdir in Unknown on line 0*
>
> Does anyone have an idea of how to fix this ?

There is no such public symbol in libssh2. libssh2 offers a
libssh2_sftp_readdir() in its API, but that is a macro that gets expanded to
libssh2_sftp_readdir_ex() at compile time.

I would suggest you ask the guys behind the ssh2 PHP extension to learn more
details on what might've gone wrong.

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-06-30