Operating System - Linux
1748070 Members
5429 Online
108758 Solutions
New Discussion юеВ

Re: Missing library symbol table

 
SOLVED
Go to solution
Wayne Johnson_3
Occasional Contributor

Missing library symbol table

I've just switched from the gcc compiler to the ansic C compiler. I am getting the error:

ld: Missing library symbol table in ../lib_native64/archive/libmqsutil.a
Fatal error.

From what I can see with nm, the archive is valid. All the compiles work fine. I'm creating both +DAportable and +DD64 versions of each module, keeping them seperate in different object directories and archives of course. The +DAportable archive works fine but the 64 bit fails.

Any ideas what would cause this?
3 REPLIES 3
ranganath ramachandra
Esteemed Contributor
Solution

Re: Missing library symbol table

there is a problem with archive libraries built with the GNU ar, rather than the hpux ar (/usr/ccs/bin/ar). perhaps you could rebuild that archive library and try lining again.
 
--
ranga
[i work for hpe]

Accept or Kudo

Vibhor Kumar Agarwal
Esteemed Contributor

Re: Missing library symbol table

Have you run strip on that library.
Vibhor Kumar Agarwal
Wayne Johnson_3
Occasional Contributor

Re: Missing library symbol table

I was using the gcc ar command. Thanks for the answer.