From: Warren Young Date: November 10 2004 1:05pm Subject: Re: Can't run examples by themselves List-Archive: http://lists.mysql.com/plusplus/3622 Message-Id: <41921235.6070706@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Chris Frey wrote: > > g++ -I/usr/include/mysql -I/usr/include/mysql++ -o simple simple1.cc Since you're compiling straight to an executable, you also need to link to libmysqlclient and libmysqlpp.