Thanks wouter - I get the feeling that adding it to the ld.so.conf path is the best way to go.
... I'm just having trouble finding the thing!!! I'm running on a shared host. On my account I have a folder named "etc" but there's no "ld.so.conf" in it (I've checked the hidden files) When I try "locate ld.so.conf" in the shell though, it returns /etc/ld.so.conf /etc/ld/so.conf.d Any idea how I can access ld.so.conf and add the path to it? Thanks On Apr 20, 7:59 pm, Wouter de Bie <[email protected]> wrote: > Perry Smith wrote: > > LD_LIBRARY_PATH may not be resampled each time a library is loaded. I'm > > not sure. The loader uses it but it gets it from the processes > > environment. The question is when. > > I read some articles about this and ld.so (normally linked by libc.so) > calls_dl_init_paths() when it's initializing. After this, there are no > more calls to this function. The input is drawn from the environment and > /etc/ld.so.conf. There's not a lot to do about this, other than setting > it before. > In the question above, I think it shouldn't be a problem to include > /usr/local/lib in your /etc/ld.so.conf (you need root access of course). > > Another dirty hack might be to set the LD_LIBRARY_PATH and then fork. > The new process should load the newly set path, but I'm not sure if you > want to fork a complete rails stack (I've done it in the past, but > doesn't feel very right). > > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

