Problems building 2.2.4 on Solaris 7

Gerald Carter jerry at samba.org
Mon May 13 08:20:02 GMT 2002


On Mon, 6 May 2002, Nicholas Brealey wrote:

> Linking shared library bin/smbwrapper.so
> ld: fatal: library -lpopt: not found
> ld: fatal: File processing errors. No output written to bin/smbwrapper.so
> *** Error code 1
> make: Fatal error: Command failed for target `bin/smbwrapper.so'
....
> 
> should be changed to:
> 
> bin/smbwrapper. at SHLIBEXT@: $(PICOBJS) bin/.dummy 
>         @echo Linking shared library $@ 
>         @$(SHLD) @LDSHFLAGS@ -o $@ $(PICOBJS) $(LDFLAGS) $(LIBS) \ 
>                 @SONAMEFLAG@`basename $@` 

Got it.

> bin/pam_smbpass. at SHLIBEXT@: $(PAM_SMBPASS_OBJ) bin/.dummy 
>         @echo Linking shared library $@ 
>         $(SHLD) @LDSHFLAGS@ -symbolic -o $@ $(PAM_SMBPASS_OBJ) $(LDFLAGS) -lpam
> $(DYNEXP) $(LIBS) -lc \ 
>                 @SONAMEFLAG@`basename $@` 
> 
> also looks wrong because the Sun linker does not have a -symbolic option.

Already fixed this one.


> Linking bin/smbpasswd
> cc: Warning: illegal option -dc
> cc: Warning: illegal option -dp
> 
> Deleting the line
> 
>                                 DYNEXP="-dc -dp" 
> from configure.in fixes the problem.

Got it.

Thanks for the heads up.



cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba-technical mailing list