At 03:35 AM 1/17/01 -0800, you wrote: >Trying to compile libauth so that only locally listed users >(I.E: system users) can access the news service. It is suggested >that one runs the libauth.sh which compiles libauth.c and outputs >libauth.so, this is the output from from compile session. > > ># ./libauth.sh >Text relocation remains referenced > against symbol offset in file ><unknown> 0xa /var/tmp/cctY7pi7.o ><unknown> 0x1e /var/tmp/cctY7pi7.o ><unknown> 0x3c /var/tmp/cctY7pi7.o ><unknown> 0x60 /var/tmp/cctY7pi7.o ><unknown> 0x78 /var/tmp/cctY7pi7.o >strcpy 0x13 /var/tmp/cctY7pi7.o >strcmp 0x27 /var/tmp/cctY7pi7.o >strcmp 0x45 /var/tmp/cctY7pi7.o >strncpy 0x69 /var/tmp/cctY7pi7.o >strncpy 0x81 /var/tmp/cctY7pi7.o >ld: fatal: relocations remain against allocatable but non-writable sections >collect2: ld returned 1 exit status >cp: cannot access libauth.so ># id >uid=0(root) gid=1(other) > >run as root gcc is good, it's compiled apache/modssl/openssl and >mysql (thats a feat and half for solaris x86 i can tell you) >on this box. > >Does anyone have any clues ? > >Thanks In Advance for all those who even think about replying. Try adding -lc to the command that builds the library. The other option is to use the external module which doesn't require linking, see http://netwinsite.com/dnews/access.htm#pass_external ChrisP.
