Skip to content

undefined symbol: rb_nmatrix_dense_create #5

@aheumaier

Description

@aheumaier

Hi Prasun,

Validating locally installed RbCuda gem with rake pry as documented gives rbcuda.so: undefined symbol: rb_nmatrix_dense_create.

rake --trace pry
** Invoke pry (first_time)
** Execute pry
pry -r './lib/rbcuda.rb'
Traceback (most recent call last):
        11: from /usr/local/bin/pry:23:in `<main>'
        10: from /usr/local/bin/pry:23:in `load'
         9: from /var/lib/gems/2.5.0/gems/pry-0.11.3/bin/pry:11:in `<top (required)>'
         8: from /var/lib/gems/2.5.0/gems/pry-0.11.3/lib/pry/cli.rb:84:in `parse_options'
         7: from /var/lib/gems/2.5.0/gems/pry-0.11.3/lib/pry/pry_class.rb:148:in `final_session_setup'
         6: from /var/lib/gems/2.5.0/gems/pry-0.11.3/lib/pry/pry_class.rb:105:in `load_requires'
         5: from /var/lib/gems/2.5.0/gems/pry-0.11.3/lib/pry/pry_class.rb:105:in `each'
         4: from /var/lib/gems/2.5.0/gems/pry-0.11.3/lib/pry/pry_class.rb:106:in `block in load_requires'
         3: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
         2: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
         1: from /home/aheumaier/Codebox/rbcuda/lib/rbcuda.rb:2:in `<top (required)>'
/home/aheumaier/Codebox/rbcuda/lib/rbcuda.rb:2:in `require_relative': /home/aheumaier/Codebox/rbcuda/lib/rbcuda.so: undefined symbol: rb_nmatrix_dense_create - /home/aheumaier/Codebox/rbcuda/lib/rbcuda.so (LoadError)
rake aborted!
Command failed with status (1): [pry -r './lib/rbcuda.rb'...]
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/file_utils.rb:67:in `block in create_shell_runner'
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/file_utils.rb:57:in `sh'
/home/aheumaier/Codebox/rbcuda/Rakefile:35:in `run'
/home/aheumaier/Codebox/rbcuda/Rakefile:31:in `block in <top (required)>'
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:271:in `block in execute'
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:271:in `each'
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:271:in `execute'
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:213:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:193:in `invoke_with_call_chain'
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/task.rb:182:in `invoke'
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:160:in `invoke_task'
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:116:in `each'
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:116:in `block in top_level'
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:125:in `run_with_threads'
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:110:in `top_level'
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:83:in `block in run'
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:186:in `standard_exception_handling'
/var/lib/gems/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:80:in `run'
/var/lib/gems/2.5.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
Tasks: TOP => pry

Feel free to reach out for more information as needed . Happy to help !

Andreas

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions