[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pamldap
Subject:    [pamldap] pam_ldap build on Solaris 7
From:       "Patrick McShane" <pem () icdc ! com>
Date:       2003-08-13 23:14:38
[Download RAW message or body]

Hi,

I trying to build pam_ldap 164 under Solaris 7 and getting. the following:
We have all the latest GNU tools in /usr/local.  Sun LDAP tools were removed
and only openldap libraries/clients are used.

Could you look at the output and offer a guess as to what may be lacking in
our environment?

Can you give me the configure options that would give a us a good build of
pam_ldap on Solaris 7?

Can you recommend any Solaris 7 binaries of pam_ldap that may be available?

Thanks,
Pat

bash#> export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib
bash#> ./configure --with-ldap-lib=openldap --libdir=/usr/local/lib
checking build system type... sparc-sun-solaris2.7
checking host system type... sparc-sun-solaris2.7
checking target system type... sparc-sun-solaris2.7
checking for a BSD-compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
/home/pem/.main/sendmail/tmp/pam_ldap-164/missing: Unknown `--run' option
Try `/home/pem/.main/sendmail/tmp/pam_ldap-164/missing --help' for more
information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/local/bin/install -c
checking for egrep... egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking security/pam_misc.h usability... no
checking security/pam_misc.h presence... no
checking for security/pam_misc.h... no
checking security/pam_modules.h usability... no
checking security/pam_modules.h presence... yes
configure: WARNING: security/pam_modules.h: present but cannot be compiled
configure: WARNING: security/pam_modules.h: check for missing prerequisite
headers?
configure: WARNING: security/pam_modules.h: proceeding with the
preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for security/pam_modules.h... yes
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking pam/pam_misc.h usability... no
checking pam/pam_misc.h presence... no
checking for pam/pam_misc.h... no
checking pam/pam_modules.h usability... no
checking pam/pam_modules.h presence... no
checking for pam/pam_modules.h... no
checking des.h usability... no
checking des.h presence... no
checking for des.h... no
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking lber.h usability... yes
checking lber.h presence... yes
checking for lber.h... yes
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking ldap_ssl.h usability... no
checking ldap_ssl.h presence... no
checking for ldap_ssl.h... no
checking for main in -ldl... yes
checking for main in -lpam... yes
checking for main in -lresolv... yes
checking for main in -lcrypt... yes
checking for main in -lnsl... yes
checking for gethostbyname... yes
checking for main in -llber... yes
checking for main in -lldap... yes
checking for ldap_init... yes
checking for ldap_get_lderrno... no
checking for ldap_set_lderrno... no
checking for ldap_parse_result... yes
checking for ldap_memfree... yes
checking for ldap_controls_free... yes
checking for ldap_set_option... yes
checking for ldap_get_option... yes
checking for ldapssl_init... no
checking for ldap_start_tls_s... yes
checking for ldap_pvt_tls_set_option... no
checking for ldap_initialize... yes
checking for gethostbyname_r... yes
checking whether gethostbyname_r takes 6 arguments... 5
checking for ldap_set_rebind_proc... yes
checking whether ldap_set_rebind_proc takes 3 arguments... 2
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

bash#> make
/usr/local/bin/make  all-am
make[1]: Entering directory `/home/pem/.main/sendmail/tmp/pam_ldap-164'
if
gcc -DHAVE_CONFIG_H -I. -I. -I.   -DLDAP_REFERRALS -D_REENTRANT  -g -O2 -Wal
l -fPIC -MT pam_ldap.o -MD -MP -MF ".deps/pam_ldap.Tpo" \
  -c -o pam_ldap.o `test -f 'pam_ldap.c' || echo './'`pam_ldap.c; \
then mv ".deps/pam_ldap.Tpo" ".deps/pam_ldap.Po"; \
else rm -f ".deps/pam_ldap.Tpo"; exit 1; \
fi
if
gcc -DHAVE_CONFIG_H -I. -I. -I.   -DLDAP_REFERRALS -D_REENTRANT  -g -O2 -Wal
l -fPIC -MT md5.o -MD -MP -MF ".deps/md5.Tpo" \
  -c -o md5.o `test -f 'md5.c' || echo './'`md5.c; \
then mv ".deps/md5.Tpo" ".deps/md5.Po"; \
else rm -f ".deps/md5.Tpo"; exit 1; \
fi
/usr/ccs/bin/ld  -o pam_ldap.so   -B dynamic -M ./exports.solaris -G -B
group -lc pam_ldap.o md5.o  -lldap -llber -lnsl -lcrypt -lresolv -lpam -ldl
Undefined                       first referenced
 symbol                             in file
__eprintf                           /usr/local/lib/libldap.so
ld: fatal: Symbol referencing errors. No output written to pam_ldap.so
make[1]: *** [pam_ldap.so] Error 1
make[1]: Leaving directory `/home/pem/.main/sendmail/tmp/pam_ldap-164'
make: *** [all] Error 2

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.3790.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>Hi,<BR><BR>I 
trying to build pam_ldap 164 under Solaris 7 and getting. the following:<BR>We 
have all the latest GNU tools in /usr/local.&nbsp; Sun LDAP tools were 
removed<BR>and only openldap libraries/clients are used.<BR><BR>Could you look 
at the output and offer a guess as to what may be lacking in<BR>our 
environment?<BR><BR>Can you give me the configure options that would give a us a 
good build of<BR>pam_ldap on Solaris 7?<BR><BR>Can you recommend any Solaris 7 
binaries of pam_ldap that may be 
available?<BR><BR>Thanks,<BR>Pat<BR><BR>bash#&gt; export 
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib<BR>bash#&gt; ./configure 
--with-ldap-lib=openldap --libdir=/usr/local/lib<BR>checking build system 
type... sparc-sun-solaris2.7<BR>checking host system type... 
sparc-sun-solaris2.7<BR>checking target system type... 
sparc-sun-solaris2.7<BR>checking for a BSD-compatible install... 
/usr/local/bin/install -c<BR>checking whether build environment is sane... 
yes<BR>/home/pem/.main/sendmail/tmp/pam_ldap-164/missing: Unknown `--run' 
option<BR>Try `/home/pem/.main/sendmail/tmp/pam_ldap-164/missing --help' for 
more<BR>information<BR>configure: WARNING: `missing' script is too old or 
missing<BR>checking for gawk... gawk<BR>checking whether make sets $(MAKE)... 
yes<BR>checking for gcc... gcc<BR>checking for C compiler default output... 
a.out<BR>checking whether the C compiler works... yes<BR>checking whether we are 
cross compiling... no<BR>checking for suffix of executables...<BR>checking for 
suffix of object files... o<BR>checking whether we are using the GNU C 
compiler... yes<BR>checking whether gcc accepts -g... yes<BR>checking for gcc 
option to accept ANSI C... none needed<BR>checking for style of include used by 
make... GNU<BR>checking dependency style of gcc... gcc3<BR>checking how to run 
the C preprocessor... gcc -E<BR>checking for a BSD-compatible install... 
/usr/local/bin/install -c<BR>checking for egrep... egrep<BR>checking for ANSI C 
header files... yes<BR>checking for sys/types.h... yes<BR>checking for 
sys/stat.h... yes<BR>checking for stdlib.h... yes<BR>checking for string.h... 
yes<BR>checking for memory.h... yes<BR>checking for strings.h... yes<BR>checking 
for inttypes.h... yes<BR>checking for stdint.h... no<BR>checking for unistd.h... 
yes<BR>checking security/pam_appl.h usability... yes<BR>checking 
security/pam_appl.h presence... yes<BR>checking for security/pam_appl.h... 
yes<BR>checking security/pam_misc.h usability... no<BR>checking 
security/pam_misc.h presence... no<BR>checking for security/pam_misc.h... 
no<BR>checking security/pam_modules.h usability... no<BR>checking 
security/pam_modules.h presence... yes<BR>configure: WARNING: 
security/pam_modules.h: present but cannot be compiled<BR>configure: WARNING: 
security/pam_modules.h: check for missing prerequisite<BR>headers?<BR>configure: 
WARNING: security/pam_modules.h: proceeding with the<BR>preprocessor's 
result<BR>configure: WARNING:&nbsp;&nbsp;&nbsp;&nbsp; ## 
------------------------------------ ##<BR>configure: 
WARNING:&nbsp;&nbsp;&nbsp;&nbsp; ## Report this to </FONT><A 
href="mailto:bug-autoconf@gnu.org"><FONT face="Times New Roman" 
size=3>bug-autoconf@gnu.org</FONT></A><FONT face="Times New Roman" size=3>. 
##<BR>configure: WARNING:&nbsp;&nbsp;&nbsp;&nbsp; ## 
------------------------------------ ##<BR>checking for 
security/pam_modules.h... yes<BR>checking pam/pam_appl.h usability... 
no<BR>checking pam/pam_appl.h presence... no<BR>checking for pam/pam_appl.h... 
no<BR>checking pam/pam_misc.h usability... no<BR>checking pam/pam_misc.h 
presence... no<BR>checking for pam/pam_misc.h... no<BR>checking 
pam/pam_modules.h usability... no<BR>checking pam/pam_modules.h presence... 
no<BR>checking for pam/pam_modules.h... no<BR>checking des.h usability... 
no<BR>checking des.h presence... no<BR>checking for des.h... no<BR>checking 
crypt.h usability... yes<BR>checking crypt.h presence... yes<BR>checking for 
crypt.h... yes<BR>checking lber.h usability... yes<BR>checking lber.h 
presence... yes<BR>checking for lber.h... yes<BR>checking ldap.h usability... 
yes<BR>checking ldap.h presence... yes<BR>checking for ldap.h... yes<BR>checking 
ldap_ssl.h usability... no<BR>checking ldap_ssl.h presence... no<BR>checking for 
ldap_ssl.h... no<BR>checking for main in -ldl... yes<BR>checking for main in 
-lpam... yes<BR>checking for main in -lresolv... yes<BR>checking for main in 
-lcrypt... yes<BR>checking for main in -lnsl... yes<BR>checking for 
gethostbyname... yes<BR>checking for main in -llber... yes<BR>checking for main 
in -lldap... yes<BR>checking for ldap_init... yes<BR>checking for 
ldap_get_lderrno... no<BR>checking for ldap_set_lderrno... no<BR>checking for 
ldap_parse_result... yes<BR>checking for ldap_memfree... yes<BR>checking for 
ldap_controls_free... yes<BR>checking for ldap_set_option... yes<BR>checking for 
ldap_get_option... yes<BR>checking for ldapssl_init... no<BR>checking for 
ldap_start_tls_s... yes<BR>checking for ldap_pvt_tls_set_option... 
no<BR>checking for ldap_initialize... yes<BR>checking for gethostbyname_r... 
yes<BR>checking whether gethostbyname_r takes 6 arguments... 5<BR>checking for 
ldap_set_rebind_proc... yes<BR>checking whether ldap_set_rebind_proc takes 3 
arguments... 2<BR>configure: creating ./config.status<BR>config.status: creating 
Makefile<BR>config.status: creating config.h<BR>config.status: config.h is 
unchanged<BR>config.status: executing depfiles commands<BR><BR>bash#&gt; 
make<BR>/usr/local/bin/make&nbsp; all-am<BR>make[1]: Entering directory 
`/home/pem/.main/sendmail/tmp/pam_ldap-164'<BR>if<BR>gcc -DHAVE_CONFIG_H -I. -I. 
-I.&nbsp;&nbsp; -DLDAP_REFERRALS -D_REENTRANT&nbsp; -g -O2 -Wal<BR>l -fPIC -MT 
pam_ldap.o -MD -MP -MF ".deps/pam_ldap.Tpo" \<BR>&nbsp; -c -o pam_ldap.o `test 
-f 'pam_ldap.c' || echo './'`pam_ldap.c; \<BR>then mv ".deps/pam_ldap.Tpo" 
".deps/pam_ldap.Po"; \<BR>else rm -f ".deps/pam_ldap.Tpo"; exit 1; 
\<BR>fi<BR>if<BR>gcc -DHAVE_CONFIG_H -I. -I. -I.&nbsp;&nbsp; -DLDAP_REFERRALS 
-D_REENTRANT&nbsp; -g -O2 -Wal<BR>l -fPIC -MT md5.o -MD -MP -MF ".deps/md5.Tpo" 
\<BR>&nbsp; -c -o md5.o `test -f 'md5.c' || echo './'`md5.c; \<BR>then mv 
".deps/md5.Tpo" ".deps/md5.Po"; \<BR>else rm -f ".deps/md5.Tpo"; exit 1; 
\<BR>fi<BR>/usr/ccs/bin/ld&nbsp; -o pam_ldap.so&nbsp;&nbsp; -B dynamic -M 
./exports.solaris -G -B<BR>group -lc pam_ldap.o md5.o&nbsp; -lldap -llber -lnsl 
-lcrypt -lresolv -lpam 
-ldl<BR>Undefined&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 first 
referenced<BR>&nbsp;symbol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 in 
file<BR>__eprintf&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb \
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
                
/usr/local/lib/libldap.so<BR>ld: fatal: Symbol referencing errors. No output 
written to pam_ldap.so<BR>make[1]: *** [pam_ldap.so] Error 1<BR>make[1]: Leaving 
directory `/home/pem/.main/sendmail/tmp/pam_ldap-164'<BR>make: *** [all] Error 
2</FONT><BR></FONT></DIV></BODY></HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic