Hi Paul, > You can check as follows: > > # /usr/ccs/bin/nm /usr/lib/libc.so.1 |grep asprintf > > If the symbol is there it will show up in the output. Otherwise you are > downrev on patches. bash-3.00# /usr/ccs/bin/nm /usr/lib/libc.so.1 |grep asprintf bash-3.00# After execution, there's no output. On Thu, Apr 19, 2012 at 10:50 AM, Paul Wernau <paul.wernau at oracle.com> wrote: > On 04/18/12 10:35 PM, chua wei yang wrote: >> >> Hi David, >> >> Sorry for the late response, I just reached my office, and I really >> appreciate your swift assistance. >> >>>> If you run 'man asprintf' on Solaris 10, what happens? >> >> man asprintf >> No manual entry for asprintf. >> >>>> Perhaps it was added in an update, and your system is out of date? >> >> Possible, never heard/know of any update done on this machine; it was >> setup/maintained by another guy and he's left. >> > > It wasn't added until Solaris 10 update 10 (or the equivalent kernel jumbo > patch, which would also update libc), so you would really need to upgrade or > install the latest Solaris 10 recommended patch cluster to get this > functionality. ?It is fairly recent, from 2011. > > You can check as follows: > > # /usr/ccs/bin/nm /usr/lib/libc.so.1 |grep asprintf > > If the symbol is there it will show up in the output. ?Otherwise you are > downrev on patches. > > Thanks, > -Paul