Comments (3)
This is on a, "Ubuntu 12.04.4 LTS (Precise Pangolin)" box.
But if I do the following:
precise64:/lib/x86_64-linux-gnu$ sudo cp /lib64/librdkafka* .
$ ldd /usr/lib/php5/20100525/kafka.so
linux-vdso.so.1 => (0x00007fffc05ff000)
librdkafka.so.1 => /lib/x86_64-linux-gnu/librdkafka.so.1 (0x00007fdd3b0d6000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fdd3ad16000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fdd3aaf8000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fdd3a8e1000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fdd3a6d9000)
/lib64/ld-linux-x86-64.so.2 (0x00007fdd3b509000)
from phpkafka.
when i 'make' phpkafka, it occured the followed issue:
[root@OA-test phpkafka]# make test
Build complete.
Don't forget to run 'make test'.
PHP Warning: PHP Startup: Unable to load dynamic library '/root/phpkafka/modules/kafka.so' - librdkafka.so.1: cannot open shared object file: No such file or directory in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/root/phpkafka/modules/kafka.so' - librdkafka.so.1: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/root/phpkafka/modules/kafka.so' - librdkafka.so.1: cannot open shared object file: No such file or directory in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/root/phpkafka/modules/kafka.so' - librdkafka.so.1: cannot open shared object file: No such file or directory in Unknown on line 0
how can i solve it??? please help me
from phpkafka.
As stated in the README: you have to update the dynamic linker by running sudo ldconfig
, and you're good to go
from phpkafka.
Related Issues (8)
- how to get the length of kafka topic
- PHP Fatal error: Class 'Kafka' not found in /var/www/html/kafka-test.php on line 3 HOT 1
- why not fast but slow HOT 1
- Need help to resolve this error
- Unable to load dynamic library '/root/phpkafka/modules/kafka.so' - librdkafka.so.1: cannot open shared object file: No such file or directory in Unknown on line 0 HOT 16
- Consume function fails HOT 2
- Problems about offset
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 phpkafka.