Solved

Missing cygpcre-1.dll

Posted on 2014-03-21
1
904 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
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
expectj telnet failing 5 45
Linux boot cd to do hardware report on PC? 3 64
The better OS Architecture 13 68
python - find anything after $ question. 9 18
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

820 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