Solved

Missing cygpcre-1.dll

Posted on 2014-03-21
1
935 Views
Last Modified: 2014-03-21
I've installed https://www.itefix.no/i2/content/copssh-free-personal-edition. Running a shell script the command

if ! "$basedir/grep" -qf  "$mydir/$file_with_string" "$myotherdir/file_to_check" ; then

gives the error

Bin grep.exe: error while loading shared libraries: cygpcre-1.dll cannot open shared object file: No such file or directory.

The file cygpcre-1.dll is missing in the bin folder of that ssh implementation. Also, cygcheck is not part of this installation.

Thank you.
0
Comment
Question by:GeologyETH
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 39944929
Seems that your copssh package is somewhat inconsistent.

You can get cygpcre-1.dll e. g. here (a German mirror):
http://ftp.uni-kl.de/pub/windows/cygwin/release/pcre/libpcre1/libpcre1-8.31-1.tar.bz2

After decompressing with "bunzip2" and unpacking with "tar" you'll get just the DLL
"cygpcre-1.dll" which you can copy to your copssh "/usr/bin" directory.
The tarball contains the path "usr/bin" so best "cd" to "/" of copssh and unpack it there.

If you don't have "bunzip2" or "tar" try something like "WinZIP".
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux Samba using Kerberos to Auth from Active Directory 9 120
Recover Lacie Edmini data. 11 77
Shrink Linux Swap File Size CentOS 10 72
http response code 3 38
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question