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?
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
> gcc -g -o foo main.c -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient
> 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.