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

Error in DLL compilation (Files missing?) #36

Closed
3 tasks
pentestitde opened this issue Dec 15, 2018 · 5 comments
Closed
3 tasks

Error in DLL compilation (Files missing?) #36

pentestitde opened this issue Dec 15, 2018 · 5 comments

Comments

@pentestitde
Copy link

Prerequisite

  • I have read the README
  • I have search the opened & closed issues
  • I have search the WIKI and its FAQ page

Environment Data

  • Merlin Version: latest
  • Merlin Build:
  • Go Version: latest
  • GOPATH Environment Variable: /home/frank/merlin
  • GOROOT Environment Variable: /usr/local/go
  • Operating System: Ubuntu 18.04

Expected Behavior

compiling DLL from source

Actual Behavior

frank@ubuntu:~/merlin/data/bin/dll$ go build -buildmode=c-archive ../../../cmd/merlinagentdll/main.go
../../../cmd/merlinagentdll/main.go:28:2: cannot find package "github.com/Ne0nd0g/merlin/pkg/agent" in any of:
/usr/local/go/src/github.com/Ne0nd0g/merlin/pkg/agent (from $GOROOT)
/home/frank/merlin/src/github.com/Ne0nd0g/merlin/pkg/agent (from $GOPATH)

Steps to Reproduce Behavior

Misc Information

There is no src/github.com/Ne0nd0g directory in the repository?

@Ne0nd0g
Copy link
Owner

Ne0nd0g commented Dec 16, 2018

Can you please tell me the numerical version of Merlin you're using along with the build?

Can you please confirm that your GOPATH directory contains this path:

/home/frank/merlin/src/github.com/Ne0nd0g/merlin ? If not, you will need to setup your environment. To do so, move into the following directory (create it if it doesn't exist) and do a git clone of the repository:

/home/frank/merlin/src/github.com/Ne0nd0g$ git clone https://github.com/Ne0nd0g/merlin

You can download per-compiled versions of Merlin from the releases page.

@pentestitde
Copy link
Author

pentestitde commented Dec 17, 2018 via email

@Ne0nd0g
Copy link
Owner

Ne0nd0g commented Dec 17, 2018

It looks like your GOPATH changed, it should be /home/frank/merlin. Can you change your GOPATH and show its new value here?

@pentestitde
Copy link
Author

pentestitde commented Dec 17, 2018 via email

@Ne0nd0g
Copy link
Owner

Ne0nd0g commented Dec 17, 2018

Glad it got sorted out. If you want to chat about Merlin more, consider signing up for the BloodHound Slack and joining me in the #merlin channel. You can signup here: https://bloodhoundgang.herokuapp.com

@Ne0nd0g Ne0nd0g closed this as completed Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants