?
Solved

Missing cygpcre-1.dll

Posted on 2014-03-21
1
Medium Priority
?
988 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 2000 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

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…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

719 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