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

Not able to use Evision Library with Elixir 1.14.4-otp25 #196

Closed
Jitesh-Srivastava opened this issue Jun 28, 2023 · 6 comments
Closed

Not able to use Evision Library with Elixir 1.14.4-otp25 #196

Jitesh-Srivastava opened this issue Jun 28, 2023 · 6 comments
Assignees

Comments

@Jitesh-Srivastava
Copy link

Jitesh-Srivastava commented Jun 28, 2023

Hi creator,
I have did the installation process of Evision v0.1.15 with command "{:evision, "~> 0.1.15", github: "cocoa-xu/evision", branch: "main"}" with the exporting of "export EVISION_PREFER_PRECOMPILED=false" and installing cmake but always find this error and could not able to resolve this. Please help to resolve the error

image

Even i've tried to delete and rebuilt it

@cocoa-xu
Copy link
Owner

Hi @Jitesh-Srivastava, I'll look into this later today! And could you please let me know the CMake's version on your machine?

@Jitesh-Srivastava
Copy link
Author

Jitesh-Srivastava commented Jun 29, 2023

@cocoa-xu
It's showing cmake version is 3.10. Also if I am trying to use "export EVISION_PREFER_PRECOMPILED=true" then it shows failed to load nif library:

image

@cocoa-xu cocoa-xu self-assigned this Jun 30, 2023
@cocoa-xu
Copy link
Owner

cocoa-xu commented Jul 4, 2023

@cocoa-xu It's showing cmake version is 3.10. Also if I am trying to use "export EVISION_PREFER_PRECOMPILED=true" then it shows failed to load nif library:

image

Oh I see, the Linux precompiled binaries were compiled on Ubuntu 20.04, which links to GLIBC 2.29, and it seems that you were using an old Linux distro. Could you please let me know your OS and its version?

@Jitesh-Srivastava
Copy link
Author

Jitesh-Srivastava commented Jul 4, 2023

I am using Ubuntu 18.04

@cocoa-xu
Copy link
Owner

cocoa-xu commented Jul 4, 2023

Sorry I'm afraid that you may need to build it from source for now. The Ubuntu 18.04 GitHub action runner has been deprecated since 12/1/22 see this link.

One possible way to fix this is to use zig as the C++ compiler, and then we can specify the version of glibc it links to.

However, Ubuntu 18.04 itself is also deprecated since April 30, 2023. So I'm not sure if it's worth to make all the changes for it...

@cocoa-xu
Copy link
Owner

cocoa-xu commented Aug 1, 2023

Screenshot 2023-08-01 at 09 09 47

It should work now, w/ and w/o contrib modules, except for the CUDA ones.

@cocoa-xu cocoa-xu closed this as completed Aug 1, 2023
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

2 participants