https://github.com/chef/libyajl2-gem
gem to install the libyajl2 c-library for distributions which do not have it
https://github.com/chef/libyajl2-gem
Keywords from Contributors
chef configuration-management discovery ohai cfgmgt deployment
Last synced: about 13 hours ago
JSON representation
Repository metadata
gem to install the libyajl2 c-library for distributions which do not have it
- Host: GitHub
- URL: https://github.com/chef/libyajl2-gem
- Owner: chef
- License: apache-2.0
- Created: 2014-04-08T20:48:02.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2025-10-16T04:41:57.000Z (about 2 months ago)
- Last Synced: 2025-11-27T16:45:39.810Z (15 days ago)
- Language: Ruby
- Size: 90.8 KB
- Stars: 1
- Watchers: 14
- Forks: 13
- Open Issues: 7
- Releases: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
README.md
libyajl2-gem
Umbrella Project: Chef Foundation
Project State: Active
Issues Response Time Maximum: 14 days
Pull Request Response Time Maximum: 14 days
gem to install the libyajl2 c-library for distributions which do not have it
NOTE
To build this depends on libgmp and its headers being installed. On Ubuntu:
apt-get install libgmp-dev
If you get a mysterious "unhandled exception" build failure like:
Building native extensions. This could take a while...
ERROR: Error installing libyajl2:
ERROR: Failed to build gem native extension.
/home/lamont/.rvm/rubies/ruby-2.2.3/bin/ruby -r ./siteconf20151209-53133-1aq7vdk.rb extconf.rb
creating Makefile
/home/lamont/.rvm/gems/ruby-2.2.3/gems/libyajl2-1.2.0/ext/libyajl2
extconf.rb:104:in `makemakefiles': unhandled exception
from extconf.rb:138:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /home/lamont/.rvm/gems/ruby-2.2.3/gems/libyajl2-1.2.0 for inspection.
Results logged to /home/lamont/.rvm/gems/ruby-2.2.3/extensions/x86_64-linux/2.2.0/libyajl2-1.2.0/gem_make.out
Look at the output of make.out in the same directory as extconf.rb, for my
example above that looks like:
# cat /home/lamont/.rvm/gems/ruby-2.2.3/gems/libyajl2-1.2.0/ext/libyajl2/make.out
compiling yajl_buf.c
compiling yajl.c
compiling yajl_gen.c
compiling yajl_tree.c
compiling yajl_encode.c
compiling yajl_parser.c
compiling yajl_alloc.c
compiling yajl_version.c
compiling yajl_lex.c
linking shared-object libyajl.so
/usr/bin/ld: cannot find -lgmp
collect2: error: ld returned 1 exit status
make: *** [libyajl.so] Error 1
Which gives the correct error that -lgmp was not found...
Owner metadata
- Name: Progress Chef
- Login: chef
- Email: ops@chef.io
- Kind: organization
- Description:
- Website: https://www.chef.io/
- Location: United States of America
- Twitter: chef
- Company:
- Icon url: https://avatars.githubusercontent.com/u/29740?v=4
- Repositories: 245
- Last ynced at: 2023-04-10T00:51:04.360Z
- Profile URL: https://github.com/chef
GitHub Events
Total
- Pull request event: 5
- Create event: 2
Last Year
- Pull request event: 5
- Create event: 2
Committers metadata
Last synced: 8 days ago
Total Commits: 141
Total Committers: 7
Avg Commits per committer: 20.143
Development Distribution Score (DDS): 0.128
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Lamont Granquist | l****t@s****g | 123 |
| Tim Smith | t****h@c****o | 11 |
| dependabot-preview[bot] | 2****] | 2 |
| Jason Potkanski | e****n@y****m | 2 |
| toshi | me@t****t | 1 |
| brianvans | b****s@g****m | 1 |
| Thom May | t****m@c****o | 1 |
Committer domains:
- chef.io: 2
- toshimaru.net: 1
- scriptkiddie.org: 1
Issue and Pull Request metadata
Last synced: 10 days ago
Total issues: 10
Total pull requests: 23
Average time to close issues: 13 days
Average time to close pull requests: about 1 year
Total issue authors: 9
Total pull request authors: 14
Average comments per issue: 2.3
Average comments per pull request: 1.39
Merged pull request: 12
Bot issues: 0
Bot pull requests: 2
Past year issues: 0
Past year pull requests: 4
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 3
Past year average comments per issue: 0
Past year average comments per pull request: 0.0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- voxik (2)
- sparr (1)
- james-stocks (1)
- UltimateGeek (1)
- Tzrlk (1)
- michaelachrisco (1)
- iongion (1)
- grv87 (1)
- barnabear (1)
Top Pull Request Authors
- tas50 (4)
- lamont-granquist (3)
- nandanhegde73 (2)
- ssssam (2)
- tpowell-progress (2)
- dependabot-preview[bot] (2)
- sean-sype-simmons (1)
- brianvans (1)
- thommay (1)
- stanhu (1)
- toshimaru (1)
- Saburesh07 (1)
- kou (1)
- james-stocks (1)
Top Issue Labels
Top Pull Request Labels
- Expeditor: Skip All (3)
- oss-standards (3)
- dependencies (2)
Package metadata
- Total packages: 2
-
Total downloads:
- rubygems: 104,171,388 total
- Total docker downloads: 873,688,096
- Total dependent packages: 1 (may contain duplicates)
- Total dependent repositories: 2,265 (may contain duplicates)
- Total versions: 55
- Total maintainers: 5
gem.coop: libyajl2
Installs a vendored copy of libyajl2 for distributions which lack it
- Homepage: https://github.com/chef/libyajl2-gem
- Documentation: http://www.rubydoc.info/gems/libyajl2/
- Licenses: Apache-2.0
- Latest release: 2.1.0 (published over 4 years ago)
- Last Synced: 2025-12-08T22:32:10.975Z (3 days ago)
- Versions: 27
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 52,091,231 Total
- Docker Downloads: 436,844,048
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.162%
- Downloads: 0.486%
- Maintainers (5)
rubygems.org: libyajl2
Installs a vendored copy of libyajl2 for distributions which lack it
- Homepage: https://github.com/chef/libyajl2-gem
- Documentation: http://www.rubydoc.info/gems/libyajl2/
- Licenses: Apache-2.0
- Latest release: 2.1.0 (published over 4 years ago)
- Last Synced: 2025-12-07T18:01:44.273Z (5 days ago)
- Versions: 28
- Dependent Packages: 1
- Dependent Repositories: 2,265
- Downloads: 52,080,157 Total
- Docker Downloads: 436,844,048
-
Rankings:
- Docker downloads count: 0.332%
- Downloads: 0.515%
- Dependent repos count: 0.662%
- Forks count: 7.159%
- Dependent packages count: 7.703%
- Average: 8.598%
- Stargazers count: 35.218%
- Maintainers (5)
Dependencies
- bundler >= 0 development
- chefstyle >= 0 development
- ffi ~> 1.9 development
- rake >= 0 development
- rake-compiler >= 0 development
- rspec >= 0 development
Score: 24.726231065256574