From: "Voytek Eymont" <[EMAIL PROTECTED]>

> ** Reply to note from "Oscar Plameras" <[EMAIL PROTECTED]> Mon, 3 Nov
2003 12:21:44 -0800
>
>
> > /etc/ld.so.conf,
> > includes
> > /usr/local/lib
> > If not add that line and do a,
> > #ldconfig
>
>
> Oscar
>
> thanks, oops, seems someone might have given wrong info to you...
>
> now, after I deleted the failed-installation tide binary:
>
> executing from /etc/cron.daily
> # ./tide_daily
>
> still works, BUT, cron's execution reports:
>
> /etc/cron.daily/tide_daily: tide: command not found
>

In 'tide_daily', locate 'tide' and replace it with its
full pathname.


> so, it seems, when cron executes this script, it is calling the failed
> install binary (that I now deleted)
>
> I guess I should prepend full path to the 'good' binary, but, now I think,
I
> might have then added rwong libapth to /etc/ld.so.conf, I should remove it
> maybe.
>
> whilst I'm still somewaht perplexed why command line exec works, and,
cron's
> doesn't, I suspect, cron's uses a different binary search path ?
>
> looking at (hopefully) the only tide binary I have left:
>
> # ldd tide
>         libpng.so.2 => /usr/lib/libpng.so.2 (0x40024000)
>         libz.so.1 => /usr/lib/libz.so.1 (0x40047000)
>         libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
(0x4005500
> 0)
>         libm.so.6 => /lib/i686/libm.so.6 (0x40098000)
>         libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>

The above lists show all modules are present. So, there is
no need to modify 'ld.so.conf'.

> and
> # cat /etc/ld.so.conf
> /usr/kerberos/lib
> /usr/X11R6/lib
> /usr/lib/qt2/lib
> /usr/lib/mysql
> /usr/lib/qt-3.0.5/lib
> /usr/local/lib
>
> I should then : REMOVE ? whole last line I added, OR, EDIT ? to '/usr/lib'
?
>
> I'll wait till 4 am to see what happens.. thanks again
>


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to