Ad Widget

Collapse

Make: /usr/bin/ld: cannot find -lmysqlclient

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • woger
    Member
    • Sep 2005
    • 56

    #1

    Make: /usr/bin/ld: cannot find -lmysqlclient

    Hi there,

    I try to install 1.1.alpha12 and ./configure runs fine. But when I run make it quits with the error:
    /usr/bin/ld: cannot find -lmysqlclient
    collect2: ld returned 1 exit status

    Doe anyone know how to solve this?

    Thanks,

    Woger
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,

    Right off the bat, I am guessing that this is a RedHat machine. If so, you need to install the mysql-devel package, and if it is already installed, then you may need to manually create a soft link to the shared library file. Don't recall which thread it was in, but do a search of the threads and there is one that states which file needs to be linked and where.
    Unofficial Zabbix Developer

    Comment

    • woger
      Member
      • Sep 2005
      • 56

      #3
      OK,

      I'll try and let you know

      Comment

      • woger
        Member
        • Sep 2005
        • 56

        #4
        Hmm,
        mysql-devel is installed and I can't find the symlink I have to use. Can you remember what it was? I am indeed using Fedora C4.

        Comment

        Working...