ld-2.3.2.so libc-2.3.2.so : first available symbol used even if it is we
From:
Sunil Kuravinakop
Subject:
ld-2.3.2.so libc-2.3.2.so : first available symbol used even if it is weak.
Date:
Thu, 7 Aug 2003 16:23:40 -0700
Hello,
I
define wrappers for some functions in std libraries like libdl.so. These
wrapped functions are defined weak. After updating to libc-2.3.2.so package
I find that the first available symbol is picked up instead of searching
for a strong symbol. The dynamic linker was updated to ld-2.2.93.so as
part of the glibc package.
e.g.
File j.c:
#include <stdio.h>
#pragma weak dlopen
void *dlopen(const char *filename, int
flag) {