Hi Guy,
hbmk2 isn't doing any transformation regarding lib prefix,
so the solution here is not to pass it via ginfo.hbp.

Brgds,
Viktor

On Sun, Apr 19, 2009 at 6:27 PM, Guy Roussin
<guy.rous...@teledetection.fr>wrote:

> Hi Viktor,
>
> I think i found an error in hbmk2 for linux
>
> $ hbmk2 t2
> hbmk: Processing configuration: /usr/bin/hbmk.cfg
> hbmk: Processing: ginfo.hbp
> Harbour 1.1.0dev (Rev. 10887)
> Copyright (c) 1999-2009, http://www.harbour-project.org/
> Compiling 't2.prg'...
> Lines 4, Functions/Procedures 1
> Generating C source output to 't2.c'... Done.
> /usr/bin/ld: cannot find -llibmysqlclient
> collect2: ld returned 1 exit status
> hbmk: Error: Running linker. 256:
> gcc t2.o hbmk_2f15xh.o   -Wl,--start-group -lharbour -lgpm -lhbmysql
> -llibmysqlclient -lhbcplr -lhbdebug -Wl,--end-group -ot2 -L/usr/lib/harbour
>
> The ld syntax must be -lmysqlclient
> and not -llibmysqlclient
>
> Thank you,
>
> --
> Guy
>
> _______________________________________________
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to