Early warning: link failure on Solaris --with-smbrapper

samba-technical at thewrittenword.com samba-technical at thewrittenword.com
Thu Dec 13 10:14:03 GMT 2001

On Thu, Dec 13, 2001 at 11:54:41AM -0500, David Collier-Brown wrote:
>   After sucessfully linking with the configure fix for the
> Solaris linker (used by default even with GCC), I went on
> to --with-smbrapper, and got a linker failure:
> Linking shared library bin/smbwrapper.so
> ld: illegal option -- W
> This was on the comand:
>   ld -Wl,-h,bin/smbwrapper.so.so -G -o bin/smbwrapper.so [...]
> which is the right options for the gnu linker, of course...
> The workaround is 
>   LD=gcc make -e
> which allows the build to run to completion.

Does the following work?
  ld -h bin/smbwrapper.so.so -G -o bin/smbwrapper.so ...

Where does ".so.so" come from?

albert chin (china at thewrittenword.com)

More information about the samba-technical mailing list