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

Python import issue: undefined symbol: bgpstream_stop #98

Open
frankwxu opened this issue Sep 30, 2019 · 1 comment
Open

Python import issue: undefined symbol: bgpstream_stop #98

frankwxu opened this issue Sep 30, 2019 · 1 comment

Comments

@frankwxu
Copy link

Use v2.

Python 2.7.16+ (default, Sep 4 2019, 08:19:57)
[GCC 9.2.1 20190827] on linux2
Type "help", "copyright", "credits" or "license" for more information.

from _pybgpstream import BGPStream, BGPRecord, BGPElem
Traceback (most recent call last):
File "", line 1, in
ImportError: /usr/local/lib/python2.7/dist-packages/_pybgpstream.so: undefined symbol: bgpstream_stop

@digizeph
Copy link
Contributor

digizeph commented Oct 2, 2019

Hi @frankwxu,
Thank you for using bgpstream and bringing up this issue! Unfortunately, I am not able to reproduce this issue.

Here is a quick summary of my environment setup:

Output from the command:

Python 2.7.16 (default, Sep  2 2019, 11:59:44)
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from _pybgpstream import BGPStream, BGPRecord, BGPElem
>>>

Could you try reinstall the libbgpstream and pybgpstream from source and retry? (Note: try to do a sudo ldconfig if you're on a linux environment, just in case the installed library was not registered by the system yet).

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