Upgrade to OS 2.8 on Ubuntu LTS 16.04 incompatible

asked 2019-09-17 13:10:05 -0600

Determinant's avatar

updated 2019-09-17 14:40:52 -0600

I upgraded to OpenStudio 2.8 but despite the Installation Notes here, per this had to upgrade to Ubuntu LTS 16.04 because of some C++ standard library errors. OpenStudio App now loads, but the CLI doesn't.

I moved openstudio.rb to /usr/lib/ruby/2.3.0 so it could be imported by the OpenStudio CLI but now I get the following error:

/usr/local/openstudio-2.8.0/Ruby/openstudio.so: undefined symbol: rb_data_object_alloc

I'm pretty sure it's because OpenStudio uses Ruby 2.2.4 but Ubuntu LTS 16.04 uses Ruby 2.3 and rb_data_object_alloc is deprecated in Ruby 2.3.

Any ideas on how to resolve this incompatibility?

edit retag flag offensive close merge delete


Maybe because OpenStudio 2.8.0 uses Ruby 2.2.4... https://github.com/NREL/OpenStudio/wi...

MatthewSteen's avatar MatthewSteen  ( 2019-09-17 13:37:32 -0600 )edit

Yeah, that's what I meant actually. I need to clarify my question. thanks

Determinant's avatar Determinant  ( 2019-09-17 14:40:08 -0600 )edit