What happens if you just try:   hbmk2 -lhbmysql test.prg

On Thu, Mar 4, 2010 at 6:16 PM, Bruno Luciani <bruno.luci...@gmail.com>wrote:

> This is hbmysql.hbc , hbmysql.a it is correct exist
>
> but whic library is mysql  ???
>
> What I am doing wrong ?
>
> Bruno
>
>
> #
> # $Id: hbmysql.hbc 13881 2010-02-15 22:48:29Z vszakats $
> #
>
> incpaths=.
>
> libs=hbmysql
> {unix}libs=mysql
> {!unix}libs=libmysql
>
>
> //////////////////////////////////
> ERROR/////////////////////////////////////////////////////////
>
> br...@notebook:~/harbour-project/harbour/contrib/hbmysql/tests$ hbmk2 test
> hbmk2: Processing local make script: hbmk.hbm
> hbmk2: Processing configuration: /usr/local/bin/hbmk.cfg
> Harbour 2.1.0dev (Rev. 14025)
> Copyright (c) 1999-2010, http://www.harbour-project.org/
> Compiling 'test.prg'...
> Lines 205, Functions/Procedures 1
> Generating C source output to '/tmp/test.c'... Done.
> /usr/bin/ld: cannot find -lmysql
> collect2: ld returned 1 exit status
> hbmk2: Error: Running linker. 1
> gcc /tmp/test.o /tmp/hbmk_tfjuah.o   -Wl,--start-group -lhbmysql -lmysql
> -lhbcplr -lhbdebug -lgpm -lharbour  -Wl,--end-group -otest
> -L/usr/local/lib/harbour
> br...@notebook:~/harbour-project/harbour/contrib/hbmysql/tests$ hbmk2 test
>
>
>
>
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
>


-- 
smu johnson <smujohn...@gmail.com>
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to