1f1e8 [Solved] /libexec/ld-elf.so.1: Shared object "libssl.so.7" not found - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old February 19th, 2011, 01:49
ccc ccc is offline
Member
 
Join Date: Jan 2009
Posts: 550
Thanks: 201
Thanked 4 Times in 4 Posts
Default /libexec/ld-elf.so.1: Shared object "libssl.so.7" not found

hi

I've done portupgrade -a on my FreeBSD 7.3 and now cannot start KDE:
Code:
# uname -a
FreeBSD bsd.ch.bluee.net 7.3-RELEASE-p2 FreeBSD 7.3-RELEASE-p2 #0: Mon Jul 12 19:04:04 UTC 2010     
root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

# startx
xauth:  creating new authority file /root/.serverauth.17258

/libexec/ld-elf.so.1: Shared object "libssl.so.7" not found, required by "Xorg"
giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

Last edited by ccc; April 18th, 2012 at 02:52.
Reply With Quote
  #2  
Old February 19th, 2011, 02:58
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,727
Thanks: 432
Thanked 1,763 Times in 1,460 Posts
Default

Whatever you're doing for upgrading ports is broken in some way. Install sysutils/bsdadminscripts and run
% pkg_libchk

This should help point out all the library problems on your system. It may be quicker to save all your config settings in /etc and /usr/local/etc, then start over with 8.2. Update the ports tree before installing anything, and then install everything from ports, not outdated packages.

If you want to keep your current system, use at least the -r option with portupgrade when upgrading single ports. -R wouldn't hurt, either. Make sure you have ports-mgmt/portupgrade-devel, too.
Reply With Quote
The Following User Says Thank You to wblock@ For This Useful Post:
ccc (February 19th, 2011)
  #3  
Old February 19th, 2011, 03:35
ccc ccc is offline
Member
 
Join Date: Jan 2009
Posts: 550
Thanks: 201
Thanked 4 Times in 4 Posts
Default

Thx, I get this:
Code:
# pkg_libchk
curl-7.21.3: /usr/local/bin/curl misses libssl.so.7
curl-7.21.3: /usr/local/bin/curl misses libcrypto.so.7
curl-7.21.3: /usr/local/bin/curl misses libssl.so.7
curl-7.21.3: /usr/local/bin/curl misses libcrypto.so.7
curl-7.21.3: /usr/local/lib/libcurl.so.6 misses libssl.so.7
curl-7.21.3: /usr/local/lib/libcurl.so.6 misses libcrypto.so.7
boost-libs-1.45.0_1: /usr/local/lib/libboost_graph.so.4 misses libicuuc.so.38
boost-libs-1.45.0_1: /usr/local/lib/libboost_graph.so.4 misses libicui18n.so.38
boost-libs-1.45.0_1: /usr/local/lib/libboost_graph.so.4 misses libicudata.so.38
boost-libs-1.45.0_1: /usr/local/lib/libboost_graph.so.4 misses libicuuc.so.38
boost-libs-1.45.0_1: /usr/local/lib/libboost_graph.so.4 misses libicui18n.so.38
boost-libs-1.45.0_1: /usr/local/lib/libboost_graph.so.4 misses libicudata.so.38
boost-libs-1.45.0_1: /usr/local/lib/libboost_regex.so.4 misses libicuuc.so.38
boost-libs-1.45.0_1: /usr/local/lib/libboost_regex.so.4 misses libicui18n.so.38
boost-libs-1.45.0_1: /usr/local/lib/libboost_regex.so.4 misses libicudata.so.38
gftp-2.0.19_4: /usr/local/bin/gftp-gtk misses libcrypto.so.7
gftp-2.0.19_4: /usr/local/bin/gftp-gtk misses libssl.so.7
gftp-2.0.19_4: /usr/local/bin/gftp-text misses libcrypto.so.7
gftp-2.0.19_4: /usr/local/bin/gftp-text misses libssl.so.7
kdeartwork-3.5.10_4: /usr/local/lib/kde3/kwin3_cde.so misses libkdecorations.so.1
kdeartwork-3.5.10_4: /usr/local/lib/kde3/kwin3_glow.so misses libkdecorations.so.1
kdeartwork-3.5.10_4: /usr/local/lib/kde3/kwin3_icewm.so misses libkdecorations.so.1
kdeartwork-3.5.10_4: /usr/local/lib/kde3/kwin3_kde1.so misses libkdecorations.so.1
kdeartwork-3.5.10_4: /usr/local/lib/kde3/kwin3_kstep.so misses libkdecorations.so.1
kdeartwork-3.5.10_4: /usr/local/lib/kde3/kwin3_openlook.so misses libkdecorations.so.1
kdeartwork-3.5.10_4: /usr/local/lib/kde3/kwin3_riscos.so misses libkdecorations.so.1
kdeartwork-3.5.10_4: /usr/local/lib/kde3/kwin3_smoothblend.so misses libkdecorations.so.1
kdeartwork-3.5.10_4: /usr/local/lib/kde3/kwin3_system.so misses libkdecorations.so.1
kdegraphics-3.5.10_8: /usr/local/lib/kde3/kfile_pdf.so misses libpoppler.so.5
kdenetwork-3.5.10_3: /usr/local/bin/krdc misses libcrypto.so.7
kdenetwork-3.5.10_3: /usr/local/bin/krfb misses libcrypto.so.7
kdenetwork-3.5.10_3: /usr/local/lib/kde3/kcm_krfb.so misses libcrypto.so.7
kdenetwork-3.5.10_3: /usr/local/lib/kde3/kded_kinetd.so misses libcrypto.so.7
net-snmp-5.5_4: /usr/local/lib/libnetsnmphelpers.so.20 misses libperl.so
net-snmp-5.5_4: /usr/local/lib/libnetsnmpmibs.so.20 misses libperl.so
net-snmp-5.5_4: /usr/local/lib/libnetsnmpmibs.so.20 misses libperl.so
wireshark-1.4.3: /usr/local/lib/libwireshark.so.0 misses libcrypto.so.7
Howto solve these problems now?
Should I update these all packages using portupgrade -fr package
?

Last edited by DutchDaemon; February 23rd, 2011 at 02:43.
Reply With Quote
  #4  
Old February 19th, 2011, 04:00
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,727
Thanks: 432
Thanked 1,763 Times in 1,460 Posts
Default

The shotgun approach would be
# portupgrade -cfrR curl boost-libs gftp kdeartwork kdegraphics kdenetwork net-snmp wireshark

The -c is to have portupgrade show configuration options before it starts building anything. That's good here, because this will probably take a long time to run.
It might fail, too. If it does, re-run pkg_libchk and try again with the new, hopefully shorter list of things to rebuild.
Reply With Quote
The Following 2 Users Say Thank You to wblock@ For This Useful Post:
ccc (February 19th, 2011), ghostcorps (April 24th, 2012)
  #5  
Old February 20th, 2011, 18:04
ccc ccc is offline
Member
 
Join Date: Jan 2009
Posts: 550
Thanks: 201
Thanked 4 Times in 4 Posts
Default

Thx again, I've done and now I get:
Code:
# pkg_libchk
kdegraphics-3.5.10_8: /usr/local/lib/kde3/kfile_pdf.so misses libpoppler.so.5
net-snmp-5.5_4: /usr/local/lib/libnetsnmphelpers.so.20 misses libperl.so
net-snmp-5.5_4: /usr/local/lib/libnetsnmpmibs.so.20 misses libperl.so
net-snmp-5.5_4: /usr/local/lib/libnetsnmpmibs.so.20 misses libperl.so
Reply With Quote
  #6  
Old February 20th, 2011, 19:02
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,727
Thanks: 432
Thanked 1,763 Times in 1,460 Posts
Default

Both kdegraphics and net-snmp were on the list already, and it should have rebuilt everything they needed in the previous step. You can try it again, but watch for errors:
# portupgrade -cfrR kdegraphics net-snmp

See this to save the output so you can look through it.
Reply With Quote
The Following User Says Thank You to wblock@ For This Useful Post:
ccc (February 21st, 2011)
  #7  
Old February 21st, 2011, 01:20
ccc ccc is offline
Member
 
Join Date: Jan 2009
Posts: 550
Thanks: 201
Thanked 4 Times in 4 Posts
Default

I've done, cannot see errors and still get this:
Code:
# pkg_libchk
net-snmp-5.5_4: /usr/local/lib/libnetsnmphelpers.so.20 misses libperl.so
net-snmp-5.5_4: /usr/local/lib/libnetsnmpmibs.so.20 misses libperl.so
net-snmp-5.5_4: /usr/local/lib/libnetsnmpmibs.so.20 misses libperl.so
Code:
# pkg_info | grep perl
p5-DBI-1.615        The perl5 Database Interface.  Required for DBD::* modules
p5-Devel-Symdump-2.0800 A perl5 module that dumps symbol names or the symbol table
p5-Lchown-1.01_1    A perl5 module providing access to lchown(2)
p5-PPI-1.213        Analyze and manipulate Perl code without using perl itself
p5-Scalar-List-Utils-1.23,1 Perl subroutines that would be nice to have in the perl cor
p5-Sort-Versions-1.5 A perl 5 module for sorting of revision-like numbers
p5-Storable-2.25    Persistency for perl data structures
p5-Test-Harness-3.22 Run perl standard test scripts with statistics
p5-Test-Simple-0.96 Basic utilities for writing tests in perl
p5-Time-HiRes-1.9721,1 A perl5 module implementing High resolution time, sleep, an
perl-5.10.1_3       Practical Extraction and Report Language
perltidy-20101217   Indents and reformats Perl scripts to make them easier to r
tmake-1.7_5         Extremely portable perl-based make utility

Last edited by ccc; February 21st, 2011 at 01:56.
Reply With Quote
  #8  
Old February 21st, 2011, 02:01
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,727
Thanks: 432
Thanked 1,763 Times in 1,460 Posts
Default

I'd deinstall net-snmp, clean, capture the output with script(1), then try to build and install it just with the port, not with portupgrade.
Reply With Quote
The Following User Says Thank You to wblock@ For This Useful Post:
ccc (February 21st, 2011)
  #9  
Old February 21st, 2011, 02:28
ccc ccc is offline
Member
 
Join Date: Jan 2009
Posts: 550
Thanks: 201
Thanked 4 Times in 4 Posts
Default

I've done, but still get this problem:
Code:
# cd /usr/ports/net-mgmt/net-snmp
# make deinstall
# make clean
# make install clean

# pkg_libchk
net-snmp-5.5_4: /usr/local/lib/libnetsnmphelpers.so.20 misses libperl.so
net-snmp-5.5_4: /usr/local/lib/libnetsnmpmibs.so.20 misses libperl.so
net-snmp-5.5_4: /usr/local/lib/libnetsnmpmibs.so.20 misses libperl.so

Last edited by ccc; February 21st, 2011 at 03:15.
Reply With Quote
  #10  
Old February 21st, 2011, 04:06
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,727
Thanks: 432
Thanked 1,763 Times in 1,460 Posts
Default

Without seeing what happened during the build, don't know. At a guess, Perl was upgraded but not following /usr/ports/UPDATING.

I just installed net-snmp, and pkg_libchk shows the same thing. So it may be a false positive, and not a real problem.

Last edited by wblock@; February 21st, 2011 at 04:12.
Reply With Quote
The Following User Says Thank You to wblock@ For This Useful Post:
ccc (February 21st, 2011)
  #11  
Old February 23rd, 2011, 02:29
ccc ccc is offline
Member
 
Join Date: Jan 2009
Posts: 550
Thanks: 201
Thanked 4 Times in 4 Posts
Default

It could be a false positive, I've followed all /usr/ports/UPDATING instructions.

Last edited by DutchDaemon; February 23rd, 2011 at 02:42.
Reply With Quote
  #12  
Old April 17th, 2012, 18:55
wmoreno3 wmoreno3 is offline
Junior Member
 
Join Date: Oct 2011
Posts: 30
Thanks: 1
Thanked 1 Time in 1 Post
Default you must try this ...

Code:
/libexec/ld-elf.so.1: Shared object "libssl.so.7" not found
> cd /usr/local/lib
> ln -s libssl.so.8 libssl.so.7
> ls -l libssl*
-rw-r--r--  1 root  wheel  713026 Apr 14 08:59 libssl.a
lrwxr-xr-x  1 root  wheel      11 Apr 14 08:59 libssl.so -> libssl.so.8
lrwxr-xr-x  1 root  wheel      11 Apr 17 08:39 libssl.so.7 -> libssl.so.8
-r--r--r--  1 root  wheel  456119 Apr 14 08:59 libssl.so.8

> ln -s libcrypto.so.8 libcrypto.so.7
> ls -l libcrypto*
-rw-r--r--  1 root  wheel  3865390 Apr 14 08:59 libcrypto.a
lrwxr-xr-x  1 root  wheel       14 Apr 14 08:59 libcrypto.so -> libcrypto.so.8
lrwxr-xr-x  1 root  wheel       14 Apr 17 08:42 libcrypto.so.7 -> libcrypto.so.8
-r--r--r--  1 root  wheel  2158647 Apr 14 08:59 libcrypto.so.8

Last edited by DutchDaemon; April 18th, 2012 at 00:39.
Reply With Quote
The Following User Says Thank You to wmoreno3 For This Useful Post:
ccc (April 17th, 2012)
  #13  
Old April 17th, 2012, 23:57
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,727
Thanks: 432
Thanked 1,763 Times in 1,460 Posts
Default

Read some of the many threads about soft-linking libraries first.
Reply With Quote
  #14  
Old April 18th, 2012, 01:10
ccc ccc is offline
Member
 
Join Date: Jan 2009
Posts: 550
Thanks: 201
Thanked 4 Times in 4 Posts
Default

I've done a new FreeBSD 8.2 installation and now 'startx' works without any problems.

BTW I get the following:
Code:
# pkg_libchk
gamin-0.1.10_4: /usr/local/libexec/gam_server misses libpcre.so.0
#
# cd /usr/local/lib
# ls -l libssl*
ls: No match.
# ls -l libcrypto*
ls: No match.

Last edited by DutchDaemon; April 18th, 2012 at 01:20.
Reply With Quote
  #15  
Old April 18th, 2012, 01:30
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,727
Thanks: 432
Thanked 1,763 Times in 1,460 Posts
Default

Rebuild gamin to fix it.
Reply With Quote
The Following User Says Thank You to wblock@ For This Useful Post:
ccc (April 18th, 2012)
  #16  
Old April 18th, 2012, 02:51
ccc ccc is offline
Member
 
Join Date: Jan 2009
Posts: 550
Thanks: 201
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by wblock@ View Post
Rebuild gamin to fix it.
Thanks a lot, deinstall/install gamin solved this problem on FreeBSD 8.2.

Last edited by DutchDaemon; April 18th, 2012 at 13:39.
Reply With Quote
  #17  
Old April 24th, 2012, 05:20
ghostcorps ghostcorps is offline
Member
 
Join Date: May 2009
Posts: 241
Thanks: 68
Thanked 0 Times in 0 Posts
Default

Hi guys,

I have just come across the same thing as ccc with libtorrent-devel-0.13.1. After running pkg_libchk I found a number of other library issues which I am correcting as advised with # portupgrade -cfrR libtorrent-devel etc....

I would like to know what has caused this so I can avoid it in future.

I upgrade my ports as follows:

#portsnap fetch
#portsnap extract
#portmaster -a -i

Thanks
__________________
FreeBSD 8.3 RELEASE

Last edited by DutchDaemon; April 24th, 2012 at 23:25.
Reply With Quote
  #18  
Old April 24th, 2012, 05:54
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,727
Thanks: 432
Thanked 1,763 Times in 1,460 Posts
Default

Read and follow the instructions in /usr/ports/UPDATING. Don't use portmaster -a until after you've done any steps required by UPDATING.

Last edited by DutchDaemon; April 24th, 2012 at 23:25.
Reply With Quote
The Following User Says Thank You to wblock@ For This Useful Post:
ghostcorps (April 24th, 2012)
  #19  
Old April 24th, 2012, 08:49
ghostcorps ghostcorps is offline
Member
 
Join Date: May 2009
Posts: 241
Thanks: 68
Thanked 0 Times in 0 Posts
Default

I thought that was it

I used to be religious about following /usr/ports/UPDATING but got lazy after a while.

That will teach me not to lower my standards


Thanks
__________________
FreeBSD 8.3 RELEASE
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] /libexec/ld-elf.so.1: Shared object "libjpeg.so.9" not found SeaHag Installation and Maintenance of FreeBSD Ports or Packages 41 July 15th, 2011 21:28
Shared object "libssl.so.7" not found, required by "Xorg" ccc X.Org 1 February 18th, 2011 15:39
/libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "pg_config" LocalEtc Installation and Maintenance of FreeBSD Ports or Packages 7 February 9th, 2011 18:30
/libexec/ld-elf.so.1: Shared object "libgcrypt.so.16" not found cabriofahrer Installation and Maintenance of FreeBSD Ports or Packages 13 November 4th, 2010 15:11
getting ERROR /usr/libexec/ld-elf.so.1: Shared object "libsnmp.so.4" not found, akshay_aradhye Web & Network Services 5 February 18th, 2009 22:53


All times are GMT +1. The time now is 07:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0