On Wed, Oct 17, 2001 at 07:13:54AM -0500, Jacques A. Vidrine wrote:
> A workaround that I used previously  is to compile up getresuid.so and
> run Applix with e.g. `env LD_PRELOAD=/PATH/TO/getresuid.so applix'.

Thanks for the tip.  I was able to get the olefilter working with a
similar hack.  I moved the olefilter binary to olefilter.bin and
replaced it with the following script:

#!/bin/sh
LD_PRELOAD=/usr/local/lib/findfp.so
export LD_PRELOAD
/usr/local/applix/axdata/filters/olefilter/olefilter.bin $*

I tried placing the LD_PRELOAD in the applix shell script, but it
appears that the environment is cleaned before opening filters which
removes the LD_PRELOAD variable.

findfp.so was generated as follows:

gcc -shared -Wl,-x -o findfp.so findfp.So

with findfp.So from /usr/obj/usr/src/lib/libc/findfp.So.  Next time I
update gtk12 I'll probalby use a similar hack for getresuid.so.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

Attachment: msg32588/pgp00000.pgp
Description: PGP signature

Reply via email to