fc8 mysql libs brocken ??

Gregory Machin gdm at linuxpro.co.za
Tue Oct 21 11:12:35 UTC 2008


[root at gregory-workstation pmacct-0.11.5]# yum list mysql-*
updates-newkey            100% |=========================| 2.3 kB    00:00
fedora                    100% |=========================| 2.1 kB    00:00
adobe-linux-i386          100% |=========================|  972 B    00:00
updates                   100% |=========================| 2.6 kB    00:00
Installed Packages
mysql.x86_64                             5.0.45-6.fc8           installed
mysql-connector-java.x86_64              1:3.1.12-3.fc6         installed
mysql-devel.x86_64                       5.0.45-6.fc8           installed
mysql-libs.x86_64                        5.0.45-6.fc8           installed

with only 64bit

I'm back at this error
checking whether to enable MySQL support... checking how to run the C
preprocessor... (cached) gcc -E
yes
checking default locations for libmysqlclient... not found
checking for mysql_real_connect in -lmysqlclient... no
configure: error:
        ERROR: missing MySQL client library. Refer to: http://www.mysql.com/

mmmm not good Iv tried the --with-msql=/<path to libs> for both i386
and 64bit and the error is the same as above ... I'm lost ...


On Tue, Oct 21, 2008 at 12:58 PM, Paulo Cavalcanti <promac at gmail.com> wrote:
>
>
> On Tue, Oct 21, 2008 at 8:52 AM, Gregory Machin <gdm at linuxpro.co.za> wrote:
>>
>> tried setarch
>> tried addinf devel.x86_64
>> and tried setarch x86_64
>>
>> and still get the following ...
>>
>> probe_plugin -Lnfprobe_plugin/ -lsfprobe_plugin -Lsfprobe_plugin/
>> /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so
>> when searching for -lmysqlclient
>> /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.a
>> when searching for -lmysqlclient
>> /usr/bin/ld: cannot find -lmysqlclient
>> collect2: ld returned 1 exit status
>> gmake[2]: *** [pmacct] Error 1
>> gmake[2]: Leaving directory `/data/apps/pmacct/pmacct-0.11.5/src'
>> gmake[1]: *** [all-recursive] Error 1
>> gmake[1]: Leaving directory `/data/apps/pmacct/pmacct-0.11.5/src'
>> make: *** [all-recursive] Error 1
>>
>>
>> 2008/10/21 Michael Schwendt <mschwendt at gmail.com>:
>> > On Tue, 21 Oct 2008 11:40:06 +0200, Gregory Machin wrote:
>> >
>> >> They are installed ...
>> >>
>> >> [root at gregory-workstation pmacct-0.11.5]# rpm -qa --qf
>> >> "%{name}-%{version}-%{release}.%{arch} \n" | grep mysql
>> >> mysql-libs-5.0.45-6.fc8.i386
>> >> mysql-connector-java-3.1.12-3.fc6.x86_64
>> >> mysql-devel-5.0.45-6.fc8.i386
>> >> mysql-5.0.45-6.fc8.x86_64
>> >> mysql-libs-5.0.45-6.fc8.x86_64
>> >>
>> >> with both libs installed configure is happy
>> >> PLATFORM ..... : x86_64
>> >
>> > You only have the i386 mysql-devel. Build with setarch i386.
>> >
>> > --
>> >
>
> Install
>
> mysql-devel-5.0.45-6.fc8.x86_64
>
> and try again. I also would remove the i386 devel package.
>
>
>
> --
> Paulo Roma Cavalcanti
> LCG - UFRJ
>




More information about the fedora-list mailing list