Skip to content

install getdns node #42

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

Closed
fturiot opened this issue Jun 29, 2021 · 2 comments
Closed

install getdns node #42

fturiot opened this issue Jun 29, 2021 · 2 comments

Comments

@fturiot
Copy link

fturiot commented Jun 29, 2021

Hi,
Where load c++ librarie for install ?
regards

@joelpurra
Copy link
Collaborator

@fturiot: that depends on your operating system, compiler, local settings, etcetera. The easiest way is to use a package manager, since it will use the default library/header file locations on disk.

Examples include apt to install libgetdns-dev, brew to install getdns, and so on for a variety of systems. (Unfortunately I am not using Windows, can't help there.)

# NOTE: example assumes a Debian-based system. You may need additional tools or library dependencies.
sudo apt install libgetdns-dev                        

When all files are in their default locations, installation/compilation should work.

npm install getdns

You can also configure your compiler to use custom paths. There are examples of this in #38 and #39, for custom builds from getdns source.

LIBRARY_PATH="/your/getdns/build" CPLUS_INCLUDE_PATH="/your/getdns/build" npm install getdns

Did that help?


It would of course be even better for getdns-node to fix #29, to simplify installation, but that is unlikely to happen until Someone™ finds time for it.

@fturiot
Copy link
Author

fturiot commented Jun 30, 2021

Thanks solve
I hate windows i'm in linux but i have not understand that's a linux package
thanks

@fturiot fturiot closed this as completed Jun 30, 2021
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