From: Wade Maxfield Date: March 14 1999 4:44am Subject: Re: help! Installed RPMS, can't get link. Not FLOOR Problem. List-Archive: http://lists.mysql.com/mysql/191 Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII that worked!!!!!!!! Thanks! Also, as a test I installed SuSe. It had mysql listed. that one compiled properly without having to put in the path, as they created a libmysqlclient.so and put it in /usr/lib. how does one go about createing an so file? wade On Sat, 13 Mar 1999, Jim Faucette wrote: > Wade Maxfield wrote: > > > > I installed the Mysql 3.22 rpms off the tcx.se website. Mysql is up and > > running. Installed the clients and thde development rpms. > > > > I am able to compile a program without errors. As soon as I try to > > link, I get mysql_connect, mysql_*** (put what you want in ***) not > > found. > > > > I am compiling and linking with the following: > > > > gcc -g -o foo -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient main.c > > > > Try: > gcc -g -o foo main.c -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient > -lm > > Some compilers resolve from left to right, so source code should come > before objects and libs. Also floor is a function in the math lib. > > jim... >