[Samba] Problem compiling pam_winbind.so on Solaris (samba-3.0.23rc3)

Masopust, Christian christian.masopust at siemens.com
Thu Jul 6 07:28:42 GMT 2006


with the supplied Makefile(.in) I'm not able to make pam_winbind.so
on Solaris (8 and 9).

So i had a look at the Makefile and found out that there seem's to
be some things missing....  :-))

> bin/pam_winbind. at SHLIBEXT@: $(PAM_WINBIND_OBJ:.o=. at PICSUFFIX@) bin/.dummy
>         @echo "Linking shared library $@"
>         @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_PICOBJ) \
>                 @SONAMEFLAG@`basename $@` -lpam @INIPARSERLIBS@

PAM_WINBIND_PICOBJ are not defined in Makefile.in !!

what I did to solve this:

bash-2.03# diff samba-3.0.23rc3-orig/source/Makefile.in samba-3.0.23rc3/source/Makefile.in
1219c1219
<       @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_PICOBJ) \
---
>       @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ:.o=. at PICSUFFIX@) \


now I'm able to compile (ok... to link) pam_winbind.so

Christian

___________________________________________________________ 

	Christian Masopust                                                   

	SIEMENS AG  PSE SMC CI E CM  
	Tel:   +43 (0) 5 1707 26866 
	E-mail: christian.masopust at siemens.com 
	Addr: Austria, 1210 Vienna, Siemensstraße 90-92, B. 34, Rm. 3057 
	Mailcode:  
	___________________________________________________________ 



More information about the samba mailing list