- From: Karl Rossing <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re:
- Date: Thu, 17 Sep 2009 11:35:03 -0500
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=gzj20KRvsYbZ/K/tGOwMAnbldhkCQddDeA6wi+hnQH28gWYDq43wtIQUzoy1MaMUEr Q29wdUooiSI5RF7K1VmEYTbRhw9rxXyNa2099GGM4Zs4QMZnlYi/vvobU5gEiNpiC6Da fUoyhEYcyVbzB165Uk5lW9Jt4cUCuVdhBLoj8=
I'm not sure if I would recognise a hint if I saw it.
# ldd parser.so
libruby.so => /usr/ruby/1.8/lib/libruby.so
libdl.so.1 => /lib/libdl.so.1
libcrypt.so.1 => /usr/lib/libcrypt.so.1
libm.so.2 => /lib/libm.so.2
libc.so.1 => /lib/libc.so.1
libreadline.so.5 => /usr/lib/libreadline.so.5
libcurses.so.1 => /usr/lib/libcurses.so.1
libgen.so.1 => /lib/libgen.so.1
/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
# ldd generator.so
libruby.so => /usr/ruby/1.8/lib/libruby.so
libdl.so.1 => /lib/libdl.so.1
libcrypt.so.1 => /usr/lib/libcrypt.so.1
libm.so.2 => /lib/libm.so.2
libc.so.1 => /lib/libc.so.1
libreadline.so.5 => /usr/lib/libreadline.so.5
libcurses.so.1 => /usr/lib/libcurses.so.1
libgen.so.1 => /lib/libgen.so.1
/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
On Thu, Sep 17, 2009 at 11:09 AM, Daniel DeLeo
<
>
wrote:
>
Karl,
>
There's clearly something strange happening with the linking of C
>
extensions. Does running ldd (or equivalent) on the .so files
>
under /var/ruby/1.8/gem_home/gems/json-1.1.9/ext/json/ext/ give you any
>
hints?
>
HTH,
>
Dan DeLeo
>
>
On Thu, Sep 17, 2009 at 10:02 AM, Karl Rossing
>
<
>
>
wrote:
>
>
>
> # /usr/bin/ruby --version
>
> ruby 1.8.7 (2008-08-11 patchlevel 72) [sparc-solaris2.11]
>
>
>
> I'll see if I can't install 1.8.5 and give it another try.
>
>
>
> Karl
>
>
>
> On Thu, Sep 17, 2009 at 10:41 AM, Joe Van Dyk
>
> <
>
>
> wrote:
>
> > He asked about ruby, not rubygems.
>
> >
>
> > Joe
>
> >
>
> > On Thu, Sep 17, 2009 at 7:18 AM, Karl Rossing
>
> > <
>
>
> > wrote:
>
> >>
>
> >> http://wiki.opscode.com/display/chef/Installation+on+OpenSolaris+2008.11+with+RubyGems
>
> >>
>
> >> cd /tmp
>
> >> wget http://rubyforge.org/frs/download.php/57643/rubygems-1.3.4.tgz
>
> >> tar zxf rubygems-1.3.4.tgz
>
> >> cd rubygems-1.3.4
>
> >> sudo ruby setup.rb
>
> >>
>
> >> On Thu, Sep 17, 2009 at 7:41 AM, Dick Davies
>
> >> <
>
>
> >> wrote:
>
> >>> Where did your Ruby come from?
>
> >>>
>
> >>> On Wed, Sep 16, 2009 at 11:06 PM,
>
> >>> <
>
>
> >>> wrote:
>
> >>>> I'm trying to get chef running on opensolaris sxce build 115.
>
> >>>>
>
> >>>> I'm getting the following error
>
> >>>> # ./chef-solo \-c \/solo.rb \-j \/chef.json \-r
>
> >>>> /home/karlr/Downloads/chef/bootstrap-latest.tar.gz
>
> >>>> [Wed, 16 Sep 2009 17:00:31 -0500] INFO: Starting Chef Solo Run
>
> >>>> ./../lib/chef/client.rb:122:in `determine_node_name': private method
>
> >>>> `gsub'
>
> >>>> called for nil:NilClass (NoMethodError)
>
> >>>> from ./../lib/chef/client.rb:101:in `run_solo'
>
> >>>> from ./../lib/chef/application/solo.rb:191:in
>
> >>>> `run_application'
>
> >>>> from ./../lib/chef/application/solo.rb:183:in `loop'
>
> >>>> from ./../lib/chef/application/solo.rb:183:in
>
> >>>> `run_application'
>
> >>>> from ./../lib/chef/application.rb:57:in `run'
>
> >>>> from ./chef-solo:26
>
> >>>>
>
> >>>> # hostname
>
> >>>> chef
>
> >>>>
>
> >>>> # ohai
>
> >>>> ld.so.1: ruby: fatal: relocation error: file
>
> >>>> /var/ruby/1.8/gem_home/gems/json-1.1.9/ext/json/ext/generator.so:
>
> >>>> symbol isinf:
>
> >>>> referenced symbol not found
>
> >>>> Killed
>
> >>>>
>
> >>>> # cat /chef.json
>
> >>>> {
>
> >>>> "chef": {
>
> >>>> "server_fqdn": "chef",
>
> >>>> "server_ssl_req":
>
> >>>>
>
> >>>> "/C=CA/ST=Manitoba/L=Winnipeg/O=Summer/OU=Operations/CN=chef/
"
>
> >>>> },
>
> >>>> "recipes": "chef::server"
>
> >>>> }
>
> >>>>
>
> >>>> Any suggestions would be appreciated.
>
> >>>>
>
> >>>> Karl
>
> >>>>
>
> >>>
>
> >>
>
> >
>
> >
>
> >
>
> > --
>
> > Joe Van Dyk
>
> > http://fixieconsulting.com
>
> >
>
>
Archive powered by MHonArc 2.6.16.