List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:September 2 1999 8:19pm
Subject:Re: MySQL-devel-3.23.2-alpha-1.i386.rpm / failed dependencies
View as plain text  
>>>>> "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++)

Fix:

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
-lXext

This assumes that the file:

/usr/local/mysql++-1.1/sqlplusint/libmysql++.a exists!

If not, correct change:

-L/usr/local/mysql++-1.1/sqlplusint/

to point at the right place.

Regards,
Monty



Thread
MySQL-devel-3.23.2-alpha-1.i386.rpm / failed dependencieshenk1 Sep
  • MySQL-devel-3.23.2-alpha-1.i386.rpm / failed dependenciessinisa1 Sep
Re: MySQL-devel-3.23.2-alpha-1.i386.rpm / failed dependencieshenk2 Sep
  • Re: MySQL-devel-3.23.2-alpha-1.i386.rpm / failed dependencies(ATS)2 Sep
  • Re: MySQL-devel-3.23.2-alpha-1.i386.rpm / failed dependenciesMichael Widenius3 Sep
    • Re: MySQL-devel-3.23.2-alpha-1.i386.rpm / failed dependencieshenk3 Sep