LiteSpeed Memcached with Ubuntu 18.04 Server


New Member
Hello All!

I'm trying to compile LSMCD under Ubuntu 18.04 LTS Server and not successfull with this:

In file included from pcregex.cpp:7:
../../src/util/pcregex.h:16:10: fatal error: pcre.h: No such file or directory
   16 | #include <pcre.h>
      |          ^~~~~~~~
compilation terminated.

Potentially the problem is in missing of libpcre3-dev

apt-get -f install libpcre3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libpcre3-dev : Depends: libpcre3 (= 2:8.39-12ubuntu0.1) but is to be installed
E: Unable to correct problems, you have held broken packages.
Is it possible in general to make it work under 18.04? Or can I compile it using another machine and just copy the results to my server?