Originally posted by: dimir
I cannot link anything statically on this machine:
$ cat conftest.c && echo compiling...; gcc conftest.c -static -o conftest
int main() { return 0; }
compiling...
ld: 0706-003 Cannot find or read import file: /lib/syscalls.exp
ld:accessx(): No such file or directory
collect2: ld returned 255 exit status
I read from one resource that I'm missing bos.adt.syscalls package which contains syscalls.exp:
$ lslpp -l bos.adt.syscalls
lslpp: Fileset bos.adt.syscalls not installed.
Is that correct? Will installing that package enable static linking on this box?
$ oslevel -s
6100-01-01-0823
Thanks.
#AIX-Forum