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

Can't install on macOS #3

Open
idoodler opened this issue Oct 18, 2018 · 1 comment
Open

Can't install on macOS #3

idoodler opened this issue Oct 18, 2018 · 1 comment

Comments

@idoodler
Copy link

I am unable to install this module.

pjproject has been installed via homebrew but I am unable to install pjsua.node via npm.
pkg-config --modversion libpjproject returns 2.7.2 but npm install --save minoruta/pjsua.node throws the following error message:

…
ld: library not found for -lpjsua2
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/sipster.node] Error 1
…

Any ideas on how to fix this?

@minoruta
Copy link
Owner

@idoodler

I see you are trying to install it on macOS.
You need to install pjsip beforehand, in order to install pjsua2 lib.
See https://trac.pjsip.org/repos/wiki/Getting-Started/Autoconf

In my case, I configured it with the following command;

  $ ./configure --with-external-srtp --enable-shared --disable-sound --disable-oss --disable-sdl --disable-speex-aec --disable-video --disable-small-filter --disable-large-filter --disable-speex-aec --disable-l16-codec --disable-gsm-codec --disable-g722-codec --disable-g7221-codec --disable-speex-codec --disable-ilbc-codec --disable-opus

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