* [sup-talk] LibC on OpenBSD
@ 2008-11-15 19:37 Blake Burkhart
2008-11-16 0:14 ` William Morgan
2008-11-16 17:08 ` marcus-sup
0 siblings, 2 replies; 4+ messages in thread
From: Blake Burkhart @ 2008-11-15 19:37 UTC (permalink / raw)
I had been still using an old version of sup for quite a while. It was either 0.5 or a dev version from between 0.5 and 0.6. I decided I actually needed to update it for once.
I tried downloading the tgz (I never can get gem to do what I want) of 0.6 but it didn't seem to work. I gave up on 0.6 and tried the version from git. Still problems.
When I ran it I got these errors:
$ ruby -I lib -w bin/sup
/usr/local/lib/ruby/1.8/dl/import.rb:29:in `initialize': File not found (RuntimeError)
from /usr/local/lib/ruby/1.8/dl/import.rb:29:in `dlopen'
from /usr/local/lib/ruby/1.8/dl/import.rb:29:in `dlload'
from /usr/local/lib/ruby/1.8/dl/import.rb:27:in `each'
from /usr/local/lib/ruby/1.8/dl/import.rb:27:in `dlload'
from ./lib/sup.rb:17
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from bin/sup:9
Apparently it was breaking on loading LibC. I had no idea where LibC was supposed to be coming from so I searched my computer for it and finally found it called "libc.so.43.0"
I changed the "libc.so.6" part of lib/sup.rb:17 to "libc.so.43.0".
Basically, I was wondering if I had to do all that. Oh, and it does work perfectly fine now.
--
Blake Burkhart
^ permalink raw reply [flat|nested] 4+ messages in thread* [sup-talk] LibC on OpenBSD 2008-11-15 19:37 [sup-talk] LibC on OpenBSD Blake Burkhart @ 2008-11-16 0:14 ` William Morgan 2008-11-16 0:42 ` Blake Burkhart 2008-11-16 17:08 ` marcus-sup 1 sibling, 1 reply; 4+ messages in thread From: William Morgan @ 2008-11-16 0:14 UTC (permalink / raw) Reformatted excerpts from Blake Burkhart's message of 2008-11-15: > I changed the "libc.so.6" part of lib/sup.rb:17 to "libc.so.43.0". Wow I REALLY don't want to play this game. But it looks like we have to, in order to get wide characters working with ncurses: What does ruby -rrbconfig -e 'puts Config::CONFIG["arch"]' print on your system? -- William <wmorgan-sup at masanjin.net> ^ permalink raw reply [flat|nested] 4+ messages in thread
* [sup-talk] LibC on OpenBSD 2008-11-16 0:14 ` William Morgan @ 2008-11-16 0:42 ` Blake Burkhart 0 siblings, 0 replies; 4+ messages in thread From: Blake Burkhart @ 2008-11-16 0:42 UTC (permalink / raw) Excerpts from William Morgan's message of Sat Nov 15 18:14:28 -0600 2008: > What does > ruby -rrbconfig -e 'puts Config::CONFIG["arch"]' > print on your system? Here's the output: $ ruby -rrbconfig -e 'puts Config::CONFIG["arch"]' i386-openbsd4.3 -- Blake Burkhart ^ permalink raw reply [flat|nested] 4+ messages in thread
* [sup-talk] LibC on OpenBSD 2008-11-15 19:37 [sup-talk] LibC on OpenBSD Blake Burkhart 2008-11-16 0:14 ` William Morgan @ 2008-11-16 17:08 ` marcus-sup 1 sibling, 0 replies; 4+ messages in thread From: marcus-sup @ 2008-11-16 17:08 UTC (permalink / raw) On 15.11.2008, Blake Burkhart wrote: > Apparently it was breaking on loading LibC. I had no idea where LibC was > supposed to be coming from so I searched my computer for it and finally found > it called "libc.so.43.0" I _think_ (but I'm no freebsd expert!) you need to install compat6x which will give you the libc.so.6 libs (and others). It may be that they are just soft links anyway. MArcus ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-11-16 17:08 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-11-15 19:37 [sup-talk] LibC on OpenBSD Blake Burkhart 2008-11-16 0:14 ` William Morgan 2008-11-16 0:42 ` Blake Burkhart 2008-11-16 17:08 ` marcus-sup
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox