undefined reference to symbol '_end'

Jesse Phillips jessekphillips+d at gmail.com
Fri Aug 12 18:06:24 PDT 2011


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


More information about the Digitalmars-d-learn mailing list