Skip to content

missing header file - yamlscript.go:4:11: fatal error: 'libys.0.2.2.h' file not found #2

@Oded-B

Description

@Oded-B

Where does the header file supposed to come from?

go build .
# github.com/yaml/yamlscript-go
../../../go/pkg/mod/github.com/yaml/[email protected]/yamlscript.go:4:11: fatal error: 'libys.0.2.2.h' file not found
    4 |  #include <libys.0.2.2.h>
      |           ^~~~~~~~~~~~~~~
1 error generated.

I think I followed the install instruction, I have the C lib installed:

/Users/oded/.local/lib/libys.dylib
/Users/oded/.local/lib/libys.dylib.0
/Users/oded/.local/lib/libys.dylib.0.2.2

And the env var setup:

CGO_CFLAGS=-I /Users/oded/.local/include
CGO_LDFLAGS=-L /Users/oded/.local/lib
LD_LIBRARY_PATH=/Users/oded/.local/lib

Did I miss some step?

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