Pcre2

186 views
Skip to first unread message

Fabrizio

unread,
Jun 5, 2016, 12:53:22 PM6/5/16
to Harbour Users
Hi, I have installed pcre2 but I have this error: "/usr/bin/ld: cannot find -lpcre2". Thanks.

alkresin

unread,
Jun 11, 2016, 3:16:19 AM6/11/16
to Harbour Users
What is the OS ?
Does you check the full names and path of libraries installed ?

Regards, Alexander.

Alain Aupeix

unread,
Jun 11, 2016, 3:26:51 AM6/11/16
to harbou...@googlegroups.com
Le 05/06/2016 18:53, Fabrizio a écrit :
> Hi, I have installed pcre2 but I have this error: "/usr/bin/ld: cannot find -lpcre2". Thanks.
Curious that you install pcre2.
On Ubuntu 12.04, it seems to be pcre3

alain@Gramps-JujuLand:~$ dpkg -l |grep pcre
ii libpcre3 8.12-4ubuntu0.2 Perl 5 Compatible Regular
Expression Library - runtime files
ii libpcre3:i386 8.12-4ubuntu0.2 Perl 5 Compatible Regular
Expression Library - runtime files
ii libpcre3-dev 8.12-4ubuntu0.2 Perl 5 Compatible Regular
Expression Library - development files
ii libpcrecpp0 8.12-4ubuntu0.2 Perl 5 Compatible Regular
Expression Library - C++ runtime files

As Alexander ask you : what is you OS and version ?

A+
--
------------------------------------------------------------------------
Alain Aupeix
http://jujuland.pagesperso-orange.fr/
http://pissobi-lacassagne.pagesperso-orange.fr/
------------------------------------------------------------------------
U.buntu 12.04 | G.ramps 3.4.9-1 | H.arbour 3.2.0dev (2016-04-20 16:03) |
Hw.Gui 2.19-6 (2533)
------------------------------------------------------------------------

Fabrizio

unread,
Jun 12, 2016, 5:15:39 PM6/12/16
to Harbour Users
I have xubuntu 16.04 and libpcre2 present. Maybe the problem it's the file libpcre2.pc not present? Sorry for my English.

Alain Aupeix

unread,
Jun 13, 2016, 2:37:17 AM6/13/16
to harbou...@googlegroups.com
Le 12/06/2016 23:15, Fabrizio a écrit :
> I have xubuntu 16.04 and libpcre2 present. Maybe the problem it's the file libpcre2.pc not present? Sorry for my English.
>
Really curious that libpcre2 is present.
Try to install libpcre3

sudo apt-get install libpcre3

If it's not ok, try to uninstall libpcre2, and then install libpcre3

sudo apt-get remove libpcre2;sudo apt-get install libpcre3

but pay attention to the packages which may be uninstalled with it ...
(if there is packages which depends of libpcre2)
Reply all
Reply to author
Forward
0 new messages