Comments (11)
What does the command
ldd apcu.so
say?
from apcu.
ah, it won't compile .. ok, the issue must be in the multilib or some system misconfiguration
from apcu.
You do sometimes get strangeness on multilib systems, what's a little confusing is that to have rwlocks being referenced your system compiled a binary during configure with the same libpath and lib flag, so it must infact be a working configuration ... I will investigate ...
from apcu.
Note the latest '.git' PULL of APC source [http://git.php.net/?p=pecl/caching/apc.git] compiles fine with the same 'equivalent' configs (a static PHP tree compile).
I specifically do not use multilibs - nor PECL, I have 'gcc 4.8.1 20130920' setup to only do x86_64 (along with 'glibc' references to 64-bit). The .git pull of APC (original) has no issue with this, so I will stick to it for now.
from apcu.
For my curiosity, why are you truing to build stuff already available in Fedora 20 official repository ?
And APCu build without issue on F20
http://kojipkgs.fedoraproject.org//packages/php-pecl-apcu/4.0.2/2.fc20/data/logs/x86_64/build.log
from apcu.
Because I do not do 'PECL' builds for PHP, I do include any required libraries into the PHP tree, at compile time.
For the moment, 'apcu' is the first that /ext has had an issue with this method. Note; No issue with 'apc' on the same method.
from apcu.
Also no issue with the same method deployed for 'opcache' being now fully part of php 5.5.+
My Fedora RPM php.spec has this working config for php 5.5.4 + opcache + apc:
--enable-opcache \
--enable-apc \
--disable-apc-mmap \
--disable-apc-sem \
--disable-apc-pthreadmutex \
--disable-apc-pthreadrwlocks \
--disable-apc-memprotect \
--enable-apc-spinlocks \
The only reason, as you know, to use 'apc[u]' - is for the 'user cache' feature.
from apcu.
[remicollet], "off-topic" - but many thanks for 'pecl-json-c' @ https://github.com/remicollet/pecl-json-c. I was saved by that 'new' library - when PHP 5.5.4 'suddenly' dropped the json php/ext over the recent known license issues. "Drupal errors with the well known "PHP Fatal error: Call to undefined function json_encode()".
A php tree build with your 'pecl-json-c' resolved that.
from apcu.
@peterbowey "off-topic" sorry but I still don't understand why you don't use fedora official RPM ?
from apcu.
@remicollet "off-topic". I actually use http://koji.fedoraproject.org/koji/packages. grab the *.src.rpm and compile as required. This I have done for years. You are well know for php rpms, in this URL! As a Linux engineer and programmer - this suites my devel + production fine ;-)
from apcu.
@krakjoe - Many thanks Joe, the recent 'fix #46 ' dealt with the [above] given problem - nicely! Thanks to the well known '-lpthread' inclusive.
from apcu.
Related Issues (20)
- Valgrind Use of uninitialised value of size 8 in php_var_unserialize_internal() via php_apc_unserializer() HOT 2
- start_time in apcu_cache_info() HOT 2
- Test tests/typed_prop.phpt fails on PHP 8.3 HOT 1
- Enable igbinary as serializer Cause PHP 8.2 exited on signal 4 HOT 1
- segmentation fault when calling phpinfo() in ZTS builds HOT 2
- Unable to install on Mac M2 HOT 2
- compliation error on RedHat 8.2: zend_signal.h:46:2: error: unknown type name ‘siginfo_t’ HOT 4
- DLL missing HOT 2
- Create new release HOT 4
- apc.php shows wrong timestamps HOT 1
- DLL for PHP 8.3 (Windows) missing HOT 1
- %d printf specifier for key_t fails if the type is actually long (which is allowed by POSIX)
- apc_cache.c has two format specifier bugs (with patch) HOT 1
- Windows DLL for APCu 5.1.23 HOT 1
- Introduce documentation for setting "apc.smart"
- Store an \SplPriorityQueue HOT 1
- Windows DLL available to download HOT 1
- Expunges happen without hitting limits HOT 1
- `apcu_fetch` returns `success` for missing keys HOT 2
- Broken apc_entry_002 test with PHP 8.4 alpha1 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apcu.