version script problem in Redhat Linux 8 I am using export file (.exp) to link the symbols using version-scripts as follows:
--version-script, script.exp
In script.exp looks like:
{
global:
....
....
local:
*;
};
The same script is working in Solaris, but in Linux the dynamic loader is unable to link the proper symbols.
Commenting the local: *; works fine in Linux. We tried using nm and readelf command to find the list of symbols, but could not locate the problem area.
Now can anyone help me out in the following things :
1. How to locate the problem symbol(s) for which commenting the local: *; tag works ?
2. Is there any difference in specifying the version-script in Linux and Solaris ?
I am using following OS and GCC version:
Platform: Red Hat Linux 8.0 3.2-7 with GLIBC 2.3.2
GCC: 3.2 |