# Strange error when loading a shared library

**URL:** <https://www.ruby-forum.com/t/strange-error-when-loading-a-shared-library/78150>\
**Category:** Ruby\
**Created:** [December 3, 2006, 12:41am UTC](https://www.ruby-forum.com/t/strange-error-when-loading-a-shared-library/78150 "2006-12-03T00:41:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![S-redyck](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c5a1d2/32.png) [@S-redyck](https://www.ruby-forum.com/u/S-redyck)\
**Post date:** [December 3, 2006, 12:41am UTC](https://www.ruby-forum.com/t/strange-error-when-loading-a-shared-library/78150/1 "2006-12-03T00:41:27Z")

</div>

Hi,  
I am porting Ruby/SDL to SkyOS (which has Ruby 1.8.5 installed) and I  
can compile it fine, no errors or warnings, but when I try to execute  
“require ‘sdl’” it bums out with

/path/to/sdl.so: “Unable to load global library - /path/to/sdl.so”  
(LoadError)  
from /path/to/sdl.rb: 17 (which is require ‘sdl.so’)

I have never seen this error before and searching on Google turns up no  
results, any insight would be great.

Thanks
