1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Fedora Core 2 / Mysql 4 ?

Discussion in 'Plesk for Linux - 8.x and Older' started by TehPropheT, Sep 3, 2005.

  1. TehPropheT

    TehPropheT Guest

    0
     
    Hi there!

    I have purchased a server running fedora core 2 and plesk 7.5.
    As default mysql 3.2.3 is installed. Fedora core 2 will not upgrade to mysql 4 as its not listed in yum.

    I seem to have a problem with mysqlclient when compiling so i was wondering if the latest rpm from mysql.org if it would fix this or would trying to run mysql 4 totally mess up my server?

    This is the error:

    [root@localhost ticker]# make
    gcc -O3 -g -Wall -c -o ticker.o ticker.c
    gcc -O3 -g -Wall -c -o score.o score.c
    gcc -O3 -g -Wall -c -o update.o update.c
    gcc -O3 -g -Wall -c -o core_sql.o core_sql.c
    gcc -O3 -g -Wall -c -o helper.o helper.c
    gcc -O3 -g -Wall -c -o battle.o battle.c
    gcc -O3 -g -Wall -c -o cleanup.o cleanup.c
    gcc -O3 -g -Wall -c -o logging.o logging.c
    gcc -O -g ticker.o score.o update.o core_sql.o helper.o battle.o cleanup.o logging.o -o ticker -lmysqlclient -lcrypt -lz
    /usr/bin/ld: cannot find -lmysqlclient
    collect2: ld returned 1 exit status
    make: *** [ticker] Error 1


    Any suggestions how about to solve this would be very much appricated, but i would like to upgrade to the latest mysql 4 version if possible.


    Thanks for any adivce!
     
  2. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    I have mysql 4 rpms for FC2 available in my yum archive
     
  3. TehPropheT

    TehPropheT Guest

    0
     
    what distro are you using?

    yum search mysql only shows the ones i have installed which are 3 2 3.

    they do not appear in yum list available either.
     
  4. mian

    mian Guest

    0
     
    You have to add the atomic channel to your /etc/yum.conf, see the examples at bottom of http://www.atomicrocketturtle.com/atomic/ then do yum check-update and mysql4 should appear.
     
  5. TehPropheT

    TehPropheT Guest

    0
     
    thanks for those updates :)

    but im still recieving this:

    [root@localhost ticker]# make
    gcc -O3 -g -Wall -c -o ticker.o ticker.c
    gcc -O3 -g -Wall -c -o score.o score.c
    gcc -O3 -g -Wall -c -o update.o update.c
    gcc -O3 -g -Wall -c -o core_sql.o core_sql.c
    gcc -O3 -g -Wall -c -o helper.o helper.c
    gcc -O3 -g -Wall -c -o battle.o battle.c
    gcc -O3 -g -Wall -c -o cleanup.o cleanup.c
    gcc -O3 -g -Wall -c -o logging.o logging.c
    gcc -O -g ticker.o score.o update.o core_sql.o helper.o battle.o cleanup.o logging.o -o ticker -lmysqlclient -lcrypt -lz
    /usr/bin/ld: cannot find -lmysqlclient
    collect2: ld returned 1 exit status
    make: *** [ticker] Error 1


    anyone know what the problem might be?
     
  6. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
Loading...