LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-04-2013, 03:02 PM   #16
GazL
Senior Member
 
Registered: May 2008
Posts: 3,425

Rep: Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937

Just a thought...
Would it not be better to move mozilla-nss into it's own sub-directory and add that to ld.so.conf above the seamonkey one rather than have duplicated entries for the default dirs?

Last edited by GazL; 10-04-2013 at 03:06 PM.
 
Old 10-04-2013, 03:23 PM   #17
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 874

Rep: Reputation: 1809Reputation: 1809Reputation: 1809Reputation: 1809Reputation: 1809Reputation: 1809Reputation: 1809Reputation: 1809Reputation: 1809Reputation: 1809Reputation: 1809
Quote:
Originally Posted by GazL View Post
Just a thought...
Would it not be better to move mozilla-nss into it's own sub-directory and add that to ld.so.conf above the seamonkey one rather than have duplicated entries for the default dirs?
I don't think so. It's not just about mozilla-nss, it's that having the paths in /etc/ld.so.conf searched before the main library paths doesn't seem correct. IMHO, it violates the Principle Of Least Astonishment.

The only way around it is to list those paths first in /etc/ld.so.conf. Of course, we could also remove the default paths from the loader binary, but I don't think we should since we would lose a valuable fallback in case /etc/ld.so.conf is ever misconfigured.
 
1 members found this post helpful.
Old 10-04-2013, 03:39 PM   #18
GazL
Senior Member
 
Registered: May 2008
Posts: 3,425

Rep: Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937
Fair enough.
 
Old 10-05-2013, 12:56 PM   #19
jtsn
Member
 
Registered: Sep 2011
Location: Europe
Distribution: Slackware
Posts: 806

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
Quote:
Originally Posted by volkerdi View Post
I don't think so. It's not just about mozilla-nss, it's that having the paths in /etc/ld.so.conf searched before the main library paths doesn't seem correct. IMHO, it violates the Principle Of Least Astonishment.
You can't override anything in /lib:/usr/lib by ld.so.conf, if these paths are searched before that. So it would do exact the opposite of what people expect from /etc/ld.so.conf.

Didn't we have Mozilla in the library search path to allow other applications to use the Mozilla Gecko engine? Gecko can't be used outside Mozilla projects since years. So I think the correct approach is to remove seamonkey from ld.so.conf, because its libraries aren't meant to be used outside Seamonkey. It may even violate licenses.
 
  


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
[BUG] in seamonkey 2.9 slackbuild; does not create usr/include/seamonkey-2.9/nss -> . zerouno Slackware 5 05-02-2012 03:21 AM
Seamonkey and Seamonkey libs update for Slackware 13.1? Lufbery Slackware 7 08-05-2011 03:00 AM
seamonkey Polanski Linux - Networking 2 11-15-2007 10:54 PM
Seamonkey ?? mickeyboa Fedora 6 08-27-2007 12:26 PM
LXer: SeaMonkey 1.0.6 and SeaMonkey 1.1 Beta Released LXer Syndicated Linux News 0 11-09-2006 02:33 PM


All times are GMT -5. The time now is 05:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration