BSDPORTAL.RU http://www.bsdportal.ru/ |
|
module pytdb not found, cheking tdb, reinstalling samba4.10 http://www.bsdportal.ru/viewtopic.php?f=58&t=29040 |
Страница 1 из 1 |
Автор: | vasmed [ Чт 06 фев, 2020 7:02 am ] |
Заголовок сообщения: | module pytdb not found, cheking tdb, reinstalling samba4.10 |
Freebsd 12.0-RELEASE-p10. There was a warning, when i run the command "pkg check -d -a" Код: apache24 is missing a required shared library: libcrypto.so.9 I found that command "portupgrade -r libarchive" might help. But when it reached reinstall of samba 4.10.13, it dropped out with following: Код: Checking for system tdb >= 1.3.18 : yes ERROR: Python module pytdb of version 1.3.18 not found, and bundling disabled I was trying to solve this for quite a long time, and at last made this: 1)in /etc/make.conf add "DEFAULT_VERSIONS=python=2.7 python2=2.7 python3=3.8" 2) Код: portsnap fetch update cd /usr/ports/textproc/p5-XML-Parser make reinstall pkg remove -f samba48 cd /usr/ports/lang/python make reinstall cd /usr/ports/databases/tdb make reinstall cd /usr/ports/devel/tevent make reinstall and then Код: cd /usr/ports/net/samba410 make reinstall worked perfectly and command Код: samba --version shows "Version 4.10.13" By the way, Код: cd /usr/ports/www/apache24 make reinstall leads to "libcrypto.so.9" warning disappear. |
Автор: | vasmed [ Чт 06 фев, 2020 1:52 pm ] |
Заголовок сообщения: | Re: module pytdb not found, cheking tdb, reinstalling samba4 |
When trying to resolve "squid3 is missing a required shared library: libssl.so.9", run this: Код: cd /usr/ports/www/squid3 make reinstall receive this message: Код: ===> squid3-3.5.28_3 is marked as broken: does not build with DEFAULT_VERSIONS+=ssl=openssl. *** Error code 1 Stop. make: stopped in /usr/ports/www/squid3 But in /etc/make.conf there is string: Код: DEFAULT_VERSIONS+=ssl=openssl Tried to reinstall /usr/ports/security/openssl, but it didn't work. /usr/local/bin/openssl version shows Код: OpenSSL 1.1.1d 10 Sep 2019 Folder /usr/ports/security/openssl111 doesn't exists. I wonder, what should i do next. |
Автор: | AMDmi3 [ Сб 08 фев, 2020 5:24 pm ] |
Заголовок сообщения: | Re: module pytdb not found, cheking tdb, reinstalling samba4 |
Проще всего удалить всё что понаписали в make.conf и всё пересобрать с нуля. Или просто перейти на бинарные пакеты. При использовании портов: - Не нужно трогать make.conf если вы не знаете что делаете. Зачем эта ерунда с python2.7? Зачем с openssl? - При изменении DEFAULT_VERSIONS и других переменных которые потенциально затрагивают все порты, нужно пересобирать всё. - Перед тем как ставить новый софт или обновлять какой-то пакет, нужно обновить все устаревшие пакеты. Работа свежего дерева портов на устаревших пакетах не поддерживается. - Не мешать порты и пакеты. - После обновления мажорной версии системы пересобирать всё. - После каждого обновления дерева портов читать UPDATING. Что-то из этого вы не сделали, вот и получилось что апач остался зависим от удалённой библиотеки, и tdb собран не с той версией питона. А потом ещё непонятно чего навертели в make.conf |
Автор: | vasmed [ Вт 11 фев, 2020 5:39 am ] |
Заголовок сообщения: | Re: module pytdb not found, cheking tdb, reinstalling samba4 |
Thank you. The problem really was in make.conf DEFAULT_VERSIONS=python=2.7 - isn't correct for samba410. Also i had an error: Can't locate Locale/gettext.pm in @INC (you may need to install the Locale::gettext module) (@INC: /usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.usr/local/lib/perl5/5.30 .) And sequential reinstall of ports, that was showing in output of "pkg check -d -a" helped to solve the problem. |
Страница 1 из 1 | Часовой пояс: UTC + 4 часа |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |