Sign in Join

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

Mailing lists / lazarus / 2014-11

Compilation of .../test/testresult-db/importtestresults.lpi

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Mehmet Erol Sanliturk

Compilation of

.../test/testresult-db/importtestresults.lpi

is giving

Error: Error while linking

Error reason is as follows :

/usr/bin/ld: warning: link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lmysqlclient
Error: Error while linking
ERROR: failed compiling of project
/home/s/Testing_Lazarus/test/testresult-db/importtestresults.lpi

Some Linux distributions are not supplying MySQL any more . Therefore there is no any "mysqlclient" .

Thank you very much .

Mehmet Erol Sanliturk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141122/0b0f4cdd/attachment.html>

Reply by email

Mattias Gaertner
to Mehmet Erol Sanliturk
Show quoted text 6 lines
[...] .../test/testresult-db/importtestresults.lpi [...] /usr/bin/ld: cannot find -lmysqlclient Error: Error while linking [...]

Looks like "by design" to me.
If you want to test the db stuff you have to install the db stuff.

Mattias

Reply by email