Splunk AppDynamics

Unable to load dynamic library 'appdynamics_agent.so'

Bhanu_Persaud
Explorer

I'm having issue where php can't seem to load the agent.so,  similar to this issue PHP 8.0 agent cannot start - AppDynamics Community

Is there any know bugs with the current php agent version 22.12.1 with php 8.1

I've followed install instructions as usual from Install the PHP Agent by Shell Script (appdynamics.com)

php -v
PHP Warning: PHP Startup: Unable to load dynamic library 'appdynamics_agent.so' (tried: /usr/lib64/php/modules/appdynamics_agent.so (/usr/lib64/php/modules/appdynamics_agent.so: undefined symbol: zend_vm_stack_copy_call_frame), /usr/lib64/php/modules/appdynamics_agent.so.so (/usr/lib64/php/modules/appdynamics_agent.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 8.1.15 (cli) (built: Jan 31 2023 15:13:17) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.1.15, Copyright (c) Zend Technologies
with Zend OPcache v8.1.15, Copyright (c), by Zend Technologies

Labels (1)
0 Karma
1 Solution

Bhanu_Persaud
Explorer

AppDynamics has provided us with a fix and is now part of the latest public release php agent ( 23.2.0.684 ).

View solution in original post

0 Karma

iamryan
Community Manager
Community Manager

Hi @Bhanu.Persaud,

Thank you for following up on the post!

0 Karma

iamryan
Community Manager
Community Manager

Hi @Bhanu.Persaud,

Thanks for the quick reply and the update! 

0 Karma

Bhanu_Persaud
Explorer

AppDynamics has provided us with a fix and is now part of the latest public release php agent ( 23.2.0.684 ).

0 Karma

iamryan
Community Manager
Community Manager

Hi @Bhanu.Persaud,

Since this might be a bug, it's best if you contact Support. How do I submit a Support ticket? An FAQ 

Can you followup here what you hear from Support?

0 Karma

Bhanu_Persaud
Explorer

Hi @Ryan.Paredez 

I've already open a support ticket.  They were able to replicate the problem and currently investigating.  Support did recommend a roll back of php as a workaround but unfortunately that's not an option for us.

I will update this thread once a resolution is reached.

0 Karma
Get Updates on the Splunk Community!

Enhance Your Splunk App Development: New Tools & Support

UCC FrameworkAdd-on Builder has been around for quite some time. It helps build Splunk apps faster, but it ...

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...