Questions tagged [libyaml]

LibYAML is a YAML 1.1 parser and emitter written in C

41 questions
1
vote
1 answer

How to install libyaml-devel on "Red Hat Enterprise Linux 7.4"

Can someone help me to install libyaml-devel? I am using below command yum install libyaml-devel but i am getting "No package libyaml-devel available." error
shyam
  • 9
  • 1
  • 5
1
vote
1 answer

It seems your ruby installation is missing psych (for YAML output). To eliminate this warning, please install libyaml and reinstall your ruby

on fresh Solidus installation, running bundle exec rails g spree:install, throws exception $ bundle exec rails g spree:install /Users/jason/.rvm/rubies/ruby-2.2.5/lib/ruby/2.2.0/yaml.rb:4:in `': It seems your ruby installation is…
Jason FB
  • 4,752
  • 3
  • 38
  • 69
1
vote
1 answer

How to modify an existing YAML node in C?

I am not C programmer but have recently taking interest in it. I am trying to modify a node of a YAML file using the C libyaml library. When I try to modify the node from an event scalar data the compiler doesn't complain but I get segmentation…
Joseph Persico
  • 602
  • 7
  • 20
1
vote
1 answer

Does yaml_emit() have ranges?

I saw this thread on a forum, which makes me relate the issue mentioned in the thread to integer ranges. Basically, the thread is about storing a big integer and getting output as a negative number. However I can't find any information about…
SOFe
  • 7,867
  • 4
  • 33
  • 61
1
vote
2 answers

PyYAML: how to specify an include directory?

I build libyaml and install it into a local area: yaml-0.1.5 $ ./configure --prefix=/usr/local/sqlminus yaml-0.1.5 $ make install yaml-0.1.5 $ ls -l /usr/local/sqlminus/include/yaml.h -rw-r--r--@ 1 mh admin 54225 Jan 5 09:05…
Mark Harrison
  • 297,451
  • 125
  • 333
  • 465
1
vote
1 answer

Control order of hashref with YAML::XS

I'm dumping a data structure to YAML with the YAML::XS library: foo => { bar => [ {...}, {...}, ], baz => [ {...}, {...}, ], ... } It seems like YAML::XS's default behavior is to sort the keys…
Floegipoky
  • 3,087
  • 1
  • 31
  • 47
1
vote
1 answer

how can i upgrade my libyaml version

i installed ruby by homebrew,how can i upgrade my libyaml version。 i flowed this reference this is my osx operation: ➜ ~ ruby -rpsych -e 'p Psych.libyaml_version' [0, 1, 4] ➜ ~ ls /usr/local/Cellar/libyaml/0.1.6 INSTALL_RECEIPT.json README …
Derek
  • 1,177
  • 3
  • 11
  • 26
1
vote
1 answer

libyaml-cpp.s.0.2 not found

I ran across a problem, probably because I deleted one day some files related to libyaml. Anyway when I try to build gscam (ros package) I get this error. /usr/bin/ld: warning: libyaml-cpp.so.0.2, needed by…
hubeek
  • 35
  • 1
  • 5
1
vote
0 answers

How to update libyaml on Mac OS X for Ruby 2 installed via RVM?

Lately I started getting the following warning: SafeYAML Warning ---------------- You appear to have an outdated version of libyaml (0.1.4) installed on your system. Prior to 0.1.6, libyaml is vulnerable to a heap overflow exploit from malicious…
user664833
  • 18,397
  • 19
  • 91
  • 140
1
vote
1 answer

Updating Ruby's libyaml on Ubuntu

This is related to the recent libyaml vulnerability (CVE-2014-2525). I updated psych in my Gemfile to 2.0.5 as suggested, but libyaml version is still 0.1.4 instead of 0.1.6 on my server. Looks like using latest psych gem doesn't update the libyaml…
htanata
  • 36,666
  • 8
  • 50
  • 57
1
vote
0 answers

Ruby installation missing psych, suggests reinstall of libyaml and ruby, and still have image not found? RailsTutorial

When using this command in the middle of my RailsTutorial ( on my laptop setup) : rvm use 2.0.0@railstutorial_rails_4_0 --create --default I receive the following errors: laptop:rubygems-1.8.25 USER_NAME$ rvm use 2.0.0@railstutorial_rails_4_0…
1
vote
2 answers

'invalid ELF header' error when loading libyaml module

When I go into node and attempt to require libyaml I get: > require('libyaml') Error: /home/ubuntu/shadow/node_modules/libyaml/build/Release/binding.node: invalid ELF header at Object.Module._extensions..node (module.js:485:11) at Module.load…
Ben G
  • 26,091
  • 34
  • 103
  • 170
1
vote
2 answers

Reinstall Ruby to use libyaml

I have just installed (built from source) Ruby 1.9.3 onto my CentOS 6.4 system, but found shortly afterwards that I should have installed libyaml first. How do I uninstall Ruby 1.9.3, so that I can install libyaml before rebuilding and reinstalling…
James Baker
  • 1,143
  • 17
  • 39
1
vote
2 answers

Cygwin (on Windows) - Permission Denied - Cannot compile

I am trying to build and install libYAML as per instructions on their website > http://pyyaml.org/wiki/LibYAML ./configure > successful make > successful make install > failed I get the following error "cannot create directory…
Jet Blue
  • 5,109
  • 7
  • 36
  • 48
1
vote
2 answers

Missing Required Packages? - Including libyaml

I feel like my computer has some deep seated issues and is 100% against me installing rails/ruby/rvm and the rest on it. Or I'm just incompetent :) I have installed rvm and ruby without issues. Here is my current setup (Log from…
RileyE
  • 10,874
  • 13
  • 63
  • 106