[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: fc8 mysql libs brocken ??



They are installed ...

[root 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
OS ........... : Linux 2.6.25.14-69.fc8 (gregory-workstation.techconcepts.co.za)
COMPILER ..... : gcc
CFLAGS ....... : -O2
LIBS ......... : -lpcap  -L/usr/lib/mysql -lmysqlclient -lsqlite3 -lm
-lz -lpthread -lnfprobe_plugin -Lnfprobe_plugin/ -lsfprobe_plugin
-Lsfprobe_plugin/
LDFLAGS ...... : -Wl,--export-dynamic

Now type 'make' to compile the source code.

but make dies

gmake[1]: Entering directory `/data/apps/pmacct/pmacct-0.11.5/src'
Making all in nfprobe_plugin
gmake[2]: Entering directory
`/data/apps/pmacct/pmacct-0.11.5/src/nfprobe_plugin'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/data/apps/pmacct/pmacct-0.11.5/src/nfprobe_plugin'
Making all in sfprobe_plugin
gmake[2]: Entering directory
`/data/apps/pmacct/pmacct-0.11.5/src/sfprobe_plugin'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/data/apps/pmacct/pmacct-0.11.5/src/sfprobe_plugin'
gmake[2]: Entering directory `/data/apps/pmacct/pmacct-0.11.5/src'
gcc  -O2  -Wl,--export-dynamic  -o pmacct  pmacct.o strlcpy.o addr.o
-lpcap  -L/usr/lib/mysql -lmysqlclient -lsqlite3 -lm -lz -lpthread
-lnfprobe_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




On Tue, Oct 21, 2008 at 11:08 AM, Paulo Cavalcanti <promac gmail com> wrote:
>
>
> On Tue, Oct 21, 2008 at 4:12 AM, Gregory Machin <gdm linuxpro co za> wrote:
>>
>> No issues found
>>
>> [root gregory-workstation ~]# package-cleanup --clean
>> Setting up yum
>> No dupes to clean
>>
>
> It seems to me that you do not have the 64 bit libraries.
>
> Try:
>
>  rpm -qa --qf "%{name}-%{version}-%{release}.%{arch} \n" | grep mysql
>
>
> --
> Paulo Roma Cavalcanti
> LCG - UFRJ
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]