Skip to content

Link file not found on FreeBSD #443

@lenoil98

Description

@lenoil98

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions