[chef] Re: Re: ffi-yajl 1.4.0 release


Chronological Thread 
  • From: Lamont Granquist < >
  • To:
  • Cc: Anthony Kong < >
  • Subject: [chef] Re: Re: ffi-yajl 1.4.0 release
  • Date: Tue, 17 Feb 2015 22:49:55 -0800


Did a little research tonight and this might actually be a fixable bug, but not trivially:

https://github.com/chef/ffi-yajl/issues/23#issuecomment-74820796
http://stackoverflow.com/questions/3232822/linking-with-multiple-versions-of-a-library

TIL that modern Unixes can load up two different version of the same C library in the same process.

On 2/17/15 6:57 PM, Lamont Granquist wrote:
" type="cite">

No, that's unrelated, something is pulling in ffi-yajl and something is pulling in yajl-ruby and those have incompatible versions of the underlying libyajl c libraries in them.  I'd need to know what is pulling in yajl-ruby to be able to suggest anything.

On 2/17/15 5:15 PM, Anthony Kong wrote:
" type="cite">
I see this error message when I do `vagrant up`

the ffi-yajl and yajl-ruby gems have incompatible C libyajl libs and should not be loaded in the same Ruby VM
falling back to ffi which might work (or might not, no promises)

Is it related?

I am using chef-solo with Vagrant 1.6.5. I have installed the latest chefdk (0.4.0.1)

How can i update ff-yajl?


Cheers


Tony Kong


Don’t EVER make the mistake that you can design something better than what you get from ruthless massively parallel trial-and-error with a feedback cycle. That’s giving your intelligence much too much credit.

- Linus Torvalds


On Wed, Feb 18, 2015 at 10:50 AM, Lamont Granquist < " target="_blank"> > wrote:

This is just a minor release which went out a few minutes ago which clears up an error message when utf8 validation fails, along with correctly exposing the switch to be able to turn off utf8 validation in the libyajl c library.  Also better detection of windows platform (mostly cygwin fix).







Archive powered by MHonArc 2.6.16.

§