question
When PHP uses RabbitMQ, you need to install the amqp extension. During the installation process, the following problems occur during compilation. The program cannot find the installed librabbitmq library
/usr/bin/ld: cannot find -lrabbitmq
solve
Enter the installed librabbitmq library directory, copy the lib64 directory under the directory as lib
test
Re-execute make and make install, the installation is successful as follows