Can't compile twisterd on Debian Stretch
Opened this issue · 14 comments
After upgrade from Debian Jessie to Stretch twisterd survived two reboots but no boot. I got ./twisterd: error while loading shared libraries: libboost_system.so.1.55.0: cannot open shared object file: No such file or directory
Creating links to new library versions and renaming them to old versions resulted in a segmentation fault. Recompiling twisterd failed. So I'm offline now. See attachments.
heck, i hate when new libs break compatibility with existing code!
it seems openssl is causing us problem again. i have to install openssl 1.1.x to try fixing it myself.
in the meantime do you know if it is possible for you to install libssl1.0-dev instead of libssl-dev? that should allow you to compile it again.
It's in the Stretch repository but aptitude does not allow me, to install it. Perhaps it would break other things. Could I put it in my home directory to .local/usr/
and give configure a path? What are the arguments for configure then?
I believe you should first remove libssl-dev
(ie. openssl 1.1.x development files) and it won't break anything. At most, some other -dev
packages may need to be removed, but this won't affect your installed (ie. already compiled) programs and packages.
Then installing the libssl1.0-dev
should be possible by hand using dpkg
. Don't forget to install libssl1.0
as well (the non -dev
package).
If you want to rather try with installing an older libssl-1.0.x
to /usr/local
the argument to configure is:
--with-openssl=DIR root of the OpenSSL directory
Let me know how it goes!
No success. Had to remove libtorrent-rasterbar-dev
too to install libssl1.0-dev
. I'm due to bed now. Will reinstall libssl-dev
tomorrow.
make_27-06-17.txt
(copied from console, lines may be mixed)
This last one looks like a different error (undefined leveldb references?!) not openssl.
Perhaps you should try make clean
because some headers might have changed.
If it doesn't help try make V=1
for verbose compiling.
Success! twisterd is running. See my twist. Logfile from make V=1
is quite long, but I keep it. Thanks tons of much for help!
Hello @ALL,
i have the same problem. I can't not install. Twister on a fresh Debian Stretch.
@RealVegOs wat have you install?
Read Miguel's suggestions above. I replaced libssl-dev
temparaily by libssl-dev1.0
. Good luck!
i have the same problem. many errors by make. But Twister run.
I testet on a new Debian Stretch. Only install:
git autoconf libtool build-essential libboost-all-dev libssl1.0-dev libssl1.0 libdb++-dev libminiupnpc-dev automake
make.log: make.txt
I have updated my system at home, so i'll be able to test if my porting to openssl 1.1.x works.
In the meantime one may compile with libssl-dev1.0.
@RealVegOs i've just committed openssl 1.1.0 support! So you shouldn't need libssl-dev1.0 anymore.
Thanks much! I will try. I have to check all dependencies again, because it compiled on my new box with Devuan Jessie (as I twisted) without any problems, no need to give configure a path for libboost etc. Of course on Jessie libssl was no problem.
Still needs a path for libboost on Debian. Why not on Devuan??? Compiler works... new twisterd is running.
@miguelfreitas
i try compile with and without ./configure --with-boost-libdir=
but i have the same bugs.
Do you need the log?