Languages and Scripting
Showing results for 
Search instead for 
Do you mean 

Missing library symbol table

SOLVED
Go to Solution
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?
1 ACCEPTED SOLUTIONS
Highlighted
Esteemed Contributor Esteemed Contributor

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.
3 REPLIES
Highlighted
Esteemed Contributor Esteemed Contributor

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.
Esteemed Contributor Esteemed Contributor

Re: Missing library symbol table

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

Re: Missing library symbol table

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