Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

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
Highlighted
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.
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.