it clearly states that it can't find the library. and i assume you are using a i386 system and not amd64.
that's why you need to alter the install tutorial for your environment.
i've once had this problem on a server.
Quote:
./configure --with-mysql-lib=/usr/lib/i386-linux-gnu/
|
try with this..
or better.. navigate to your /usr/lib/ directory and see if you have that there.
its pretty basic.