Solved

Missing cygpcre-1.dll

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now