Господа, libodb я собрал. Проблема со сборкой libodb-qt! Мои последние посты именно об этом. Я просто не стал начинать новую тему.
Теперь у меня так:


export CPPFLAGS="-l/usr/include/qt/QtCore/5.9.1/QtCore/"
export LDFLAGS="-L/usr/lib"
Не работает.

Запуск с такими ключами makepkg -si тоже не помог.
vasek
Aoizora
Я не знал, что в AUR она есть.
Интересно узнать - собралась или нет - или опять та же ошибка, связанная с проверкой?

Собралась. Теперь другая проблема: я хочу собрать libodb-qt из AUR, но получаю ошибку:

checking for pkg-config... /usr/bin/pkg-config
checking for QtCore... no
configure: error: QtCore is not found; consider using CPPFLAGS/LDFLAGS to specify its location
==> ERROR: A failure occurred in build().
Aborting...

Собираю при помощи makepkg. Как передать ему CPPFLAGS и LDFLAGS и что в них писать? Я поступил так:

export CPPFLAGS=/usr/include/qt/QtCore/5.9.1/QtCore/
export LDFLAGS=/usr/lib
makepkg

Но ошибка не исчезла.
Вроде, обновился. Спасибо за помощь.
Решение из того поста, которым там посчитали ответом на вопрос, мне не помогло.

Finally I managed to get some time to deal with this.

I initially tried the upgrade with pacman's --root flag approach, using a recent Arch install image. I followed the instructions on Arch pacman page (https://wiki.archlinux.org/index.php/pa … an_upgrade):

- mount system's root filesystem;
- run: pacman --root=/mnt --cachedir=/mnt/var/cache/pacman/pkg -Syyu

It didn't work, same openssl-1.0 issue.

I followed vgf89 and lukasm solution and the problem was solved. Thanks guys! :-)

Downgrade openssl to a previous version (in my case it was also 1.0.2.k):

$ pacman -U /var/cache/pacman/pkg/openssl-1.0.2.k-1-x86_64.pkg.tar.xz --force

Downgrade pacman to a previous version (this case 5.0.1-4):

$ pacman -U /var/cache/pacman/pkg/pacman-5.0.1-4-x86_64.pkg.tar.xz --force

When updating with pacman -Syu the conflicting files errors refer now to openssl-1.1.
I have moved /usr/lib/libssl.so.1.1 and /usr/lib/libcrypto.so.1.1 to a backup location and "pacman -Syu" now works.

Я откатился к старой версии openssl:

pacman -U /var/cache/pacman/pkg/openssl-1.0-1.0.2.l-1-x86_64.pkg.tar.xz

Попытался обновиться (pacman -Syu), но проблема та же:

error: failed to commit transaction (conflicting files)
openssl-1.0: /usr/lib/libcrypto.so.1.0.0 exists in filesystem
openssl-1.0: /usr/lib/libssl.so.1.0.0 exists in filesystem
Errors occurred, no packages were upgraded.
Установил openssl с ключом --force: pacman -S openssl --force, но это не помогло. Переименовал библиотеки старого openssl, и опять пакман не работает. Если вернуть все как было,пакман будет ругаться на присутствующие библиотеки старого openssl.


:: Proceed with installation? [Y/n] y
(546/546) checking keys in keyring                 [######################] 100%
(546/546) checking package integrity               [######################] 100%
(546/546) loading package files                    [######################] 100%
(546/546) checking for file conflicts              [######################] 100%
error: failed to commit transaction (conflicting files)
openssl-1.0: /usr/lib/libcrypto.so.1.0.0 exists in filesystem
openssl-1.0: /usr/lib/libssl.so.1.0.0 exists in filesystem
Errors occurred, no packages were upgraded.
[[email protected] Desktop]# mv /usr/lib/libssl.so.1.0.0 /usr/lib/libssl.so.1.0.0.old
[[email protected] Desktop]# mv /usr/lib/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.1.0.0.old
[[email protected] Desktop]# pacman -Su
pacman: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
[[email protected] Desktop]#

Теперь пакман отвалился.

[[email protected] Desktop]$ su root
Password:
[[email protected] Desktop]# mv /usr/lib/libssl.so.1.0.0 /usr/lib/libssl.so.1.0.0.old[[email protected] Desktop]# pacman -Su
pacman: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
[[email protected] Desktop]# pacman -S openssl
pacman: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
После переименования libcrypto появилась новая ошибка.


[[email protected] Desktop]$ pacman -Q openssl
openssl 1.1.0.f-1
[[email protected] Desktop]$ sudo mv /usr/lib/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.1.0.0.old
[[email protected] Desktop]$ sudo mv /usr/lib/libssl.so.1.0.0 /usr/lib/libssl.so.1.0.0.old
sudo: error in /etc/sudo.conf, line 0 while loading plugin `sudoers_policy'
sudo: unable to load /usr/lib/sudo/sudoers.so: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
sudo: fatal error, unable to load plugins


su root и доводить до конца?
RusWolf
Переименуй эти два файла из под root.
К примеру в /usr/lib/libcrypto.so.1.0.0.old и /usr/lib/libssl.so.1.0.0.old
И ставь пакет заново.

Вчера я таким образом обновил OpenSSL до нужной версии, после чего пакман перестал работать. Я нашел решение и откатил версию openssl, и тогда пакман заработал. Как сделать так, чтобы эта проблема не повторилась? Надо обновить пакман? Как это сделать?
Прочитал новости, с ключом --force обновил ttf-dejavu и удалил сертификат, но openssl таким же образом (с ключом --force) обновить не получается.


error: failed to commit transaction (conflicting files)
openssl-1.0: /usr/lib/libcrypto.so.1.0.0 exists in filesystem
openssl-1.0: /usr/lib/libssl.so.1.0.0 exists in filesystem
Errors occurred, no packages were upgraded.