J. L. Schilling
2003-12-09 19:26:57 UTC
I am porting a product to UnixWare 7.1.1 by re-compiling the source
code in C++ (already have a few ported to other Unix platforms). There is
always the following link error while I am compiling C++ code, I give the
[...]
vbroker1[35]%CC -O vbase1.C -Kthread
UX:ld: ERROR: /usr/ccs/lib/libc.so(libc.so.1): fatal error: symbol
size = 0; /usr/ccs/lib/libc.so(libc.so.1): size = 6260
This looks like your libc and libthread system libraries are mismatched.code in C++ (already have a few ported to other Unix platforms). There is
always the following link error while I am compiling C++ code, I give the
[...]
vbroker1[35]%CC -O vbase1.C -Kthread
UX:ld: ERROR: /usr/ccs/lib/libc.so(libc.so.1): fatal error: symbol
size = 0; /usr/ccs/lib/libc.so(libc.so.1): size = 6260
In particular, it looks like you have the original UW 7.1.1 libc, but
that you have loaded a more recent libthread onto the system. The
definition of __arglist was changed over time in both libraries, and
at this point both need to be weak (your libc one isn't).
Do "grep libc.so.1 [and libthread.so.1] /var/sadm/install/contents" to
find out what packages these libraries come from, then do "pkginfo -l"
on both of those packages, and post the results. Then we can see
what's going on.
Jonathan Schilling