CoSign: Collaborative Single Sign-On  

cosign-discuss at
general discussion of cosign development and deployment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoSign 1.8.0 Compile Problem

Not being a Solaris user, but Google being my friend:

I'd guess the problem is that openssl (or some other lib) is statically linked?


On 22 Mar 2005, at 08:34, Wallace, Brian S. wrote:
I'm trying to compile CoSign 1.8.0 on a SPARC Solaris 9 system with
Apache 2.0.53/OpenSSL 0.9.7e. and GCC 3.4.2.  The configure command

./configure --enable-apache2=/usr/local/apache-2.0.53/bin/apxs

The "make everything" command gives the following error:

make[1]: Entering directory
/usr/local/apache-2.0.53/bin/apxs -c mod_cosign.o connect.o cookiefs.o
sparse.o ../../common/argcargv.o ../../common/fbase64.o
../../common/mkcookie.o ../../common/rate.o ../../version.o
-L../../libsnet/     -L/usr/local/ssl/lib -lsnet
/usr/local/apache-2.0.53/build/libtool --silent --mode=link gcc -o  -rpath /usr/local/apache-2.0.53/modules -module
-avoid-version    mod_cosign.o connect.o cookiefs.o sparse.o
../../common/argcargv.o ../../common/fbase64.o ../../common/mkcookie.o
../../common/rate.o ../../version.o -L../../libsnet/
-L/usr/local/ssl/lib -lsnet

*** Warning: Linking the shared library against the
*** objects  mod_cosign.o connect.o cookiefs.o sparse.o
../../common/argcargv.o ../../common/fbase64.o ../../common/mkcookie.o
../../common/rate.o ../../version.o is not portable!
Text relocation remains                         referenced
    against symbol                  offset      in file
<unknown>                           0xcdc
SSL_set_fd                          0x298
read                                0x1084
ld: fatal: relocations remain against allocatable but non-writable
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
make[1]: *** [] Error 1
make[1]: Leaving directory
make: *** [filters/apache2] Error 2

I have removed the rather long function list in the middle. The problem
appears to be with the apxs command. Any ideas?

Copyright © 2002 - 2004 Regents of the University of Michigan :  Page last updated 15-December-2010