Contents |
Thus, I compiled and installed PCRE 8.12 from source, but even though pcretest -C showed the new version, a call to php_info() on my test page indicates that the 6.6 libraries configure: error: Could not find libpcre.(a|so) in /usr # dpkg -l |g pcre ii libpcre3 8.12-3ubuntu2 Perl 5 Compatible Regular Expression Library - runtime files ii libpcre3-dev 8.12-3ubuntu2 Perl 5 Compatible Pong, Aug 28, 2015 #11 pejman New Member Thank you Pong, the information was very useful. yes checking for strftime... (cached) yes checking which regex library to use... have a peek at this web-site
While the former has /usr/lib/x86_64-linux-gnu/libpcre.so, the latter both have it in /usr/lib64. phpbrew can look up the correct path for you. Found apxs2 sbin: /usr/bin/apxs2 ===> Applying patch - apxs2 module version name ... ===> Configuring 5.4.22... Thanks for sharing the workarounds ;) Sign up for free to join this conversation on GitHub.
How to replace not found reference "??" in an another constant e.g "REF"? Common error
1.Configure: error: xml2-config not found. Even i have added "extension=xcache.so" to file : /var/www/vhosts/system/d**********.net/etc/php.ini and restarted lsws but doesn't take effect Your help to activate Xcache and Memcached would be appreciated. Member c9s commented Dec 9, 2013 You may also grep the ICONV in the source directory: grep ICONV main/php_config.h See what comes up with?
Member c9s commented Dec 8, 2013 I found '--with-libdir=lib/i386-linux-gnu' that's correct. Use tail command to see what's going on: $ tail -f /opt/phpbrew/build/php-5.4.22/build.log ./configure '--prefix=/opt/phpbrew/php/php-5.4.22' '--with-config-file-path=/opt/phpbrew/php/php-5.4.22/etc' '--with-config-file-scan-dir=/opt/phpbrew/php/php-5.4.22/var/db' '--with-pear=/opt/phpbrew/php/php-5.4.22/lib/php' '--enable-xml' '--disable-all' '--enable-phar' '--enable-session' '--enable-short-tags' '--enable-tokenizer' '--with-pcre-regex' '--with-zlib=/usr' '--with-libdir=lib/i386-linux-gnu' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--with-gettext=/usr' '--with-mcrypt=/usr' If you are recompiling because you want some features disabled you may be able to skip some of the things in the list. I have the following files: [[email protected] tracker]# find / -name libpcre.so* -exec ls -l '{}' \; lrwxrwxrwx 2 root root 16 Jul 14 07:53 /lib64/libpcre.so.0 -> libpcre.so.0.0.1 lrwxrwxrwx 1 root root
Download PCRE from PCRE.org 2. Ubuntu Install Pcre Also pcre-devel or pcre-dev package. anyway, why not have a try ? https://bugs.php.net/bug.php?id=64617 I have a new issue now.
Is three knights versus knight really winning? Here is the Build-Depends for the official package. I have a new issue now. I'm not very familiar with shared/dynamic libraries.
NiteWave, Aug 29, 2015 #15 pejman New Member I copied it, it doesn't work. http://unix.stackexchange.com/questions/105927/compiling-php-fails-cause-of-libpcre I'm too cold, turn up the temperature GameObject with Audio File called with FindGameObjectWithTag returns "Object reference not set to an instance of an object" Employer offering Roth 401k as well Configure: Error: Please Reinstall The Bzip2 Distribution You may have to register before you can post: click the register link above to proceed. Actual result: -------------- checking for PCRE library location...
connected. Check This Out Zend opcache has PHP opcode cache only. Fields that can be ordered in more than one way How to find punctures in inner tubes? configure: error: Could not find libpcre.(a|so) in /usr **ERROR** Could not configure PHP build Copyright © 2002-2015 LiteSpeed Technologies, Inc.
more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science Ubuntu 15.04, and similariy in SuSE 13 or Redhat Enterprise Linux 7. phpbrew -d install 5.4.22 +iconv +gd should work for you. Source Thanks in advance apache http share|improve this question asked May 19 '12 at 7:17 Myjab 5091417 add a comment| 4 Answers 4 active oldest votes up vote 59 down vote accepted
Test script: --------------- ./compile --with-pcre-regex=/usr Expected result: ---------------- It compiles. With regards, Alex. ✔ Professional Server Management for web hosting companies and individuals ✔ Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription ✔ Directadmin installation and optimization Click here if you Unsold Atari videogames dumped in a desert?
The error configure: error: Could not find libpcre.(a|so) in /usr solved by the command sudo ln -s /usr/lib/x86_64-linux-gnu/libpcre.so /usr/libpcre.so. This site is not affiliated with Linus Torvalds or The Open Group in any way. marcioAlmada closed this Jun 17, 2014 Member marcioAlmada commented Jun 17, 2014 This seems platform specific. Install Apache-Portable-Runtime (apr) and its util file.
Shortest auto-destructive loop Did Donald Trump say that "global warming was a hoax invented by the Chinese"? After i installed both of these I started getting a new error: configure: error: pcre-config for libpcre not found. Member c9s commented Dec 8, 2013 seems your --with-iconv=/usr is not replaced with --with-iconv=shared alanhartless commented Dec 8, 2013 I apologize; I must have mistyped something. http://gsbook.org/error-could/error-could-not-find-moc.php I installed pcre in other location "/custom/location/pcre" and configure command throw the following error configure: error: Did not find pcre-config script at "/custom/location/pcre" to solve it changing the flag --with-pcre=/custom/location/pcre to
alanhartless commented Dec 8, 2013 I ran phpbrew lookup-prefix /usr and now I'm getting a message that I must reinstall iconv. PCRE is required and available from http://pcre.org/ what should i do now. How to select a number from all the integers list? configure: error: Could not find libpcre.(a|so) in /usr--------------------------------------------------------------------------Edit this bug report at https://bugs.php.net/bug.php?id=64617&edit=1 reply | permalink Kovtun at complex dot lviv dot ua Edit report at https://bugs.php.net/bug.php?id=64617&edit=1 ID: 64617 Comment by:
Why doesn't my iphone 6s plus charge while it is on the cable? It doesn't support php 5.5 or higher version and it has been replaced by Zend Opcache.