Skip to content

library not working? #3

@blackdiamont

Description

@blackdiamont

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions