Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38379 - /usr/lib/MozillaFirebird/mozilla-xremote-client: error while loading shared libraries: libplds4.so: cannot open shared object file: No such file or directory
Summary: /usr/lib/MozillaFirebird/mozilla-xremote-client: error while loading shared l...
Status: RESOLVED DUPLICATE of bug 39308
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-16 01:02 UTC by Mat Lee
Modified: 2005-07-17 13:06 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for /usr/bin/MozillaFirebird (MozillaFirebird.patch,454 bytes, patch)
2004-01-20 02:48 UTC, Andres Loeh (RETIRED)
Details | Diff
Modified ebuild to emerge dev-libs/nspr (mozilla-firebird-0.7-r1.ebuild,7.57 KB, text/plain)
2004-01-21 00:44 UTC, Nathan Skillen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mat Lee 2004-01-16 01:02:27 UTC
I emerge the mozilla-firebird-0.7-r1 yesterday.
It built correctly but cannot excute it.
The error message is :
 
  /usr/lib/MozillaFirebird/mozilla-xremote-client: error while loading shared
  libraries: libplds4.so: cannot open shared object file: No such file or
  directory

=====================
My make.conf is :

USE="cjk 3dnow mmx -gnome -gtk -kde -qt -gpm"
CHOST="i586-pc-linux-gnu"
CFLAGS="-O3 -march=k6-2 -pipe"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="rsync://cudlug.cudenver.edu/gentoo ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ http://gentoo.ccccom.com rsync://linux.ntcu.net/gentoo-distfiles"

======================
The uses is :
 U I [ Found these USE variables in : net-www/mozilla-firebird-0.7-r1 ]
 - - java     : Adds support for Java
 + + gtk2     : Use gtk+-2.0.0 over gtk+-1.2 in cases where a program supports both.
 - - ipv6     : Adds support for IP version 6
 - - gnome    : Adds GNOME support
 - - moznoxft : unknown




Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.
Comment 1 Brett 2004-01-17 14:49:32 UTC
I also have this problem, I have attempted to revert to mozilla-firebird-0.7, but still receive the error. I have seen a fair few errors arrise because of -march=k6-2 AND/OR -mcpu=k6-2 (I also have a k6-2) I will attempt to compile with -march=i586 -mcpu=i586 (the k6-2 is not i686 compat.) although because this is a runtime problem it might not have any difference.
Comment 2 Brett 2004-01-18 00:44:23 UTC
My theory didn't work :-( (compile for i586) I think I will have a look at the cvs to see if anything has changed recently, preventing me from compiling 0.7 (which worked previously). My first guess is the changed startup script as mentioned in the changelog.
I wonder why many others have not had this problem, mozilla-firebird would be well used I'd imagine.
Comment 3 Mat Lee 2004-01-18 05:07:00 UTC
By the way,I did not have this problem during previously installation.

This time I reinstalled gentoo, and made some change.
I took the " -funroll" off from the CFLAG.
The encounter this problem.

Maybe this is some key to solve it.
Comment 4 Mat Lee 2004-01-18 05:07:30 UTC
By the way,I did not have this problem during previously installation.

This time I reinstalled gentoo, and made some change.
I took the " -funroll" off from the CFLAG.
The encounter this problem.

Maybe this is some key to solve it.
Comment 5 Brett 2004-01-18 17:25:30 UTC
I rebuilt without gtk2 support overnight to see if it made any difference, (Which is didn't). I didn't really expect it to however.
Now I am compiling without the xremote-client-patch (as noted in the changelog) to see if that fixes the problem (another shot in the dark...)
Comment 6 Brett 2004-01-18 17:38:46 UTC
The script complains about libplds4.so not existing, but a search reveals that it is in /usr/lib/MozillaFirebird
Comment 7 Andres Loeh (RETIRED) gentoo-dev 2004-01-20 02:48:44 UTC
Created attachment 24122 [details, diff]
patch for /usr/bin/MozillaFirebird

The problem is that /usr/lib/MozillaFirebird does not end up in the
ldpath, but that is required for mozilla-xremote-client to run. 
There are different possibilities to solve this. One that does
work for me is to use run-mozilla.sh in the MozillaFirebird wrapper
script to call mozilla-xremote-client. A patch is attached.
Comment 8 Kelly Harnden (uglyman) 2004-01-20 19:56:31 UTC
Hi, I tried the patch. I haven't used patch much, but this seems right. I did: patch /usr/bin/MozillaFirebird /path/to/attatchment  Now the command MozillaFirebird starts the browser, which seems to work fine.  I am not sure if it is related but it still gives a message in the terminal: /usr/bin/MozillaFirebird: line 1: xdpyinfo: command not found  drop me a line if you would like me to try something else! Thanks a lot! got my browser back!
Comment 9 Nathan Skillen 2004-01-21 00:44:29 UTC
Created attachment 24163 [details]
Modified ebuild to emerge dev-libs/nspr

I also had the problem where mozilla-xremote-client could not find libplds4.so

After finding out through the #gentoo IRC channel that libplds4.so is part of
the dev-libs/nspr package, I emerged that, and the problem is resolved, for me
anyway.

This ebuild is modified to emerge dev-libs/nspr as part of the mozilla-firebird
emerge process.
Comment 10 Michael Hellwig 2004-01-21 01:19:10 UTC
well to me it seems it would be sufficient for the ebuild to place some file in /etc/env.d and tell ldconfig to place /usr/lib/MozillaFirebird into /etc/ld.so.conf .. since after putting it there or going export LD_LIBRARY_PATH=/usr/lib/MozillaFirebird, MozillaFirebird starts up without a problem ... 

as far as i have seen, libplds4.so is part of the MozillaFirebird package, so one would not need any other package ..
Comment 11 Andres Loeh (RETIRED) gentoo-dev 2004-01-21 02:15:36 UTC
As I said, there are different solutions to this problem.
mozilla-firebird contains the library, but in its own directory.

dev-libs/nspr seems to contain it as well, and installs it to
a path where it is immediately found, therefore this works, but
I don't think it would be good to have a dependency on that.

Changing the LD_LIBRARY_PATH or modifying ld.so.conf it yet another
possibility, but modifying firebird's startup script (since it
already has a Gentoo-designed one) seems even simpler to me.

The xdpyinfo problem is strange, though. It's called in the startup
script, and it is part of the x11-base/xfree package. mozilla-firebird
depends on virtual/x11, and I am not sure if the other packages providing
the virtual provide the program, but more likely is that it somehow isn't
in your path. Probably the startup script should be adapted to make sure
the program is found ...

ks
Comment 12 Scott Taylor (RETIRED) gentoo-dev 2004-01-21 23:15:50 UTC
I vote for the patch in comment 7. Installing nspr will work, though the whole
idea behind firebird is a nice clean, compact browser - which forcing it to use
its own libraries seems to be the most appropriate way to do this, rather than
requiring nspr.
Comment 13 Nathan Skillen 2004-01-22 19:56:52 UTC
I agree.  The patch is a much cleaner way to fix the problem.  But this is the first time I could make something resembling a contribution to the community, so I submitted the ebuild anyway.
Comment 14 SpanKY gentoo-dev 2004-01-31 12:36:40 UTC

*** This bug has been marked as a duplicate of 39308 ***
Comment 15 Powell Olivier 2004-02-05 02:18:43 UTC
Hello,
I "emerged world" yesterday, and the "libplds4.so" bug described here happened...
(The ebuild is net-www/mozilla-firebird 0.7-r1).
I downloaded the patch and ran ran "patch -p0 <MozillaFirebird.patch" as root.
Everything is fine again: Mozilla runs and there are no messages in the console at all!

Thx and bybye, Oliver.
Comment 16 Brad Laue (RETIRED) gentoo-dev 2004-02-05 11:19:57 UTC
For which one, the patch for /usr/bin/MozillaFirebird?