[campsite-support] Installation error.
  • Hi,

    I getting these errors when compile under root in linux fedora 2 distribution:

    root@host [~/campsite]# ./configure
    Checking install dependencies...OK
    Testing install configuration...OK
    Checking DATABASE module dependencies...OK
    *** Preparing DATABASE environment...OK
    Testing database configuration...OK
    Module DATABASE is not configurable
    Checking PARSER module dependencies.../usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0xd8): In function `my_compress_alloc':
    : undefined reference to `compress'
    /usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x171): In function `my_uncompress':
    : undefined reference to `uncompress'
    collect2: ld returned 1 exit status
    Could not find mysqlclient library. Please install mysql-devel package.

    How to solve this problem?
    Thank you.
  • 1 Comment sorted by
  • The solution is in the last line:

    Please install mysql-devel package.

    Ondra

    On Tue, 2006-07-04 at 02:26 +0200, dlvh1998@hotmail.com wrote:
    > Hi,
    >
    > I getting these errors when compile under root in linux fedora 2 distribution:
    >
    > root@host [~/campsite]# ./configure
    > Checking install dependencies...OK
    > Testing install configuration...OK
    > Checking DATABASE module dependencies...OK
    > *** Preparing DATABASE environment...OK
    > Testing database configuration...OK
    > Module DATABASE is not configurable
    > Checking PARSER module dependencies.../usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0xd8): In function `my_compress_alloc':
    > : undefined reference to `compress'
    > /usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x171): In function `my_uncompress':
    > : undefined reference to `uncompress'
    > collect2: ld returned 1 exit status
    > Could not find mysqlclient library. Please install mysql-devel package.
    >
    > How to solve this problem?
    > Thank you.