[2067] in Kerberos_V5_Development
Krb5-1.0 AIX 4.1.4 make with shared fails
daemon@ATHENA.MIT.EDU (deengert@anl.gov)
Tue Dec 3 14:42:56 1996
Date: Tue, 3 Dec 1996 13:42:06 -0600
To: krb5-bugs@MIT.EDU
From: deengert@anl.gov
Reply-To: deengert@anl.gov
Cc: krbdev@MIT.EDU
>Submitter-Id: net
>Originator:
>Organization:
Douglas E. Engert <DEEngert@anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444 <New Area Code 8/3/96>
PGP Key fingerprint = 20 2B 0C 78 43 8A 9C A6 29 F7 A3 6D 5E 30 A6 7F
>Confidential:
>Synopsis:
>Severity: serious
>Priority:
>Category: krb5-build
>Class:
>Release: 1.0
>Environment: AIX 4.1.4 gcc 2.7.2
System: AIX pembroke 1 4 000300234600
>Description:
Make of util/profile/test_parse fails with collect2: libcom_err.a: library not found
>How-To-Repeat:
Using config options of --enable-shared
the et/libcom_err.a is built as a shared library:
echo error_message.o et_name.o init_et.o com_err.o >DONE
./../../util/makeshlib libcom_err.a \
"-L./../../lib" \
"" " " "1.0" .
rm libcom_err.a
ar cq libcom_err.a ./error_message.o ./et_name.o ./init_et.o ./com_err.o
/bin/ld -o shr.o.1.0 libcom_err.a -H512 -T512 -bM:SRE -bgcbypass:1 -bnodelcsect -bE:libcom_err.a.syms -L./../../lib -lc
ld: 0711-327 WARNING: Entry point not found: __start
rm -f ../../lib/libcom_err.a.1.0
ln -s ../util/et/libcom_err.a ../../lib/libcom_err.a.1.0
rm -f ./../../lib/libcom_err.a
ln -s libcom_err.a.1.0 ./../../lib/libcom_err.a
make[2]: Leaving directory `/afs/anl.gov/appl/krb5-1.0ea/build/rs_aix41/util/et'
Later in the make:
gcc -o test_parse test_parse.o prof_tree.o prof_file.o prof_parse.o prof_err.o prof_init.o ../et/libcom_err.a
collect2: libcom_err.a: library not found
make[2]: *** [test_parse] Error 1
An ls -l of ../et/libcom_err.a shows it is present. I tried playing
with the mod bits, and this did not help.
>Fix: