-
Notifications
You must be signed in to change notification settings - Fork 27
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
library not working? #3
Comments
Strange. I haven't worked with the code in more than two years. The error message clearly says that the shared object (the engine) can't find the cudaGetDeviceCount symbol, meaning it is not linked correctly against it. If you get it working, please document it here (and/or create a pull request). |
Hello All, Has there been a resolution to this error? I am trying to use engine-cuda and am running into the same error as shown by blackdiamont. My setup is also the same as blackdiamont, except I am using Cuda 6.0. I tried setting up engine-cuda on a Debian Wheezy system, but I got the same error. Thanks in advance. EDIT: Now I am getting the same type of error, just with EVP_CIPHER_set_asn1_iv as the undefined symbol rather than cudaGetDeviceCount. Here are the error messages: OpenSSL> engine -tt -vvvv dynamic -pre SO_PATH:/opt/lib/engines/libcudamrg.so -pre ID:cudamrg -pre LIST_ADD:1 -pre LOAD 139866030941856:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(/opt/lib/engines/libcudamrg.so): /opt/lib/engines/libcudamrg.so: undefined symbol: EVP_CIPHER_set_asn1_iv as well as /trunk$ /opt/bin/openssl engine -vvvv cudamrg -c Any help would be much appreciated. Thanks! |
I was having the same issue OpenSSL> engine -t dynamic -pre SO_PATH:/usr/local/lib/engines/libcudamrg.so -pre ID:cudamrg -pre LIST_ADD:1 -pre LOAD 140126380431008:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(/usr/local/lib/engines/libcudamrg.so): /usr/local/lib/engines/libcudamrg.so: undefined symbol: EVP_CIPHER_set_asn1_iv I found that in the make file the LDFLAGS and LIBS variables had to go at the end of the build commands, once I changed this it worked fine |
Hi,
|
Hi, I didn't use it for some years but I can give it a try with Debian Stretch and see if I can help. -black |
Hi,
ive just followed your instructions and compiled the source, if i wanna test with openssl its not working:
OpenSSL> engine -t dynamic -pre SO_PATH:/usr/local/lib/engines/libcudamrg.so -pre ID:cudamrg -pre LIST_ADD:1 -pre LOAD
(dynamic) Dynamic engine loading support
140018746762912:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(/usr/local/lib/engines/libcudamrg.so): /usr/local/lib/engines/libcudamrg.so: undefined symbol: cudaGetDeviceCount
140018746762912:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
140018746762912:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450:
[ unavailable ]
on the other issue i saw the compiler flag -Wl,--no-as-needed but its still not working :(
Im using Ubuntu 12.04 x64
gcc-Version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
Cuda compilation tools, release 5.5, V5.5.0
EDIT: Ive tested it on Debian Wheezy and its working! YaY
The text was updated successfully, but these errors were encountered: