Build in linux

193 views
Skip to first unread message

marcop...@gmail.com

unread,
Nov 11, 2023, 8:45:42 AM11/11/23
to Harbour Users
Dear Friends,

Im trying to build a app on linux, but receive this error:
/usr/bin/ld: /usr/local/lib/harbour/libxhb.a(xhbmsgs.o): undefined reference to symbol 'pow@@GLIBC_2.29'
/usr/bin/ld: /lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
hbmk2[pppsql.exe]: Error: Running linker. 1

How to fix this?

Thanks to advance,

Alain Aupeix

unread,
Nov 11, 2023, 11:36:24 AM11/11/23
to harbou...@googlegroups.com, marcop...@gmail.com
Try to put -lm at the end of the command line
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/f80ebb08-8dba-4b06-804a-d2af9de31a8en%40googlegroups.com.

marcop...@gmail.com

unread,
Nov 13, 2023, 7:33:02 AM11/13/23
to Harbour Users
Thanks Alain, works well
Reply all
Reply to author
Forward
0 new messages