Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Upgrade to OS 2.8 on Ubuntu LTS 16.04 incompatible

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 Ubuntu LTS 16.04 uses Ruby 2.3 and rb_data_object_alloc is deprecated in Ruby 2.3.

Any ideas?

Upgrade to OS 2.8 on Ubuntu LTS 16.04 incompatible

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 Ubuntu LTS 16.04 uses Ruby 2.3 and rb_data_object_alloc is deprecated in Ruby 2.3.

Any ideas?

Upgrade to OS 2.8 on Ubuntu LTS 16.04 incompatible

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?ideas on how to resolve this incompatibility?