onioni
Member level 1
Recently,when I installed Specman elite in redhat7.3, it reported "undefined symbol _dl_loaded GLIBC_2.1".And I know it works in redhat 7.2 or RHEL2.1.
If anybody wanna use EDA Tools (use some private symbols such as _dl_loaded) in high version linux, just try my solution:
1. code "compat-preload.c"
struct linkmap *_dl_loaded
2. compile "compat-preload.so.1"
$> gcc -fPIC -g -c -Wall compat-preload.c
$> ld -shared -soname compat-preload.so.1 -o compat-preload.so.1.0 -lc compat-preload.o
3. set env
$> cp compat-preload.so.1 /usr/lib
$> vi ~/.bash_profile
export LD_PRELOAD=/usr/lib/compat-preload.so.1
That's it.I have made specman elite work in CentOS3.3 by this way.
If anybody wanna use EDA Tools (use some private symbols such as _dl_loaded) in high version linux, just try my solution:
1. code "compat-preload.c"
struct linkmap *_dl_loaded
2. compile "compat-preload.so.1"
$> gcc -fPIC -g -c -Wall compat-preload.c
$> ld -shared -soname compat-preload.so.1 -o compat-preload.so.1.0 -lc compat-preload.o
3. set env
$> cp compat-preload.so.1 /usr/lib
$> vi ~/.bash_profile
export LD_PRELOAD=/usr/lib/compat-preload.so.1
That's it.I have made specman elite work in CentOS3.3 by this way.