List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:October 7 1999 12:14am
Subject:dbf2msql under Linux
View as plain text  
>>>>> "Martin" == Martin Olivera <martin@stripped> writes:

Martin> I'm trying to compile dbf2mysql under Linux 2.0.0
Martin> (with gcc). I have the latest gcc (as of 3 months
Martin> ago), but it seems I'm missing a library, or I
Martin> need to select some flags, since the compilation
Martin> using the included Makefile aborts with the following
Martin> error messages:

>> > make
>> gcc -O2 -Wall -s -L. -L/util0/apps/mysql/lib -o dbf2mysql dbf2mysql.o
Martin> -ldbf \
>> -lmysqlclient -lm
>> /util0/apps/mysql/lib/libmysqlclient.a(my_open.o): In function
Martin> `my_open':
>> my_open.o(.text+0x14): undefined reference to `open64'
>> /util0/apps/mysql/lib/libmysqlclient.a(mf_format.o): In function
Martin> `fn_format':
>> mf_format.o(.text+0x201): undefined reference to `__lxstat64'
>> /util0/apps/mysql/lib/libmysqlclient.a(my_fopen.o): In function
Martin> `my_fopen':
>> my_fopen.o(.text+0x21): undefined reference to `fopen64'
>> make: *** [dbf2mysql] Error 1

Hi!

You need to recompile the MySQL library as this is for glibc 2.1 and
out are probably using glibc 2.0.

Regards,
Monty
Thread
dbf2msql under LinuxMartin Olivera6 Oct
  • dbf2msql under LinuxMichael Widenius7 Oct