List:General Discussion« Previous MessageNext Message »
From:Wade Maxfield Date:March 13 1999 3:29pm
Subject:help! Installed RPMS, can't get link. Not FLOOR Problem.
View as plain text  
  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

  no errors on compile.
  on link, I get the "undefined reference" error.

  I tried -llibmysqlclient, -lmysqlclient.a, -llibmysqlclient.a, and more
options.  Most of the time, I get "libmysqlclient" not found in the
compile stage.

  HELP!  I tried -lsocket -lnsl and others.

  _any_ suggestions?  I searched the FAQ and all the documentation, to no
avail.  Do I have to compile the rpm source to make it work????

wade


Thread
help! Installed RPMS, can't get link. Not FLOOR Problem.Wade Maxfield13 Mar
  • help! Installed RPMS, can't get link. Not FLOOR Problem.sinisa14 Mar
  • Re: MySQL 4.0.13 has been releasedDr. Frank Ullrich21 May
    • Re: MySQL 4.0.13 has been releasedBen Clewett22 May
      • Re: MySQL 4.0.13 has been releasedLenz Grimmer22 May
        • Re: MySQL 4.0.13 has been releasedBen Clewett22 May
          • Re: MySQL 4.0.13 has been releasedLenz Grimmer22 May
            • Re: MySQL 4.0.13 has been releasedJeremy Zawodny22 May
Re: help! Installed RPMS, can't get link. Not FLOOR Problem.Ed Carp13 Mar
Re: help! Installed RPMS, can't get link. Not FLOOR Problem.Wade Maxfield14 Mar