LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-25-2017, 04:46 AM   #1
gildbg
Member
 
Registered: Aug 2017
Distribution: Slackware, OpenBSD
Posts: 156

Rep: Reputation: Disabled

Hello,

and Merry Christmas. Today I upgrade to current tree and after restrarting samba package got error:

root@www:~# sh /etc/rc.d/rc.samba start
Starting Samba: /usr/sbin/smbd -D
/usr/sbin/smbd: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
/usr/sbin/nmbd -D


Quick worked fix is until new in tree:
ln -s libcrypto.so.1.0.0 libcrypto.so.1.1

Last edited by gildbg; 12-25-2017 at 04:52 AM. Reason: Added quick fix
 
Old 12-25-2017, 06:03 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Works fine here

Code:
libcrypto.so.1 => /lib/libcrypto.so.1
 
Old 12-25-2017, 06:35 AM   #3
gildbg
Member
 
Registered: Aug 2017
Distribution: Slackware, OpenBSD
Posts: 156

Original Poster
Rep: Reputation: Disabled
Yes,
package 4.7.3 work, 4.7.4 does not.

# pkg_info -s samba
samba-4.7.3-x86_64-1

# ldd /usr/sbin/smbd | grep crypt
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f6bd80c5000)
libcrypto.so.1 => /lib64/libcrypto.so.1 (0x00007f6bd510a000)
libhcrypto-samba4.so.5 => /usr/lib64/libhcrypto-samba4.so.5 (0x00007f6bd411b000)


# slackpkg upgrade
# slackpkg install-new
# slackpkg upgrade-all
# ldconfig
# pkg_info -s samba
samba-4.7.4-x86_64-1

# ldd /usr/sbin/smbd | grep crypt
libcrypto.so.1.1 => not found
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f09cc717000)
libcrypto.so.1 => /lib64/libcrypto.so.1 (0x00007f09c975c000)
libhcrypto-samba4.so.5 => /usr/lib64/libhcrypto-samba4.so.5 (0x00007f09c876d000)

Last edited by gildbg; 12-25-2017 at 06:37 AM. Reason: Add comment
 
Old 12-25-2017, 06:52 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
x86 seems to work fine here, so i think it only happened on x86_64 since i can reproduce the same thing on my x86_64 machine

and it seems not only samba is affected, but also vorbis-tools and moc.
 
Old 12-25-2017, 08:18 AM   #5
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,211

Rep: Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998
i think, it's compiled with openssl-1.1.0
 
Old 12-25-2017, 08:55 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
yes, looking at the version, it seems Patrick is testing openssl 1.1.x
 
Old 12-25-2017, 09:15 AM   #7
marrowsuck
Member
 
Registered: Sep 2006
Posts: 202

Rep: Reputation: 89
vorbis-tools-1.4.0-x86_64-2 and moc-2.5.2-x86_64-2 are also affected.
Code:
# ldd /usr/bin/ogg123 | grep "not found"
        libssl.so.1.1 => not found                                                                                                                                       
        libcrypto.so.1.1 => not found
# ldd /usr/bin/mocp | grep "not found"
        libssl.so.1.1 => not found                                                                                                                                       
        libcrypto.so.1.1 => not found

Last edited by marrowsuck; 12-25-2017 at 09:16 AM.
 
Old 12-25-2017, 10:46 AM   #8
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,211

Rep: Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998
It's Christmas, we will not quibble
 
1 members found this post helpful.
Old 12-25-2017, 11:35 AM   #9
marrowsuck
Member
 
Registered: Sep 2006
Posts: 202

Rep: Reputation: 89
Quote:
Originally Posted by gmgf View Post
It's Christmas, we will not quibble
Hell no! Even if it's not christmas, slackware packages are more or less always presents.
 
Old 12-25-2017, 11:39 AM   #10
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,503

Rep: Reputation: 8459Reputation: 8459Reputation: 8459Reputation: 8459Reputation: 8459Reputation: 8459Reputation: 8459Reputation: 8459Reputation: 8459Reputation: 8459Reputation: 8459
Quote:
Originally Posted by willysr View Post
yes, looking at the version, it seems Patrick is testing openssl 1.1.x
I think they changed the INSTALL_PREFIX functionality in that. I was wondering why there weren't any libraries in the test package.

Yes, I am looking into the new openssl (how did you know lol), but first we'll fix these mislinked packages. The new openssl will need a hundred recompiles more or less. The ABI is not at all backward compatible, and everything using libssl or libcrypto is going to need to be upgraded or rebuilt.
 
3 members found this post helpful.
Old 12-25-2017, 01:24 PM   #11
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Given that there are already disruptive ABI changes, maybe its worth (re)considering libressl? It might reduce this instability in the future while providing better security, but I'm not sure how many of the smaller details may or may not make this practical?
 
Old 12-26-2017, 07:33 PM   #12
heyjann
Member
 
Registered: Dec 2015
Posts: 102

Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
Given that there are already disruptive ABI changes, maybe its worth (re)considering libressl? It might reduce this instability in the future while providing better security, but I'm not sure how many of the smaller details may or may not make this practical?
LibreSSL does not seem to have a lot of traction outside the BSDs. Void Linux uses it, but they are a rolling release and can recompile everything all the time - LibreSSL is not exactly focused on LTS releases (yet?), which may make it less useful for Slackware's purposes.
https://www.libressl.org/releases.html

Also, LibreSSL's 'just' (actually a massive achievement) a cleaned-up version of OpenSSL 1.0.x.
https://github.com/libressl-portable...y-with-openssl
There is a 'risk' important software will move on to 1.1 to the extent of leaving 1.0 (either in its OpenSSL or LibreSSL form) unsupported or nearly so (lots of patches needed).

The people behind LibreSSL seem unhappy with the 1.0->1.1 change too
http://openbsd-archive.7691.n7.nabbl...-td310468.html
and they appear reluctant to make LibreSSL support 1.1 anytime soon, but all they would be able to do to put their foot down, if they would want, is to not yet co-operate with efforts to make OpenSSH (which they are also involved with) 1.1-compatible.
https://bugs.debian.org/cgi-bin/bugr...?bug=828475#70

I like LibreSSL a lot but OpenSSL 1.1 is probably the safer bet at the moment, unfortunately...
 
1 members found this post helpful.
Old 12-27-2017, 09:17 PM   #13
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 321

Rep: Reputation: Disabled
gildbg, have you tried the most recent current?
Code:
Mon Dec 25 20:16:03 UTC 2017
Whoops, it looks like a little test residue on my build machine caused me to
wrap a couple of presents wrong. All fixed up, Merry Christmas everyone!
ap/moc-2.5.2-x86_64-3.txz:  Rebuilt.
ap/vorbis-tools-1.4.0-x86_64-3.txz:  Rebuilt.
l/opusfile-0.9-x86_64-2.txz:  Rebuilt.
n/samba-4.7.4-x86_64-2.txz:  Rebuilt.
 
Old 12-28-2017, 04:40 AM   #14
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,540

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
Quote:
Originally Posted by heyjann View Post
LibreSSL does not seem to have a lot of traction outside the BSDs. Void Linux uses it, but they are a rolling release and can recompile everything all the time - LibreSSL is not exactly focused on LTS releases (yet?), which may make it less useful for Slackware's purposes.
https://www.libressl.org/releases.html

Also, LibreSSL's 'just' (actually a massive achievement) a cleaned-up version of OpenSSL 1.0.x.
https://github.com/libressl-portable...y-with-openssl
There is a 'risk' important software will move on to 1.1 to the extent of leaving 1.0 (either in its OpenSSL or LibreSSL form) unsupported or nearly so (lots of patches needed).
Exactly. Also, OpenSSL also had an injection of funding and development resource (from some of the businesses that depend on it) after the scares last year, with the aim of improving the strength of the product.
 
Old 12-28-2017, 11:20 AM   #15
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
While libressl was often not affected or already fixed.
https://en.wikipedia.org/wiki/LibreS...ulnerabilities

The point about API compatibility is good as its still yet to be seen how this plays out.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] After upgrade to 14.2: X:Error loading shared libraries. libudev.so.0:cannot open shared object file san2ban Slackware 33 07-06-2016 02:15 AM
while booting linux VM (5.8) getting error "error while loading shared libraries: lib IgnitedMind Linux - Enterprise 2 04-30-2013 12:49 AM
Can't login to 10.04 LTS server with error sh: error while loading shared libraries swankster Ubuntu 2 12-31-2010 12:14 PM
Error opening terminal:vt102 and error while loading shared libraries:libncurses.so.5 nathan Linux - Software 1 08-11-2009 11:03 PM
error while loading shared libraries: libcrypto.so.4 in RHEL 4 AS SianZronG Linux - Enterprise 8 09-11-2007 02:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration