RE: : undefined symbol: __register_frame_info: hacky fix



On Thu, Apr 01, 1999 at 08:10:21AM +1200, John Williams wrote:
> I get this error when trying to start mcserv, mc, gmc and gxedit from the 
> shell, I get this error.  I also get it when trying to compile gnumeric 
> 0.21;  I have gnome-libs-1.0.3
> 
> Any clues?

First, make yourself a program like this:

undertow:~ 3>more libfix.c
__register_frame_info() {}
__unregister_frame_info() {}
__deregister_frame_info() {}

Then compile it:
gcc -shared -o libfix.so libfix.c

Put libfix.so into /usr/local/lib, or whereever else you feel is appropriate.

Next, add this to your .cshrc:

setenv LD_PRELOAD /usr/local/lib/libfix.so

Works for me!
[>]  Works for me too!  Thanks a million!

John Williams
Department of Marketing
Otago University




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]