Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-07

FPC and MySQL under Linux

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Fernando Lozano

Hi there,

Using the same test program I already sent, but this time under Linux nad not Windows 98. Red Hat 6.2, fpc 1.0.6 (the real one, not the beta that was released by mistake) and MySQL 3.23.49a, everything installed from the respective RPM Packages. I tried to compile using

$ fpc -Fl/usr/lib/mysql testemysql.pas

And got the error:

Linking testedbmysql
/usr/lib/mysql//libmysqlclient.a(my_compress.o): In function `my_uncompress': my_compress.o(.text+0xaa): undefined reference to `uncompress' /usr/lib/mysql//libmysqlclient.a(my_compress.o): In function `my_compress_alloc': my_compress.o(.text+0x13c): undefined reference to `compress' testedbmysql.pas(47) Error: Error while linking
Closing script ppas.sh

Please don't tell me I'll have to recompikle everything from sources. ;-)

[]s, Fernando Lozano