From: Douglas Seifert Date: 2011-07-28T12:06:23+09:00 Subject: Re: Ruby corrupts after a period of time --00504501406b133aef04a9187382 Content-Type: text/plain; charset=ISO-8859-1 I am 99% sure you are running into problems with prelink. On any centos or Fedora OS where we run custom compiled rubies (1.9.2-p180 currently), prelink runs once a day and corrupts the executable by doing something to .so's it uses or the binary executables themselves. The only way we have been able to keep prelink from doing anything is to completely uninstall the prelink rpm. I am sure if we spent the time, we could blacklist all ruby files from the prelink configuration file, but it wasn't worth our time and effort to do so. prelink is pretty much obsolete (or so I have heard) on modern OS's and we have not had any problems with it uninstalled. Uninstall prelink, then recompile and reinstall from scratch your ruby interpreter. I am very sure this will solve your issue. Any prelink gurus out there want to A) tell me that it is necessary to have installed and B) tell me how I tell prelink not to touch my custom compiled ruby? -Doug Seifert On Wed, Jul 27, 2011 at 8:35 AM, Daniel Hvidding wrote: > unknown wrote in post #989307: > > On Fri, Mar 25, 2011 at 10:43 AM, Chip Burke > > wrote: > >> Some more news. I built a clean Fedora 13 x86_64 box last night to test > >> 1.9.2 in a non-upgrade environment. Exact same results. By morning ruby > >> was spaghetti. > > > > Thanks for testing that. Did you also test installing to a different > > PREFIX? > > Did you ever resolve this issue? I am running into the same problem on > RHEL4. I had everything running great yesterday, and today I can't run > anything. Was thinking it was something I had added to the > $LD_LIBRARY_PATH yesterday that isn't automatically put there upon login > but I guess that's not the case. It is segment faulting upon any type of > require... > > -- > Posted via http://www.ruby-forum.com/. > > --00504501406b133aef04a9187382--