Re: Netscape buggy, kernel OK - some test results

Alessandro Suardi (asuardi@uninetcom.it)
Sun, 24 Jan 1999 22:43:22 +0100


Rafael Reilova wrote:
>
[snip]
> to also download with less stalling (esp. connections to MS-IIS). In case
> anyone is using the libc5 version of netscape make sure to change the line
> below:
>
> {
> int i;
>
> - dlhdl = dlopen("/lib/libc.so.6", RTLD_NOW);
> + dlhdl = dlopen("/lib/libc.so.5", RTLD_NOW);
>
> if (! dlhdl)
> exit(99);
>
>
> and also to link against libdl.so.1, use
>
> ld -shared -o libnspipepatch.so /lib/libdl.so.1 nspipepatch.o
>
> Otherwise, you'll get an instant segfault :-0
>

Just to add that my 5.2 RedHat once-4.1 has libc.so.6 but libdl.so points
to libdl.so.1.9.x, so you'll have to link the patch explicitly against
/lib/libdl.so.2.

--alessandro <asuardi@uninetcom.it> <asuardi@it.oracle.com>

Linux 2.0.36/2.2.0-final glibc-2.0.7-29 gcc-2.8.1 binutils-2.9.1.0.19a

"I hate bugs which disappear just as soon as you start trying to
narrow things down." -- Stephen Tweedie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/