On Tue, 13 Jan 2004 23:58:33 +0900, Eric Sunshine <sunshine / sunshineco.com> wrote: [...] > >Have you actually installed the Ruby built this way and then removed the >directory in which you built the package? If so, are you able to load any of >the extension modules, such as 'digest'? The reason I ask is that, >historically, NS/OS hard-coded the pathnames of shared libraries into >programs/plugins which link against those libraries. For instance, if you >built the 'digest' extension by linking it against the shared library >$HOME/ruby/libruby.dylib, and then you installed Ruby and removed the entire >$HOME/ruby directory, the 'digest' module would still look for libruby.dylib >at $HOME/ruby. > You're right. After I removed the build directory, ruby stopped working. I'll have to take a closer look at that. >What exactly prompted you to use -framework System instead of libsys_s? > I don't know. I just read about it in the ld man-page and thought that it looked more elegant :) Cheers Martin