I've been using mod_auth_kerb, but I would like to give mod_spnego a try. Please excuse me if this is a basic question, but I get the following errors when running make.
I have set the OPENSSLDIR environment variable. I am using gnu make 3.8, openssl 0.9.7d and CPAN perl 5.8.3. OS is SunOS 5.8.
On a second look it seems all the errors are from your libcrypto openssl library not from fbopenssl. Could you check if your openssl installation works OK ?
Markus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I will take a look. I have compiled other apps with the current OpenSSL installation that are working, but you never know. It will take me a couple of days to get back to you.
Thanks.
Charles
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Greetings,
I've been using mod_auth_kerb, but I would like to give mod_spnego a try. Please excuse me if this is a basic question, but I get the following errors when running make.
I have set the OPENSSLDIR environment variable. I am using gnu make 3.8, openssl 0.9.7d and CPAN perl 5.8.3. OS is SunOS 5.8.
Many thanks.
Charles
/tmp/fbopenssl> make CFG=debug
if [ ! -d SunOS-debug ]; then mkdir SunOS-debug; fi
gcc -c -ansi -fPIC -g -O0 src/asn1/asn1help.c -I/local/usr/local/openssl/include -o SunOS-debug/asn1help.o
gcc -c -ansi -fPIC -g -O0 src/file/filehelp.c -o SunOS-debug/filehelp.o
gcc -c -ansi -fPIC -g -O0 src/gssapi/gssapi.c -I/local/usr/local/openssl/include -o SunOS-debug/gssapi.o
gcc -c -ansi -fPIC -g -O0 src/krb5/krb5help.c -I/local/usr/local/openssl/include -o SunOS-debug/krb5help.o
gcc -c -ansi -fPIC -g -O0 src/spnego/spnego.c -I/local/usr/local/openssl/include -o SunOS-debug/spnego.o
gcc -c -ansi -fPIC -g -O0 src/spnego/spnego.c -I/local/usr/local/openssl/include -o SunOS-debug/spnego.o
gcc -c -ansi -fPIC -g -O0 src/spnego/spnegohelp.c -I/local/usr/local/openssl/include -o SunOS-debug/spnegohelp.o
ar -r SunOS-debug/libfbopenssl.a SunOS-debug/asn1help.o SunOS-debug/filehelp.o SunOS-debug/gssapi.o SunOS-debug/krb5help.o SunOS-debug/spnego.o
SunOS-debug/spnegohelp.o
ar: creating SunOS-debug/libfbopenssl.a
gcc -shared -o SunOS-debug/libfbopenssl.so SunOS-debug/asn1help.o SunOS-debug/filehelp.o SunOS-debug/gssapi.o SunOS-debug/krb5help.o SunOS-debu
g/spnego.o SunOS-debug/spnegohelp.o -Wl,-R/lib -L/lib -lcrypto
Text relocation remains referenced
against symbol offset in file
<unknown> 0x158 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(tasn_new.o)
<unknown> 0x15c /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(tasn_new.o)
<unknown> 0x160 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(tasn_new.o)
<unknown> 0x164 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(tasn_new.o)
<unknown> 0x168 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(tasn_new.o)
<unknown> 0x16c /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(tasn_new.o)
<unknown> 0x654 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(tasn_new.o)
<unknown> 0x658 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(tasn_new.o)
<unknown> 0x65c /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(tasn_new.o)
.
. (lots and lots of lines omitted)
.
<unknown> 0x6c8 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(bss_file.o)
<unknown> 0x6dc /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(bss_file.o)
feof 0x44 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(bss_file.o)
fgets 0x774 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(bss_file.o)
fflush 0x64 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(bss_file.o)
___errno 0x198 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(bss_file.o)
___errno 0x4f0 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(bss_file.o)
___errno 0x53c /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(bss_file.o)
___errno 0x6b8 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(bss_file.o)
ferror 0x6a4 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(bss_file.o)
<unknown> 0x4 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(lhash.o)
<unknown> 0xc /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(lhash.o)
<unknown> 0x20 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(lhash.o)
<unknown> 0x170 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(lhash.o)
<unknown> 0x174 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(lhash.o)
<unknown> 0x2dc /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(lhash.o)
<unknown> 0x2e8 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(lhash.o)
<unknown> 0x89c /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(lhash.o)
<unknown> 0x8a8 /local/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.3/../../../libcrypto.a(lhash.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
Charles,
I think I made a typing error in the fbopensll Makefile. Can you replace OPENSSLDIT with OPENSSLDIR in the
SSLLIB = -Wl,-R$(OPENSSLDIT)/lib -L$(OPENSSLDIT)/lib -lcrypto
line
Markus,
I edited the Makefile, but the results look the same.
Charles
dsm-nt-clnt2:/tmp/fbopenssl> make CFG=debug
if [ ! -d SunOS-debug ]; then mkdir SunOS-debug; fi
gcc -c -ansi -fPIC -g -O0 src/asn1/asn1help.c -I/local/usr/local/openssl/include -o SunOS-debug/asn1help.o
gcc -c -ansi -fPIC -g -O0 src/file/filehelp.c -o SunOS-debug/filehelp.o
gcc -c -ansi -fPIC -g -O0 src/gssapi/gssapi.c -I/local/usr/local/openssl/include -o SunOS-debug/gssapi.o
gcc -c -ansi -fPIC -g -O0 src/krb5/krb5help.c -I/local/usr/local/openssl/include -o SunOS-debug/krb5help.o
gcc -c -ansi -fPIC -g -O0 src/spnego/spnego.c -I/local/usr/local/openssl/include -o SunOS-debug/spnego.o
gcc -c -ansi -fPIC -g -O0 src/spnego/spnegohelp.c -I/local/usr/local/openssl/include -o SunOS-debug/spnegohelp.o
ar -r SunOS-debug/libfbopenssl.a SunOS-debug/asn1help.o SunOS-debug/filehelp.o SunOS-debug/gssapi.o SunOS-debug/krb5help.o SunOS-debug/spnego.o SunOS-debug/spnegohelp.o
ar: creating SunOS-debug/libfbopenssl.a
gcc -shared -o SunOS-debug/libfbopenssl.so SunOS-debug/asn1help.o SunOS-debug/filehelp.o SunOS-debug/gssapi.o SunOS-debug/krb5help.o SunOS-debug/spnego.o SunOS-debug/spnegohelp.o -Wl,-R/local/usr/local/openssl/lib -L/local/usr/local/openssl/lib -lcrypto
Text relocation remains referenced
against symbol offset in file
<unknown> 0x158 /local/usr/local/openssl/lib/libcrypto.a(tasn_new.o)
<unknown> 0x15c /local/usr/local/openssl/lib/libcrypto.a(tasn_new.o)
<unknown> 0x160 /local/usr/local/openssl/lib/libcrypto.a(tasn_new.o)
<unknown> 0x164 /local/usr/local/openssl/lib/libcrypto.a(tasn_new.o)
<unknown> 0x168 /local/usr/local/openssl/lib/libcrypto.a(tasn_new.o)
<unknown> 0x16c /local/usr/local/openssl/lib/libcrypto.a(tasn_new.o)
.
.
.
and so on.
Charles,
On a second look it seems all the errors are from your libcrypto openssl library not from fbopenssl. Could you check if your openssl installation works OK ?
Markus
Markus,
I will take a look. I have compiled other apps with the current OpenSSL installation that are working, but you never know. It will take me a couple of days to get back to you.
Thanks.
Charles