Skip to content

Unable to load shared object file #8

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

Closed
2 of 4 tasks
Awais-cb opened this issue Mar 29, 2024 · 2 comments
Closed
2 of 4 tasks

Unable to load shared object file #8

Awais-cb opened this issue Mar 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Awais-cb
Copy link

Awais-cb commented Mar 29, 2024

System Info

Linux ubuntu 20.04

PHP Version

8.3

Environment/Platform

  • Command-line application
  • Web application
  • Serverless
  • Other (please specify)

Description

Type:        FFI\Exception
Message:     Failed loading '/var/www/html/od-web/vendor/ankane/onnxruntime/src/../lib/onnxruntime-linux-x64-1.17.0/lib/libonnxruntime.so.1.17.0' (/var/www/html/od-web/vendor/ankane/onnxruntime/src/../lib/onnxruntime-linux-x64-1.17.0/lib/libonnxruntime.so.1.17.0: cannot open shared object file: No such file or directory)
Filename:    /var/www/html/od-web/vendor/ankane/onnxruntime/src/FFI.php
Line Number: 16

Reproduction

  • Tried to installed the library using
    composer require codewithkyrian/transformers
  • Ran this command as well
    ./vendor/bin/transformers install

but later when i tried to use this code i got the exception mentioned above

@Awais-cb Awais-cb added the bug Something isn't working label Mar 29, 2024
@Awais-cb
Copy link
Author

Sorry i didn't setup the cache path thanks for this exciting package

@CodeWithKyrian
Copy link
Owner

Oh that's cool. You're welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants