Bug#579021: gdb fails only when not linked to libpthreads

2010-05-04 Thread Daniel Jacobowitz
On Tue, May 04, 2010 at 08:56:09PM +1000, Craig Small wrote: > On Mon, May 03, 2010 at 08:33:10AM -0400, Daniel Jacobowitz wrote: > > Does libdbi load libpthread dynamically? > Indirectly it does. > libdbi uses database-specific backends. > So, for example, libdbd-mysql.so is dlopen()ed by libdbi a

Bug#579021: gdb fails only when not linked to libpthreads

2010-05-04 Thread Craig Small
On Mon, May 03, 2010 at 08:33:10AM -0400, Daniel Jacobowitz wrote: > Does libdbi load libpthread dynamically? Indirectly it does. libdbi uses database-specific backends. So, for example, libdbd-mysql.so is dlopen()ed by libdbi and that mysql specific library is dynamically linked to libpthread. -

Bug#579021: gdb fails only when not linked to libpthreads

2010-05-03 Thread Daniel Jacobowitz
On Mon, Apr 26, 2010 at 11:19:26AM +1000, Craig Small wrote: > Hello, > I had a closer look at programs using libdbi. Most of them seem to > link to libpthread. Programs such as rrdtool and syslog-ng use it. > > So I changed my command line to build my simple test program I > sent in my initial

Bug#579021: gdb fails only when not linked to libpthreads

2010-04-25 Thread Craig Small
Hello, I had a closer look at programs using libdbi. Most of them seem to link to libpthread. Programs such as rrdtool and syslog-ng use it. So I changed my command line to build my simple test program I sent in my initial report from: gcc -o test -ldbi -ggdb test.c to: gcc -o test -ldbi