You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% doas gem install pg_query
Fetching google-protobuf-4.26.1.gem
Fetching pg_query-5.1.0.gem
Building native extensions. This could take a while...
Successfully installed google-protobuf-4.26.1
Building native extensions. This could take a while...
Successfully installed pg_query-5.1.0
Parsing documentation for google-protobuf-4.26.1
Installing ri documentation for google-protobuf-4.26.1
Parsing documentation for pg_query-5.1.0
Installing ri documentation for pg_query-5.1.0
Done installing documentation for google-protobuf, pg_query after 2 seconds
2 gems installed
<internal:/usr/local/lib/ruby/site_ruby/3.3/rubygems/core_ext/kernel_require.rb>:136:in `require': Unable to resolve symbol - Init_pg_query (LoadError)
from <internal:/usr/local/lib/ruby/site_ruby/3.3/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /usr/local/lib/ruby/gems/3.3/gems/pg_query-5.1.0/lib/pg_query.rb:7:in `<top (required)>'
from <internal:/usr/local/lib/ruby/site_ruby/3.3/rubygems/core_ext/kernel_require.rb>:141:in `require'
from <internal:/usr/local/lib/ruby/site_ruby/3.3/rubygems/core_ext/kernel_require.rb>:141:in `rescue in require'
from <internal:/usr/local/lib/ruby/site_ruby/3.3/rubygems/core_ext/kernel_require.rb>:135:in `require'
from e.rb:1:in `<main>'
<internal:/usr/local/lib/ruby/site_ruby/3.3/rubygems/core_ext/kernel_require.rb>:136:in `require': cannot load such file -- pg_query (LoadError)
from <internal:/usr/local/lib/ruby/site_ruby/3.3/rubygems/core_ext/kernel_require.rb>:136:in `require'
from e.rb:1:in `<main>'
Any suggestions how to diagnose better or how to solve?
The text was updated successfully, but these errors were encountered:
vtamara
changed the title
On OpenBSD/ad 7.4 trying to use generates the error Unable to resolve symbol - Init_pg_query
On OpenBSD/ad 7.4 pg_query generates the error Unable to resolve symbol - Init_pg_queryMay 8, 2024
My platform is:
I installed with:
The minimal example I'm using in a file
e.rb
is:Running with
ruby e.rb
produces:Any suggestions how to diagnose better or how to solve?
The text was updated successfully, but these errors were encountered: