public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* rsync failing due to inability to find libpopt.so
@ 2015-09-27 17:19 Richard Hayden
  2015-09-27 19:35 ` David Rothenberger
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Hayden @ 2015-09-27 17:19 UTC (permalink / raw)
  To: cygwin

Hi,

I have a new cygwin 64-bit installation with rsync (3.1.1-1)
installed. However, when I try to use rsync (e.g. rsync -a
local-folder username@server:~/remote-folder) I get the following
error shortly after entering my credentials for the remote server:

rsync: error while loading shared libraries: libpopt.so.0: cannot open
shared object file: No such file or directory
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: remote command not found (code 127) at io.c(226) [Receiver=3.1.0]

I have the popt package (1.16-1) installed and the following relevant
files in /usr/lib:

-rw-r--r--  1 Richard None  217170 Oct 21  2013 libpopt.a
-rwxr-xr-x  1 Richard None   35096 Oct 21  2013 libpopt.dll.a
-rwxr-xr-x  1 Richard None     907 Oct 21  2013 libpopt.la

and /usr/bin:

-rwxr-xr-x 1 Richard None    41491 Oct 21  2013 cygpopt-0.dll

Any advice gratefully received.

Thanks,

Richard.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: rsync failing due to inability to find libpopt.so
  2015-09-27 17:19 rsync failing due to inability to find libpopt.so Richard Hayden
@ 2015-09-27 19:35 ` David Rothenberger
  0 siblings, 0 replies; 2+ messages in thread
From: David Rothenberger @ 2015-09-27 19:35 UTC (permalink / raw)
  To: cygwin

On 9/27/2015 10:19 AM, Richard Hayden wrote:
> Hi,
> 
> I have a new cygwin 64-bit installation with rsync (3.1.1-1)
> installed. However, when I try to use rsync (e.g. rsync -a
> local-folder username@server:~/remote-folder) I get the following
> error shortly after entering my credentials for the remote server:
> 
> rsync: error while loading shared libraries: libpopt.so.0: cannot open
> shared object file: No such file or directory
> rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
> rsync error: remote command not found (code 127) at io.c(226) [Receiver=3.1.0]

I suspect this is a problem with the rsync installation on the remote
side, not on the local side. The Cygwin rsync does not use popt (as you
can see from "cygcheck /usr/bin/rsync"), not does the Cygwin ssh. Also,
Cygwin does not use .so files for popt.

-- 
David Rothenberger  ----  daveroth@acm.org

Hacker's Law:
        The belief that enhanced understanding will necessarily stir
        a nation to action is one of mankind's oldest illusions.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-27 19:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-27 17:19 rsync failing due to inability to find libpopt.so Richard Hayden
2015-09-27 19:35 ` David Rothenberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).