LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-19-2019, 09:05 PM   #1
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,401
Blog Entries: 3

Rep: Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513
Question Prepare to shared libs version bump in -current


I did not update last few weeks to avoid breakage due to boost upgrade.

After I did flawless, I checked this wy what might break (ncmpcpp and mpd was first noticed) :

Code:
sh shared-libs /usr/bin boost
with

Code:
$cat shared-libs
#! /bin/bash

binaries=$(ls $1)

for binary in ${binaries}
do
  	if [ $(ldd $(which $binary 2>/dev/null) 2>/dev/null | grep $2 | grep 'not found' | wc -l) -gt 0 ]
        then echo $binary
        fi
done

I ran that on a couple of directories, with boost and icu4u.

Before going further, do you have any suggestions (it's quite long, I might hard code a few paths) ?

Regards
 
Old 05-19-2019, 11:33 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Easiest thing is to just use Eric's boost-compat and icu4c-compat and this will allow your 3rd-party packages to continue to function until they're updated.
 
1 members found this post helpful.
Old 05-20-2019, 05:30 AM   #3
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
As important as it may be to know what is going to break, you also need to know what you need to recompile, which will be a much smaller set because of inherited dependencies. You need to use 'objdump -p' rather than ldd to find that.
 
4 members found this post helpful.
Old 05-20-2019, 08:16 AM   #4
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,401

Original Poster
Blog Entries: 3

Rep: Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513
Quote:
Originally Posted by bassmadrigal View Post
Easiest thing is to just use Eric's boost-compat and icu4c-compat and this will allow your 3rd-party packages to continue to function until they're updated.
Thank you bassmadrigal, I am already aware of that but I am trying to find my way not to rely on it


Quote:
Originally Posted by chrisVV View Post
As important as it may be to know what is going to break, you also need to know what you need to recompile, which will be a much smaller set because of inherited dependencies. You need to use 'objdump -p' rather than ldd to find that.
Thank you, I will dig into that ! Unfortunatly I've already updated the found packages...
 
1 members found this post helpful.
Old 05-20-2019, 09:22 AM   #5
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
You can try this script after updating Slackware current, its the same idea as the script in your OP, but more complete.

https://notabug.org/orbea/SlackBuild...ipts/brokenpkg

Its kind of slow and there are some false positives (i.e. firefox), but it should point out many files with missing dependencies where you can then track down which packages they belong to and then recompile accordingly. Also note this won't help for any programs written in perl, python or ruby.
 
3 members found this post helpful.
Old 05-21-2019, 03:16 AM   #6
thim
Member
 
Registered: Nov 2013
Location: Greece
Distribution: Slackware current, MX Linux, Salix
Posts: 113

Rep: Reputation: 57
Boost upgrade broke for me libreoffice, qbittorrent and maybe (not sure for the latter.Installing boost-compat (see #2) solved those problems.
 
1 members found this post helpful.
Old 12-22-2019, 07:27 AM   #7
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,401

Original Poster
Blog Entries: 3

Rep: Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513
So I am now using this : chk3deps

Thanks to orbea for the script provided !

This is solved for now
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slack64 Current : Jan 12, 2017 updates bump libpoppler : atril 1.17.0 fails burdi01 Slackware 4 01-15-2017 04:32 AM
Prepare shared one with 32bit opsec libraries and shared one should load by 64bit exe nagendrar Programming 1 12-02-2014 03:23 AM
Recent Changes in Current (or things that go bump in the night). cwizardone Slackware 13 03-02-2013 08:30 AM
Version bump for mpg123? (And others!) CTM Slackware 5 07-24-2012 01:47 PM

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

All times are GMT -5. The time now is 04:24 AM.

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