LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices


Reply
  Search this Thread
Old 05-18-2018, 10:56 AM   #1
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 2,676
Blog Entries: 6

Rep: Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358
I'm so pleased, I just have to boast!


Recently I updated Crux to version 3.4 and then did a quick ports update. There was just one library to be updated (libidn) plus Imagemagick. The next time I logged into Crux, claws didn't work and neither did libreoffice. A quick ldd showed that they were linked to the old libidn-11 whereas I now had libidn-12. The culprit turned out to be gnutls, so I rebuilt that and the problem seemed to be solved.

But then I discovered that my Brother laser printer had also stopped working (though it still worked in Debian). Cups did not see any error or blockage so the problem had to be in the filter between cups and the printer. This is a bash script that invokes various small 32-bit proprietary programs. I ldd'd all the programs and they were linked correctly to /lib32/libc and /lib32/ld-linux.so. Everything looked fine, it just didn't work.

I modified the script so that it would create a debug file and looked in that, but still nothing sprang out. However it did list the arguments that cups had passed across, so I decided to try running the script by hand (as root) with those arguments. Well, I was desperate and I hoped standard error might show something that the log file didn't.

And it crashed with a message from ghostscript about not finding libidn-11! When I ldd'd /usr/bin/gs, it was linked to the new libidn via gnutls but also to the old one directly. That was what was causing the problem, not the Brother software at all. I rebuilt ghostscript and now the printer works. You don't get that sort of fun with Windows!
 
Old 05-18-2018, 01:10 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17
Posts: 5,622
Blog Entries: 20

Rep: Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675
In Biker talk Hazel.

" You da Man "

 
Old 05-18-2018, 01:25 PM   #3
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 2,676

Original Poster
Blog Entries: 6

Rep: Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358
Quote:
Originally Posted by rokytnji View Post
In Biker talk Hazel.

" You da Man "

Grrr! Don't call me a man, you leatherjacket!
 
Old 05-21-2018, 09:23 AM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17
Posts: 5,622
Blog Entries: 20

Rep: Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675Reputation: 2675
Love me or hate me. One always notices me.
 
Old 05-21-2018, 09:27 AM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 6,848
Blog Entries: 2

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Quote:
Originally Posted by rokytnji View Post
Love me or hate me. One always notices me.
Who are you again?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Food processing panel-PCs boast IP69K ingress protection LXer Syndicated Linux News 0 08-28-2015 08:42 PM
LXer: Gmail is First Android App to Boast 1 Billion Downloads LXer Syndicated Linux News 0 05-17-2014 11:03 PM
LXer: Freescale Vybrid SoC dev kits boast ARM DS-5 IDE LXer Syndicated Linux News 0 07-10-2013 11:50 PM
Hello, Pleased to be here. jimscape LinuxQuestions.org Member Intro 2 11-23-2011 02:07 PM
Pleased to be here ishipaco LinuxQuestions.org Member Intro 0 10-18-2009 09:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories

All times are GMT -5. The time now is 10:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration