Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

Resolved: Compilation Issue with net-libs/libproxy-0.5.3

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

Resolved: Compilation Issue with net-libs/libproxy-0.5.3

  • Quote

Post by maxim.251 » Fri Dec 22, 2023 6:25 am

Post:

Hello Gentoo Community,

I wanted to share a recent issue I encountered and its resolution, as it might be helpful for others facing a similar situation.

Problem:
I was experiencing a problem while trying to compile net-libs/libproxy-0.5.3. The compilation process failed with an error indicating that libssl.so.1.1 was missing. The error message was as follows:

Code: Select all

/var/tmp/portage/net-libs/libproxy-0.5.3/work/libproxy-0.5.3-abi_x86_64.amd64/tmp-introspectfi3hismw/Libproxy-1.0: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
Command '['/var/tmp/portage/net-libs/libproxy-0.5.3/work/libproxy-0.5.3-abi_x86_64.amd64/tmp-introspectfi3hismw/Libproxy-1.0', '--introspect-dump=/var/tmp/portage/net-libs/libproxy-0.5.3/work/libproxy-0.5.3-abi_x86_64.amd64/tmp-introspectfi3hismw/functions.txt,/var/tmp/portage/net-libs/libproxy-0.5.3/work/libproxy-0.5.3-abi_x86_64.amd64/tmp-introspectfi3hismw/dump.xml']' returned non-zero exit status 127.
And exact this line

Code: Select all

/var/tmp/portage/net-libs/libproxy-0.5.3/work/libproxy-0.5.3-abi_x86_64.amd64/tmp-introspectfi3hismw/Libproxy-1.0: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
Openssl is in version 3 and his libs are libssl-3.0 but libproxy still needed libssl-1.1
Solution:
After some investigation, I found that the issue was due to the Openssl is in version 3 and his libs are libssl-3.0 but libproxy still needed libssl-1.1. However, openssl-1.1 was masked in my Gentoo system. The solution was to install dev-libs/openssl-compat, which provides compatibility with older versions of OpenSSL, including the required libssl.so.1.1 library.

The following steps resolved the issue:

Installed dev-libs/openssl-compat:

Code: Select all

emerge -av dev-libs/openssl-compat
Checked for the presence of libssl.so.1.1:

Code: Select all

find /usr -name 'libssl.so.1.1'
Updated library paths with ldconfig:

Code: Select all

ldconfig
Re-compiled libproxy:

Code: Select all

emerge -av net-libs/libproxy
After these steps, libproxy compiled successfully without any issues.

I hope this information is helpful to anyone who might encounter a similar issue. Feel free to reach out if you have any questions or need further details.
Top
grknight
Retired Dev
Retired Dev
Posts: 2563
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Fri Dec 22, 2023 1:52 pm

Unless libproxy is a pre-built binary, this is the wrong answer. We don't know what's going on without the full build.log.

openssl-compat is meant for things that cannot be recompiled. You, and those here can help, should find the real issue if this is compiled.

This is also incorrect as libproxy itself does not depend on openssl at all. This is likely some other issue related to build timing.
Top
Post Reply

2 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic