rails.impaired
2007-Sep-07 05:00 UTC
RMagick, CentOS 5 64-bit, shared object cannot be dlopen()ed
I have two servers. Both are 64-bit boxes. Development server is running Ubuntu 7.04 and the production server is running CentOS 5. My provider does not offer Ubuntu yet. I''m stuck with CentOS 5 64-bit I have RMagick installed and working on my development box. I cannot get RMagick working on my production box. /usr/local/bin/ruby -I /home/myusername/install/RMagick-1.15.9/./lib - I /home/myusername/install/RMagick-1.15.9/./ext/RMagick PreserveAspectRatio.rb /home/myusername/install/RMagick-1.15.9/./ext/RMagick/RMagick.so: libgomp.so.1: shared object cannot be dlopen()ed - /home/myusername/ install/RMagick-1.15.9/./ext/RMagick/RMagick.so (LoadError) from /home/myusername/install/RMagick-1.15.9/./lib/RMagick.rb: 11 from /home/myusername/install/RMagick-1.15.9/./lib/rvg/rvg.rb: 31:in `require'' from /home/myusername/install/RMagick-1.15.9/./lib/rvg/rvg.rb: 31 from PreserveAspectRatio.rb:1:in `require'' from PreserveAspectRatio.rb:1 post-setup.rb: PreserveAspectRatio.rb example returned error code 256 setup.rb: Too many examples failed. Search for "Help!" at http://rmagick.rubyforge.org/install-faq.html. Here is the area of focus: libgomp.so.1: shared object cannot be dlopen()ed I am pretty sure that libgomp.so.1 is being resolved and actually found, however, I think this message means that the shared object cannot be dynamically opened. I have no idea how to move forward. I didn''t think setting LD_LIBRARY_PATH would make a difference, however, I tried setting it anyway. I was right about that one. No difference. Any pointers?? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Andrew Edwards
2007-Sep-16 12:39 UTC
Re: RMagick, CentOS 5 64-bit, shared object cannot be dlopen()ed
Did you get anywhere with this? I''m stuck with the same problem... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Tim Hunter
2007-Sep-17 16:35 UTC
Re: RMagick, CentOS 5 64-bit, shared object cannot be dlopen
Andrew Edwards wrote:> Did you get anywhere with this? I''m stuck with the same problem...You should be able to fix it by building ImageMagick with the --disable-openmp configure script command line option. If that doesn''t work, try asking the ImageMagick developers. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Andrew Edwards
2007-Sep-17 19:00 UTC
Re: RMagick, CentOS 5 64-bit, shared object cannot be dlopen
On Sep 17, 5:35 pm, Tim Hunter <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Andrew Edwards wrote: > > Did you get anywhere with this? I''m stuck with the same problem... > > You should be able to fix it by building ImageMagick with the > --disable-openmp configure script command line option. If that doesn''t > work, try asking the ImageMagick developers. > -- > Posted viahttp://www.ruby-forum.com/.I''ve given this a go with ./configure --disable-openmp but still get the same error. For some reason it still seems to be requesting libgomp.so.1. /usr/local/bin/ruby -I /usr/local/src/RMagick-1.15.10/./lib -I /usr/ local/src/RMagick-1.15.10/./ext/RMagick InitialCoords.rb /usr/local/src/RMagick-1.15.10/./ext/RMagick/RMagick.so: libgomp.so.1: shared object cannot be dlopen()ed - /usr/local/src/RMagick-1.15.10/./ ext/RMagick/RMagick.so (LoadError) from /usr/local/src/RMagick-1.15.10/./lib/RMagick.rb:11 from /usr/local/src/RMagick-1.15.10/./lib/rvg/rvg.rb:31:in `require'' from /usr/local/src/RMagick-1.15.10/./lib/rvg/rvg.rb:31 from InitialCoords.rb:1:in `require'' from InitialCoords.rb:1 post-setup.rb: InitialCoords.rb example returned error code 256 I feel it must be something specific to CentOS 5 as I can hardly find a reference to this issue on google. I''ve mailed the ImageMagick guys to see if they can throw any light on it. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Andrew Edwards
2007-Sep-20 09:38 UTC
Re: RMagick, CentOS 5 64-bit, shared object cannot be dlopen
Just to update in case anyone searches getting RMagic going on CentOS5... I simply substituted in GraphicsMagick for ImageMagick and everything installs fine. I probably should have thought of this earlier! On Sep 17, 8:00 pm, Andrew Edwards <and...-ZYDPpGlny4uS7RsuTa25KztV0T984lsv@public.gmane.org> wrote:> On Sep 17, 5:35 pm, Tim Hunter <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: > > > Andrew Edwards wrote: > > > Did you get anywhere with this? I''m stuck with the same problem... > > > You should be able to fix it by building ImageMagick with the > > --disable-openmp configure script command line option. If that doesn''t > > work, try asking the ImageMagick developers. > > -- > > Posted viahttp://www.ruby-forum.com/. > > I''ve given this a go with ./configure --disable-openmp but still get > the same error. For some reason it still seems to be requestinglibgomp.so.1. > > /usr/local/bin/ruby -I /usr/local/src/RMagick-1.15.10/./lib -I /usr/ > local/src/RMagick-1.15.10/./ext/RMagick InitialCoords.rb > /usr/local/src/RMagick-1.15.10/./ext/RMagick/RMagick.so:libgomp.so.1: > shared object cannot be dlopen()ed - /usr/local/src/RMagick-1.15.10/./ > ext/RMagick/RMagick.so (LoadError) > from /usr/local/src/RMagick-1.15.10/./lib/RMagick.rb:11 > from /usr/local/src/RMagick-1.15.10/./lib/rvg/rvg.rb:31:in > `require'' > from /usr/local/src/RMagick-1.15.10/./lib/rvg/rvg.rb:31 > from InitialCoords.rb:1:in `require'' > from InitialCoords.rb:1 > post-setup.rb: InitialCoords.rb example returned error code 256 > > I feel it must be something specific to CentOS 5 as I can hardly find > a reference to this issue on google. I''ve mailed the ImageMagick guys > to see if they can throw any light on it.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---