On Monday 05 March 2007 02:47, Gene Heskett wrote: > On Sunday 04 March 2007, Nigel Henry wrote: > >On Sunday 04 March 2007 18:38, Gene Heskett wrote: > >> On Sunday 04 March 2007, Nigel Henry wrote: > >> >This library is built using scons, but when I su to root to do a > >> > "scons install" it insists on running ldconfig, which it can't as > >> > it's not calling /sbin/ldconfig, and lunches out saying there's a > >> > problem. > >> >What do I need to do, so that it is not necessary to call ldconfig > >> >as /sbin/ldconfig? > >> > >> 'su -' maybe? > > > >Thanks Gene. I'd tried that, but then scons install was looking in the > > /root directory for the SConstruct file, and it obviously wasn't there. > > Darned computers! > > > >Nigel. > > Well, I'm not on speaking terms with scons, but if you intended that file > to execute, you can either put it someplace in your $PATH, or cd to the > directory containing it and "sh ./Sconstruct". I suspect that is not the > problem, but its in that general category. Perhaps you need to set an > env variable or something similar? Well I fixed it temporarily by creating a softlink pointing from /usr/local/bin/ldconfig to /sbin/ldconfig. I've now added /sbin to ~/.bash_profile. Now all I have to do is find out how to use Aldrin, the app that needed this library installed. Thanks. Nigel.