Skip to content

undefined symbol: Pa_Initialize on Ubuntu 12.04 #33

Open

Description

@kommander

Getting:
node: symbol lookup error: /home/sebastian/ots0614/node_modules/node-core-audio/build/Release/NodeCoreAudio.node: undefined symbol: Pa_Initialize

Having PA v19 installed.

Activity

  1. xseignard commented on Apr 26, 2015

    @xseignard
    Contributor

    Hello,
    Same problem here, i'm on ubuntu 14.10, I installed portaudio with the following

    sudo apt-get install libportaudio-dev libportaudio0
    

    Any idea?

  2. xseignard commented on May 1, 2015

    @xseignard
    Contributor

    Any updates?

  3. jdfreder commented on May 15, 2015

    @jdfreder

    I encountered the same problem, it may be the version of port audio... I haven't checked yet though.

  4. jdfreder commented on May 15, 2015

    @jdfreder

    ... I should add, I'm running this on a Raspberry PI (Rasbian).

  5. jdfreder commented on May 21, 2015

    @jdfreder

    @xseignard did you ever get this to work?

  6. xseignard commented on May 22, 2015

    @xseignard
    Contributor

    no, I gave up and used a combination of web audio api + webosckets

  7. guicontat commented on Jul 8, 2015

    @guicontat

    Hello,

    I'm on Ubuntu 14.04 and I tried those things :

    Download Port Audio source in ~/node_modules/node-core-audio/portaudio with this link http://www.portaudio.com/archives/pa_stable_v19_20140130.tgz

    (Don't forget to remove the previous portaudio folder, and name the newest "portaudio" instead of pa_stable_v19_blablabla)

    Then in portaudio folder

    ./configure
    make install

    Then i changed the binding.gyp file in the module folder, especially the linux part

    'OS=="linux"', {
    "libraries" : [
    '<(module_root_dir)/portaudio/lib/.libs/libportaudio.so',
    '<(module_root_dir)/portaudio/include/portaudio.h'
    ],
    'cflags': [ "-fno-exceptions -lrt -lasound -ljack -lpthread -fPIC" ],
    'cflags!': [ "-fno-exceptions-lrt -lasound -ljack -lpthread -fPIC" ],
    'cflags_cc!': [ "-fno-exceptions -lrt -lasound -ljack -lpthread -fPIC"],
    'cflags_cc': [ "-std=c++0x -lrt -lasound -ljack -lpthread -fPIC" ]
    }

    And after that i start "node-gyp rebuild" in the module folder

    And it seem to work !

  8. jdfreder commented on Jul 8, 2015

    @jdfreder

    Thanks @guicontat ! I've been using WebAudio over SlimerJS, but I'd like to still give this a try.

  9. maximilianmikus commented on Jul 28, 2015

    @maximilianmikus

    thx @guicontat that worked!

  10. ZECTBynmo commented on Jul 28, 2015

    @ZECTBynmo
    Member

    Thanks for working towards Ubuntu support!! Especially @guicontat

    Since it appears you guys have gotten it working, would anyone be willing to submit a pull request? :)

    Much appreciated!

  11. guicontat commented on Aug 5, 2015

    @guicontat

    @ZECTBynmo Can you add me in the contributors in order to create a new branch please :) ?

  12. ZECTBynmo commented on Aug 5, 2015

    @ZECTBynmo
    Member

    @guicontat why not just fork the repository?

  13. renschler commented on Nov 1, 2017

    @renschler

    I just ran into this issue and like @jdfreder I am also running this on a Raspberry PI (Rasbian).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions