$ nm /usr/local/apache/bin/httpd | grep alloc
[403] | 0| 0|FILE |LOCL |0 |ABS |alloc.c [406] | 518516| 4|OBJT |LOCL |0 |13 |alloc_mutex [1675] | 156472| 8|FUNC |GLOB |0 |10 |ap_cleanup_alloc [1332] | 156420| 52|FUNC |GLOB |0 |10 |ap_init_alloc [1118] | 156772| 120|FUNC |GLOB |0 |10 |ap_palloc [1401] | 156892| 40|FUNC |GLOB |0 |10 |ap_pcalloc [1495] | 545572| 128|FUNC |GLOB |0 |UNDEF |calloc@@SYSVABI_1.3 [1562] | 545728| 60|FUNC |GLOB |0 |UNDEF |malloc@@SYSVABI_1.3 [408] | 155944| 84|FUNC |LOCL |0 |10 |malloc_block [1556] | 545704| 992|FUNC |GLOB |0 |UNDEF |realloc@@SYSVABI_1.3
Other information about the build machine:
# cat /etc/release Solaris 9 8/03 s9s_u4wos_08a SPARC
Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 13 June 2003
Recommended and Security Patch Cluster from 18 Nov 2003
$ nm /tmp/apache/bin/httpd | grep alloc [397] | 0| 0|FILE |LOCL |0 |ABS |alloc.c [402] | 540840| 4|OBJT |LOCL |0 |16 |alloc_mutex [1487] | 176780| 8|FUNC |GLOB |0 |9 |ap_cleanup_alloc [1296] | 176728| 52|FUNC |GLOB |0 |9 |ap_init_alloc [1137] | 177080| 120|FUNC |GLOB |0 |9 |ap_palloc [1236] | 177200| 40|FUNC |GLOB |0 |9 |ap_pcalloc [1149] | 538188| 0|FUNC |GLOB |0 |UNDEF |calloc [1556] | 536940| 0|FUNC |GLOB |0 |UNDEF |malloc [417] | 176252| 84|FUNC |LOCL |0 |9 |malloc_block [1181] | 538164| 0|FUNC |GLOB |0 |UNDEF |realloc
Your libc references have that SYSVABI_1.3 tag, which mine done. My Solaris 9 is a bit older. I have no idea what the problem is.
$ cat /etc/release Solaris 9 12/02 s9s_u2wos_10a SPARC Copyright 2002 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 02 December 2002
What about this?
$ nm /tmp/apache/libexec/mod_mime_magic.so | grep alloc [126] | 0| 0|NOTY |GLOB |0 |UNDEF |ap_palloc [112] | 0| 0|NOTY |GLOB |0 |UNDEF |ap_pcalloc $ which nm /usr/ccs/bin/nm $ which ar /usr/ccs/bin/ar