Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed loading /opt/ioncube/ioncube_loader_lin_.so #38

Open
rehamkhalil3 opened this issue Aug 31, 2022 · 5 comments
Open

Failed loading /opt/ioncube/ioncube_loader_lin_.so #38

rehamkhalil3 opened this issue Aug 31, 2022 · 5 comments

Comments

@rehamkhalil3
Copy link

when i use testrail/apache docker image to build a container this error pop-out : Failed loading /opt/ioncube/ioncube_loader_lin_.so: /opt/ioncube/ioncube_loader_lin_.so: cannot open shared object file: No such file or directory

can any one help please ?

@ff05
Copy link

ff05 commented Aug 31, 2022

Just made a PR #39 to fix this.
I hope someone will look at this and merge it.

@qba73
Copy link

qba73 commented Sep 29, 2022

Just made a PR #39 to fix this.
I hope someone will look at this and merge it.

@ff05 I have applied your change locally but still getting the same issue when starting docker-compose:

...
testrail-docker-cassandra-1  | INFO  [main] 2022-09-29 06:41:15,961 CassandraDaemon.java:650 - Startup complete
testrail-docker-srv-1        | Failed loading /opt/ioncube/ioncube_loader_lin_.so:  /opt/ioncube/ioncube_loader_lin_.so: cannot open shared object file: No such file or directory
testrail-docker-srv-1        | The ionCube PHP Loader is not installed
...

Am I missing sth?

@ff05
Copy link

ff05 commented Sep 29, 2022

In the docker-compose.yml they use the uploaded Image from Dockerhub. As long as they don't apply the fix to the uploaded image, you have to build the Image for testrail apache by yourself and use that in your docker-compose.

@rehamkhalil3
Copy link
Author

rehamkhalil3 commented Sep 29, 2022

kindly check the steps that worked with me:

  1. pull the testrail docker image then start a container
  2. docker exec -it (container-id) bash
  3. cd /usr/local/etc/php/
  4. vi php.ini > for vi to work inside the running container need (apt-get install vim)
  5. you need to fix the broken zend _extension by adding the ioncube version add 7.3 ex: ioncube_loader_lin_7.3.so then save the php.ini file then copy this extension to >> conf.d/php.ini/ file
  6. the go to conf.d file in cd /usr/local/etc/php/conf.d you will find another php.ini file do the same . add the new zend_extension that has been modified on step 5 then save
  7. create the new image from this docker container : docker commit (container id) (docker image name)
  8. the new image will be working with the ioncube version

@ff05
Copy link

ff05 commented Oct 16, 2022

now it is fixed by commit 89bf001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants