On Fri, 12 Aug 2011 20:23:50 +0000, mimocrocodil wrote:

> I am trying to link my program with libpq:
> 
> $ dmd main.d dbwork.d -ofmain -v -L-lpq

The important statement:

note: '_end' is defined in DSO
/lib64/libcom_err.so.2 so try adding it to the linker command line

so maybe: 
$ dmd main.d dbwork.d -ofmain -v -L-lpq -L-lcom_err

Reply via email to