# Cannot load Ruby extension (.so) checked into ClearCase

**URL:** <https://www.ruby-forum.com/t/cannot-load-ruby-extension-so-checked-into-clearcase/127573>\
**Category:** Ruby\
**Created:** [January 30, 2008, 2:26pm UTC](https://www.ruby-forum.com/t/cannot-load-ruby-extension-so-checked-into-clearcase/127573 "2008-01-30T14:26:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel\_SSSSkerud](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8e8cbc/32.png) [@daniel\_SSSSkerud](https://www.ruby-forum.com/u/daniel_SSSSkerud)\
**Post date:** [January 30, 2008, 2:26pm UTC](https://www.ruby-forum.com/t/cannot-load-ruby-extension-so-checked-into-clearcase/127573/1 "2008-01-30T14:26:08Z")

</div>

When I try to load a Ruby extension that I have checked into ClearCase,  
something weird happens:

./lib/whatever.so: 5: Access is denied. - ./lib/whatever.so  
(LoadError)

If I check out the file, and make it ReadOnly, it still works, so it’s  
not a  
read-write-access-problem. Seems Ruby does some wierd stuff that the  
ClearCase filesystem does not like. Filemon reports a lot of these:

14:13:30 ruby.exe:5804 UNLOCK \<network\_path\_removed\> RANGE  
NOT  
LOCKED Offset: 0 Length: -1

So Ruby requests to OPEN the file, the ClearCase file system for some  
reason  
tries to do an UNLOCK instead of an OPEN. Any help appreciated.

/D
