I just installed Mandrake 7.1 and came across the same problem you
described with gdb and the missing dynamic linker breakpoint function. I
took a look at the dynamic linker /lib/ld-2.1.3.so (to which
/lib/ld-linux.so.2 is a symlink) and compared it with the dynamic linker
on a Redhat 6.2 system, which also uses glibc version 2.1.3 and which
doesn't have the gdb problem.

It turns out that Mandrake shipped a stripped dynamic linker, whereas
Redhat 6.2 has one with debugging information. When I replaced the
/lib/ld-2.1.3.so file on the Mandrake with a copy of the non-stripped
Redhat version, the gdb errors disappeared.

An ld-2.1.3.so file from any distribution should work, just as long as
it hasn't been stripped. This is easier than compiling glibc-2.1.3 all
over again just for one file.

I hope this helps if you haven't already solved your problem.

- Kris

PS - Using another distro's ld-2.1.3.so might not be such a good idea.
Although almost every program works with the redhat version, the
/usr/sbin/makemap program (of sendmail) crashes with it.

This is really a bug and Mandrake should release a version of it that
hasn't been stripped.

Reply via email to