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 on centos:"undefined symbol: lookup_rule" #11

Open
lakiw opened this issue Dec 3, 2014 · 1 comment
Open

Error on centos:"undefined symbol: lookup_rule" #11

lakiw opened this issue Dec 3, 2014 · 1 comment

Comments

@lakiw
Copy link

lakiw commented Dec 3, 2014

I'm running yara 3.2.0 on CentOS:

[server]$ yara -v
yara 3.2.0

I'm also using python 2.7

When I try to do anything with yara-ctypes I get the following error:

[server]$ yara-ctypes -h
Traceback (most recent call last):
File "/usr/local/bin/yara-ctypes", line 9, in
load_entry_point('yara==1.7.7', 'console_scripts', 'yara-ctypes')()
File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 339, in load_entry_point
File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2470, in load_entry_point
File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2184, in load
File "/usr/local/lib/python2.7/site-packages/yara-1.7.7-py2.7.egg/yara/init.py", line 7, in
from yara.rules import compile
File "/usr/local/lib/python2.7/site-packages/yara-1.7.7-py2.7.egg/yara/rules.py", line 17, in
from yara.libyara_wrapper import *
File "/usr/local/lib/python2.7/site-packages/yara-1.7.7-py2.7.egg/yara/libyara_wrapper.py", line 362, in
libyaradll.lookup_rule.restype = POINTER(RULE)
File "/usr/local/lib/python2.7/ctypes/init.py", line 378, in getattr
func = self.getitem(name)
File "/usr/local/lib/python2.7/ctypes/init.py", line 383, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/local/lib/libyara.so: undefined symbol: lookup_rule

@LittleHann
Copy link

the same problem i also meet, have you been fixed?

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