Load shared library from ruby

This project was awarded to qitsol for $25 USD / hour.

Get free quotes for a project like this
Employer working
Awarded to:
Project Budget
$15 - $25 USD / hour
Total Bids
Project Description

I have a stupid problem :

require 'dl/import'
dl = DL::dlopen('/root/[url removed, login to view]')

message =""
[url removed, login to view](message)
print message

but i have this error: undefined method

This is the c++ code:

void GetMessage(char* message)
char *pTemp = "Hello";
strcpy ( message, pTemp );


How i can resolve the problem?

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online