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

some help #33

Closed
eoli3n opened this issue Jun 27, 2017 · 8 comments
Closed

some help #33

eoli3n opened this issue Jun 27, 2017 · 8 comments

Comments

@eoli3n
Copy link

eoli3n commented Jun 27, 2017

I installed python bindings of libtorrent 1.1.3 with

python setup.py build
python setup.py install

and then

root@g25:~/bt# partclone/src/partclone.extfs -c -T -s /dev/sda2 -o eziopackage/test | ezio/utils/partclone_create_torrent.py
Partclone v0.3.5g http://partclone.org
Starting to clone device (/dev/sda2) to image (eziopackage/test)
Partclone fail, please check /var/log/partclone.log !
Traceback (most recent call last):
  File "ezio/utils/partclone_create_torrent.py", line 3, in <module>
    import libtorrent as lt
ImportError: /usr/local/lib/python2.7/dist-packages/libtorrent.so: undefined symbol: _ZTIN5boost6python15instance_holderE
root@g25:~/bt# python -c "import libtorrent; print libtorrent.version"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: /usr/local/lib/python2.7/dist-packages/libtorrent.so: undefined symbol: _ZTIN5boost6python15instance_holderE

it seems to be a known bug, how did you pass through ?

@tjjh89017
Copy link
Owner

I think python module didn't use correct libtorrent.
Let me think a way to sloved it

if you use Ubuntu>=16.10, there will be fine.

@eoli3n
Copy link
Author

eoli3n commented Jun 27, 2017

i don't, i use 16.04 for testing.
For next step, i need to make all that procedure work under debian8

@tjjh89017
Copy link
Owner

Ok, I will test on 16.04 & Debian 8.
And report how to for you

@eoli3n
Copy link
Author

eoli3n commented Jun 27, 2017

the important part for me is debian8, cause i will use partclone and ezio from a debian nfsroot/PXE
thx for your help

@tjjh89017
Copy link
Owner

@eoli3n By the way
We suggest you to dump filesystem, and use "normal" bt client to create torrent for now
partclone with torrent isn't complete actually.
we only tested ext4 with torrent so far.

@eoli3n
Copy link
Author

eoli3n commented Jun 27, 2017

ok, so i will do it with murder for now (based on libbittornado)

@tjjh89017
Copy link
Owner

@eoli3n
If you use Debian 8

# compile libtorrent
wget <path of libtorrent src code>
tar xvf <tarball of libtorrent>
cd <libtorrent src code dir>
./configure --enable-python-binding
make 
sudo make install
export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
python -c "import libtorrent; print libtorrent.version"

Which filesystem will you use in your scenario?

@eoli3n
Copy link
Author

eoli3n commented Jun 28, 2017

thx ! i will use ext3/4

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