Running afsd on AIX

Ben Huntsman <[email protected]>
Newsgroups gmane.comp.file-systems.openafs.devel
Message-ID <MWHPR0701MB36749E06BD652BCB1CA2DEBEA7689@MWHPR0701MB3674.namprd07.prod.outlook.com>
Hi guys-
   Changing the subject to keep topics making sense...

   Ok, I built using the prefix /opt/openafs.  Everything is in there.  There are some issues:

1. On AIX, the install stripped the execute flags from /opt/openafs/lib/openafs/cfgafs64 and cfgexport64

   I added it back and the export and afs kernel module loaded!

2. Running afsd fails:

bash-4.2# /opt/openafs/sbin/afsd -stat 300 -dcache 100 -daemons 2 -volumes 50
exec(): 0509-036 Cannot load program /opt/openafs/sbin/afsd because of the following errors:
        0509-150   Dependent module /opt/openafs/lib/librokenafs.a(librokenafs.so.2) could not be loaded.
        0509-152   Member librokenafs.so.2 is not found in archive


Something seems to be messed up with the linking:


bash-4.2# dump -H /opt/openafs/sbin/afsd

/opt/openafs/sbin/afsd:

                        ***Loader Section***
                      Loader Header Information
VERSION#         #SYMtableENT     #RELOCent        LENidSTR
0x00000001       0x00000043       0x000000a4       0x000002b9

#IMPfilID        OFFidSTR         LENstrTBL        OFFstrTBL
0x0000000b       0x00000e18       0x000001b4       0x000010d1


                        ***Import File Strings***
INDEX  PATH                          BASE                MEMBER
0      /project/openafs/src/auth/.libs:/project/openafs/src/audit/.libs:/project/openafs/src/rxkad/.libs:/project/openafs/src/crypto/rfc3961/.libs:/project/openafs/src/util/.libs:/project/openafs/src/sys/.libs:/project/openafs/src/cmd/.libs:/project/openafs/src/comerr/.libs:/project/openafs/src/rx/.libs:/project/openafs/src/opr/.libs:/opt/openafs/lib:/opt/IBM/xlmass/8.1.3/lib/aix61:/opt/IBM/xlc/13.1.3/lib:/usr/lib:/lib
1                                    libc.a              shr.o
2                                    libpthread.a        shr_xpg5.o
3                                    liboafs_opr.a       liboafs_opr.so.0
4                                    liboafs_util.a      liboafs_util.so.0
5                                    liboafs_cmd.a       liboafs_cmd.so.0
6                                    liboafs_sys.a       liboafs_sys.so.0
7                                    liboafs_auth.a      liboafs_auth.so.0
8                                    librokenafs.a       librokenafs.so.2
9                                    libafshcrypto.a     libafshcrypto.so.2
10     /                             unix


Is this libtool's doing?

Thanks!

-Ben
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.