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 you give me some examples of how to use this library? #31

Open
acelan opened this issue Feb 15, 2024 · 0 comments
Open

Can you give me some examples of how to use this library? #31

acelan opened this issue Feb 15, 2024 · 0 comments

Comments

@acelan
Copy link

acelan commented Feb 15, 2024

I'm new to this kind of library and tried to load it from python, and encountered below error.
Do you have any example references available, whether they are in C/C++ or Python?
Thanks.

steam@c9860658a0fa:/palworld$ python3
Python 3.9.2 (default, Feb 28 2021, 17:03:44) 
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ctypes import *
>>> 
>>> psua = cdll.LoadLibrary("./libpal-plugin-loader.so")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.9/ctypes/__init__.py", line 452, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.9/ctypes/__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: ./libpal-plugin-loader.so: undefined symbol: _ZN6google4base21CheckOpMessageBuilderC1EPKc

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

1 participant