There is code in ldconfig that checks to see if a shared library is named
either ``lib*'' or ``ld-*'' before ldconfig -l will work on it. gawk uses this
feature of ldconfig to make /lib/rcscripts/filefuncs.so, so the build fails.
struct stat statbuf;
char buff[4096];
- /* see if name is of the form libZ.so* */
- if ((strncmp(name, "lib", 3) == 0 || strncmp(name, "ld-", 3) == 0) && \
- name[strlen(name)-1] != '~' && (cp = strstr(name, ".so")))
+ /* see if name is of the form *.so* */
+ if (name[strlen(name)-1] != '~' && (cp = strstr(name, ".so")))
{
/* find the start of the Vminor part, if any */
if (cp[3] == '.' && (cp2 = strchr(cp + 4, '.')))