Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make build error #9

Open
budarin opened this issue Jan 7, 2022 · 1 comment
Open

Make build error #9

budarin opened this issue Jan 7, 2022 · 1 comment

Comments

@budarin
Copy link

budarin commented Jan 7, 2022

go version go1.15.15 linux/amd64
postgres (PostgreSQL) 14.1 (Debian 14.1-1.pgdg110+1)

root@0046bd9d2463:/usr/src/pg_ulid# make
Makefile:25: warning: overriding recipe for target 'pg_ulid.so'
/usr/lib/postgresql/14/lib/pgxs/src/makefiles/../../src/Makefile.shlib:293: warning: ignoring old recipe for target 'pg_ulid.so'
make: Circular pg_ulid.so <- pg_ulid.so dependency dropped.
go build -buildmode=c-shared -o pg_ulid.so main.go pg_ulid.go
pg_ulid.go:10:2: cannot find package "github.com/oklog/ulid" in any of:
/usr/lib/go-1.15/src/github.com/oklog/ulid (from $GOROOT)
/root/go/src/github.com/oklog/ulid (from $GOPATH)
make: *** [Makefile:25: pg_ulid.so] Error 1

@ShonFrazier
Copy link

duplicate of #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants