From: Jim Freeze Date: 2001-05-02T03:23:39+09:00 Subject: [ruby-talk:14512] Re: Help: Problems with Tk On Wed, 2 May 2001, David S. wrote: > Solaris doeen't use 'ld.so.conf'. If the Ruby interpretor can't find > 'libtk.so' you need to > > 1) set the envronment variable LD_LIBRARY_PATH to include the directory > where 'libtk.so' lives; > > or > > 2) re-link the Ruby extension modules 'tkutil.so' and 'tcltklib.so' with > the flag '-R', or re-link the Ruby interpretor > with that flag if you're using static extensions. > > Re-linking is the prefered method; see http://www.visi.com/~barr/ldpath.html. Thanks... Well, adding /usr/local/lib to my LD_LIBRARY_PATH does the trick, but I really don't want to leave that permanent. Plus, it is an option that only works for me and not site wide. So, I want to do option (2). Is there a way to setup the config to add the -R option and ld path? I checked out ./configure --help and didn't see anything that would help. I have also looked at the Makefile, but am not sure what I would change that would not break everything else. Thanks ========================================================= Jim Freeze jim@freeze.org --------------------------------------------------------- No comment at this time. http://www.freeze.org =========================================================