>>>>> "henk" == henk <henk@stripped> writes:
henk> On Thu, 02 Sep 1999, you wrote:
henk> Hi sinistra,
henk> Thank you for answering, but that what is too easy for you seems to be too big
henk> a problem for me. Obviously I allready tried to change the makefile before I
henk> asked again. After spending hours trying to find the right entry's in the
henk> makefile, I just can't get it to link.
henk> Compilation works now, but linking not.
henk> This is what I have in my makefile now.
henk> INCLUDE1 = -I./fltk -I/usr/local/mysql-3.22.25/include/
> -I/usr/local/mysql++-1.1/sqlplusint/ -I/usr/local/include/
henk> LIBS = -L/usr/local/mysql-3.22.25/lib/mysql/ -L/usr/local/lib/ -L/usr/X11R6/lib
> -L/usr/local/mysql++-1.1/sqlplusint/ -lmysqlclient -lm
> -l/usr/local/mysql++-1.1/sqlplusint/mysql++ -lfltk -lXmu -lXt -lX11 -lXext
henk> After compiling the error is:
henk> /usr/bin/ld cannot open -lmysql++: no such file or dir
henk> I tried many combinations of putting the full path or only the name of the
henk> file in LIBS (especially for -lmysql++)
Try the following:
LIBS = -L/usr/local/mysql-3.22.25/lib/mysql/ -L/usr/local/lib/ -L/usr/X11R6/lib
-L/usr/local/mysql++-1.1/sqlplusint/ -lmysqlclient -lm -lmysql++ -lfltk -lXmu -lXt -lX11
This assumes that the file:
If not, correct change:
to point at the right place.