From: Tristin Davis Date: 2008-07-04T14:17:50+09:00 Subject: Re: failed to map segment from shared object: Operation not permitted ------=_Part_12644_21338029.1215148829544 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I tried it the solution in the 1st link, but it didn't help. On Thu, Jul 3, 2008 at 11:01 PM, Tim Pease wrote: > On Jul 3, 2008, at 9:46 PM, Tristin Davis wrote: > > I'm writing a ruby wrapper for a proprietary api. I compiled it, but when >> I >> require it in irb i get the following error. I'm stumped as to why its >> throwing this error. Anyone help? >> >> irb(main):001:0> require 'metadata' >> LoadError: ./metadata.so: failed to map segment from shared object: >> Operation not permitted - ./metadata.so >> from ./metadata.so >> from (irb):1 >> > > Are you compiling the code as one user and attempting to use it from a > different user account? The "Operation not permitted" usually refers to a > permissions problem. > > Found this link ... > > < > http://citydesknews.com/FogBugz/KB/errors/fogutil.sofailedtomapsegm.html?isl=23903 > > > > Give the "restorecon" method a shot. > > Oh, and this link might shed some light as well ... > > < > http://objectmix.com/tcl/34666-failed-map-segment-shared-object-operation-not-permitted.html > > > > Blessings, > TwP > > ------=_Part_12644_21338029.1215148829544--