Porting SAMBA 4.9 on HP-UX 11iv3 - unsatisfied symbol "open_memstream"

Jeremy Allison jra at samba.org
Tue Aug 28 16:27:49 UTC 2018

On Tue, Aug 28, 2018 at 01:48:37PM +0000, Madhappan, Silambarasan via samba-technical wrote:
> Hi Team,
> We are officially porting SAMBA 4.9 on HP-UX 11iv3 and while building we are getting the below linking error,
> ld: (Warning) Unsatisfied symbol "open_memstream"
> We have confirmed that "open_memstream"  API is not available on HP-UX.
> "open_memstream" API is included in samba code base as mentioned in below link.
> [PATCH] Add winbind request profiling<https://lists.samba.org/archive/samba-technical/2018-June/128529.html>
> Please suggest workaround for this.

Here is a standalone implementation of open_memstream
you can use:


Let us know if this works for you !

More information about the samba-technical mailing list