jump to navigation

Fixing a problem with hald on Ubuntu 8.10
Monday, 16 March 2009

Posted by austin in: HaloStatue, Technology, comments closed

Saved for my own reference as much as anything. I was having a problem this morning on my Ubuntu x86-64 where I was getting nothing but a spinning cursor (the busy cursor) where I should have seen gdm. The problem was the HAL daemon (hald) wasn’t starting and I couldn’t figure out why. After digging through several bugs, this gem presented itself, and I tried the changed gdm script. It didn’t fix the problem, but when I ran “lshal” by itself, I got:

lshal: symbol lookup error: /usr/lib/libgobject-2.0.so.0: undefined symbol: g_regex_unref

This helped me find a reference on slackware-italia.com that helped me solve my problem: my ld.so.conf.d had no reference to /usr/lib, only /usr/local/lib. I added it and all is well.

mime-types version 1.16 has been released!
Monday, 2 March 2009

Posted by austin in: Ruby, comments closed

After an excessive amount of time, I’ve released MIME::Types 1.16. The primary purpose of this release is compatibility with Ruby 1.9.1, but I haven’t ignored the latest IANA registered types. I have also picked up a few other types that others submitted as patches and scanned through the latest version (1.27) of the Perl MIME::Types library.

MIME::Types for Ruby allows for the identification of a file’s likely MIME content type based on the file’s filename extension, or provides a list of extensions associated with a MIME content type, if known.

MIME::Types for Ruby originally based on and synchronized with the Perl version by Mark Overmeer, copyright 2001 – 2009. As of version 1.15, the data format for the MIME::Type list has changed and synchronization, if it happens, will be sporadic at best. The preferred source of input for a MIME::Type is the IANA registered list.

Copyright: 2002 – 2009, Austin Ziegler; based on prior work copyright Mark Overmeer.

Licence Notes

MIME::Types is available under Ruby’s disjunctive licence with the GNU GPL or the Perl Artistic licence. See the file Licence.txt in the package for full details.

Requirements and Installation

MIME::Types has been tested with Ruby 1.8.6, Ruby 1.8.7, Ruby 1.9.1, JRuby 1.1.6 (in Ruby 1.8 mode), and MacRuby 0.3.

MIME::Types can be installed with:

% ruby setup.rb

Alternatively, you can use the RubyGems version of MIME::Types available as mime-types-1.16.gem from the usual sources.

MIME::Types 1.16