Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] openssh-5.6_p1-r2 - fails to emerge

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
Joseph_sys
Advocate
Advocate
Posts: 2731
Joined: Tue Jun 08, 2004 4:05 pm
Location: Edmonton, AB

[SOLVED] openssh-5.6_p1-r2 - fails to emerge

  • Quote

Post by Joseph_sys » Sat Nov 27, 2010 8:49 pm

Running standard upgrade I got stuck on openssh

Code: Select all

collect2: ld returned 1 exit status
make: *** [sshd] Error 1
make: *** Waiting for unfinished jobs....
emake failed
 * ERROR: net-misc/openssh-5.6_p1-r2 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3434:  Called die
 * The specific snippet of code:
 *       emake || die
 * 
 * If you need support, post the output of 'emerge --info =net-misc/openssh-5.6_p1-r2',
 * the complete build log and the output of 'emerge -pqv =net-misc/openssh-5.6_p1-r2'.
 * The complete build log is located at '/var/log/portage/net-misc:openssh-5.6_p1-r2:20101127-203551.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/openssh-5.6_p1-r2/temp/environment'.
 * S: '/var/tmp/portage/net-misc/openssh-5.6_p1-r2/work/openssh-5.6p1'

>>> Failed to emerge net-misc/openssh-5.6_p1-r2
Is anybody getting similar error?
Last edited by Joseph_sys on Sun Nov 28, 2010 6:51 am, edited 1 time in total.
Top
Etal
Veteran
Veteran
User avatar
Posts: 1932
Joined: Fri Jul 15, 2005 3:01 pm

  • Quote

Post by Etal » Sat Nov 27, 2010 8:57 pm

You need to post the output higher than that, the actual error...
Top
tony-curtis
Tux's lil' helper
Tux's lil' helper
Posts: 111
Joined: Sat May 20, 2006 11:52 pm

  • Quote

Post by tony-curtis » Sat Nov 27, 2010 8:58 pm

Looks like the badness happened right before the first line you included. Can you post the full build log for openssh?
Top
Joseph_sys
Advocate
Advocate
Posts: 2731
Joined: Tue Jun 08, 2004 4:05 pm
Location: Edmonton, AB

  • Quote

Post by Joseph_sys » Sat Nov 27, 2010 9:14 pm

Yah, I missed that part, here it is

Code: Select all

/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../../i686-pc-linux-gnu/bin/ld: warning: libcrypto.so.0.9.8, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_connect'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_set_bio'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_CTX_set_client_CA_list'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_add_dir_cert_subjects_to_stack'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_CTX_set_verify'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_load_error_strings'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_CIPHER_get_bits'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_get_peer_certificate'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_free'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_get_certificate'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_CTX_new'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_get_verify_result'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_read'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_CTX_set_session_id_context'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_pending'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_get_current_cipher'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_load_client_CA_file'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_CTX_load_verify_locations'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_alert_desc_string_long'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_state_string_long'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_alert_type_string_long'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_CTX_use_PrivateKey_file'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_library_init'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_CTX_use_certificate_file'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_CTX_set_cipher_list'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_new'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_write'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_CTX_get_cert_store'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_accept'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_shutdown'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_CTX_set_info_callback'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_CTX_set_default_verify_paths'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_CTX_set_tmp_rsa_callback'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_CTX_ctrl'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_CTX_set_tmp_dh_callback'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_get_error'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSL_CTX_free'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so: undefined reference to `SSLv23_method'
collect2: ld returned 1 exit status
make: *** [sshd] Error 1
make: *** Waiting for unfinished jobs....
emake failed
 * ERROR: net-misc/openssh-5.6_p1-r2 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3434:  Called die
 * The specific snippet of code:
 *       emake || die
Top
tony-curtis
Tux's lil' helper
Tux's lil' helper
Posts: 111
Joined: Sat May 20, 2006 11:52 pm

  • Quote

Post by tony-curtis » Sat Nov 27, 2010 9:19 pm

warning: libcrypto.so.0.9.8, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../libldap.so, not found (try using -rpath or -rpath-link)
There you go. You're trying to build OpenSSH without OpenSSL. That's going to end in tears...

Do you have OpenSSL installed, and if so, which version?

Code: Select all

eix -I openssl
or

Code: Select all

emerge -s '%openssl$'
(if you haven't set up eix) will tell you.
Top
Etal
Veteran
Veteran
User avatar
Posts: 1932
Joined: Fri Jul 15, 2005 3:01 pm

  • Quote

Post by Etal » Sat Nov 27, 2010 10:04 pm

To me, it looks like you upgraded your openssl but did not run revdep-rebuild to ensure all your other packages are linking to 1.0.0 and not 0.9.8.
Top
Joseph_sys
Advocate
Advocate
Posts: 2731
Joined: Tue Jun 08, 2004 4:05 pm
Location: Edmonton, AB

  • Quote

Post by Joseph_sys » Sat Nov 27, 2010 10:32 pm

Etal wrote:To me, it looks like you upgraded your openssl but did not run revdep-rebuild to ensure all your other packages are linking to 1.0.0 and not 0.9.8.
I always do revdep-rebuild as this is my backup machine, so I have to make sure that this machine has no errors and everything works before I upgrade other boxes. But you are correct running revdep-rebuild listed 48-packages for rebuild. I'm surprised!
Could it be that I upgraded to newer portage :-/?
Top
idella4
Retired Dev
Retired Dev
User avatar
Posts: 1600
Joined: Fri Jun 09, 2006 11:29 am
Location: Australia, Perth

  • Quote

Post by idella4 » Sat Nov 27, 2010 10:42 pm

yes, it's possible. The latest portage is only in the last few weeks or so. That said, portage as far as I know doesn't list itself in updates, but prompts on an emerge --sync to emerge it when a new version is released. Not sure.
idella4@aus
Top
Joseph_sys
Advocate
Advocate
Posts: 2731
Joined: Tue Jun 08, 2004 4:05 pm
Location: Edmonton, AB

  • Quote

Post by Joseph_sys » Sun Nov 28, 2010 6:50 am

Most problems were related to new portage, and revdep-rebuild was able to fix almost all of them except few from KDE3.5
Top
Post Reply

9 posts • Page 1 of 1

Return to “Portage & Programming”

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