fbc icon indicating copy to clipboard operation
fbc copied to clipboard

Link file not found on FreeBSD

Open lenoil98 opened this issue 11 months ago • 0 comments

The hFindLib function seems not to be working on Linux issue: #383 or FreeBSD on powerpc64. How does the hFindLib function search for library files?

I does not find libraries files in '/usr/lib' on FreeBSD (see below).

root@blackbird-powerpc64:/usr/xports/lang/fbc/work/FreeBASIC-1.20.0-source-bootstrap/examples # fbc -p ./ allocate.bas allocate.bas() error 23: File not found, crt1.o allocate.bas() error 23: File not found, crti.o allocate.bas() error 23: File not found, crtbegin.o allocate.bas() error 23: File not found, crtend.o allocate.bas() error 23: File not found, crtn.o /usr/local/bin/../bin/ld: warning: cannot find entry symbol _start; defaulting to 00000000100011a0 /usr/local/bin/../bin/ld: /lib/libc.so.7: undefined reference to environ' /usr/local/bin/../bin/ld: /lib/libc.so.7: undefined reference to __progname'

lenoil98 avatar Feb 24 '25 20:02 lenoil98