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

cannot find package "postwoman.io/proxy/libproxy" #4

Closed
sudor opened this issue Dec 20, 2019 · 4 comments
Closed

cannot find package "postwoman.io/proxy/libproxy" #4

sudor opened this issue Dec 20, 2019 · 4 comments

Comments

@sudor
Copy link

sudor commented Dec 20, 2019

➜ /home/user_00 >j proxy
/home/web/postwoman-proxy
➜ /home/web/postwoman-proxy git:(master) >pwd
/home/web/postwoman-proxy
➜ /home/web/postwoman-proxy git:(master) >export GOPATH=/home/web/postwoman-proxy:$GOPATH
➜ /home/web/postwoman-proxy git:(master) >./build.sh linux server
server/server.go:6:2: cannot find package "postwoman.io/proxy/libproxy" in any of:
/usr/local/go/src/postwoman.io/proxy/libproxy (from $GOROOT)
/home/web/postwoman-proxy/src/postwoman.io/proxy/libproxy (from $GOPATH)
/home/user_00/go/src/postwoman.io/proxy/libproxy

@NBTX
Copy link
Contributor

NBTX commented Dec 20, 2019

Does it work if you build the desktop version first? ./build.sh linux desktop
(I am unable to reproduce the issue.)

@1fexd
Copy link
Contributor

1fexd commented Jan 1, 2020

I had the same issue, and fixed it by symlinking the libproxy folder from the cloned repo:

mkdir -p ~/go/src/postwoman.io/proxy
ln -s ~/Desktop/postwoman-proxy/libproxy ~/go/src/postwoman.io/proxy
(I guess you could just copy the folder there aswell)

then I ran
go get -v
and compiled using ./build.sh linux server

@NBTX
Copy link
Contributor

NBTX commented Jan 4, 2020

Okay, I can see what's happening. I'll do some reading and see if there's a given fix for this kind of thing.

@liyasthomas
Copy link
Member

Closing due to inactivity.

NBTX added a commit that referenced this issue Jun 9, 2020
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

4 participants