Program compiled with gcc fails register_frame_info not found

Program compiled with gcc fails register_frame_info not found

Post by Phillip » Tue, 22 Oct 2002 10:51:45



I'm trying to run the graphviz program and it fails as follows:
$ echo $LD_LIBRARY_PATH
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3:/usr/lib$ ./dot
ld.so.1: ./dot: fatal: relocation error: file ./dot: symbol
__register_frame_info: referenced symbol not found
Killed

However:
$ nm /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/libstdc++.so|grep
frame
[2394]  |    214608|      28|FUNC |GLOB |0    |69    
|__deregister_frame
[2530]  |    214360|     248|FUNC |GLOB |0    |69    
|__deregister_frame_info
[2358]  |    214636|     316|FUNC |GLOB |0    |69    
|__frame_state_for
[2750]  |    214164|      32|FUNC |GLOB |0    |69    
|__register_frame
[1666]  |    214032|     132|FUNC |GLOB |0    |69    
|__register_frame_info
[2082]  |    214196|     132|FUNC |GLOB |0    |69    
|__register_frame_info_table
[2544]  |    214328|      32|FUNC |GLOB |0    |69    
|__register_frame_table
[1369]  |         0|       0|FILE |LOCL |0    |ABS    |frame.c
[907]   |    135416|       0|FUNC |LOCL |0    |69     |frame_dummy
[1372]  |    212100|     284|FUNC |LOCL |0    |69     |frame_init

shows that the function exists in this gcc library - libstdc++.so

Do you have any ideas why this may be the case and how I should fix
it?

My platform is Solaris 2.8 and my gcc version is  2.95.3. There were
no compile errors. Graphviz is a public domain package and uses
autoconfig and libtool.

Thanks for any help.