Date: Wed, 17 Oct 2001 14:29:33 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: "Jacques A. Vidrine" <n@nectar.com> Cc: current@freebsd.org Subject: Re: applix 5.0 and current Message-ID: <20011017142933.A10248@Odin.AC.HMC.Edu> In-Reply-To: <20011017071354.A64132@madman.nectar.com>; from n@nectar.com on Wed, Oct 17, 2001 at 07:13:54AM -0500 References: <20011016124313.A12105@Odin.AC.HMC.Edu> <20011017071354.A64132@madman.nectar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3D/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=3D/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 --=20 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 --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7zfg8XY6L6fI4GtQRAhzOAJ9AcBtjw+0A9t6zhh6r2+REyizQ0ACfRX2D pWrbqnQCxNluzbGf3ODXOJU= =6ujp -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011017142933.A10248>