Operating System - HP-UX
1748256 Members
3873 Online
108760 Solutions
New Discussion юеВ

Missing symbol library :libtux.a in HP UX 11

 
Chandrasekaran
New Member

Missing symbol library :libtux.a in HP UX 11

We are upgrading our HP UX 10.20 to HP UX 11.0 and we face some issues compiling our C code. We use tuxedo 8.0 for HP UX 11.0 whereas we were using tuxedo 6.3 on HP UX 10.20. The code works fine in HP 10.20 with tuxedo 6.3 but we have this common problem while nmake-ing of all the code in HP UX 11.0. We encounter a problem
of
/tools/tuxedo8.0/libtux.a : Missing symbol library.

Can someone enlighten what could be the possible reasons for this ?
I tried explicitly including the libtux.a in my .info file and tried nmake-ing but this time
it said "unexpected end of the file: libtux.a" . :-(

Thanks in advanc
nothing is impossible
8 REPLIES 8
Hai Nguyen_1
Honored Contributor

Re: Missing symbol library :libtux.a in HP UX 11

Are you compling a static executable? What is your missing symbol? Normally it should be displayed. Try setting the environment variable SHLIB_PATH to include /tools/tuxedo8.0 and recompile.

Hai
Chandrasekaran
New Member

Re: Missing symbol library :libtux.a in HP UX 11

This is the error message I got. And I have checked the SHLIB_PATH and LD_LIBRARY_PATH and all those seem to be good as you said.

/usr/ccs/bin/ld: /tools/tuxedo8.0/lib/libtux.a: Missing library symbol table
CMDTUX_CAT:512: ERROR: Cannot execute C compiler cc -Ae -Wl,-a,archive_shared -Wl,-E -Wl,+n -l:libdld.sl -O -D_XPG2 -DONSCORE_H -DEXEC_H -DDEBUGX -t p,/usr/lib/cpp -I-D/tools/nmake3.1.2/lib/probe/C/pp/3C61064Chbincc -I$TUXDIR/include -o /appdev/on100d/develop/bin/ONSCORE -L${TUXDIR}/lib +DA1.1 -Wl,+s -D__BIGMSGQUEUE_ENABLED
nothing is impossible
Shannon Petry
Honored Contributor

Re: Missing symbol library :libtux.a in HP UX 11

By the looks of the error "unexpected end of file: libtux.a" this means the library file is corrupt.
This could be from install media being bad, out of system space, or someone/something oops on the file.

Other reasons for the failure to have missing symbols is that the lib changed it's calls so what you are calling is no longer valid.

From the error though, re-install or re-make tuxedo and ensure that it is a valid library.

Regards,
Shannon
Microsoft. When do you want a virus today?
Hai Nguyen_1
Honored Contributor

Re: Missing symbol library :libtux.a in HP UX 11

Your $TUXDIR is visible in your env? Make sure all necessary TUX env vars are set and exported.

Another option is to get support from BEA.

Hai
Chandrasekaran
New Member

Re: Missing symbol library :libtux.a in HP UX 11

does the compatible linker versions of HP UX 10.20 and HP UX 11.0 different ?
I guess the problem here might be that the linker version is wrong.
nothing is impossible
H.Merijn Brand (procura
Honored Contributor

Re: Missing symbol library :libtux.a in HP UX 11

A shot in the dark: GNU gcc vs. HP C-ANSI C?

IOW: Are the objects/libraries generated with the same type of C compiler?
Enjoy, Have FUN! H.Merijn
Chandrasekaran
New Member

Re: Missing symbol library :libtux.a in HP UX 11

Yeah. In both cases the compilers were same.
And, I did a chatr for /usr/lib/dld.sl and got the following warning message

chatr(warning): dl_header_ext.size != sizeof(dl_header_ext). Please update your version of the linker.

this could be the problem ?????
nothing is impossible
Chandrasekaran
New Member

Re: Missing symbol library :libtux.a in HP UX 11

How do you find out the HP-UX linker version that is installed in a HP UX 11.0 ? and what is the proper / latest version that is to be used for HP UX 11.0 ?
nothing is impossible