Page 1 of 1

libxul.so visible to me but not firefox (SOLVED)

Posted: Wed 04 Sep 2013, 06:08
by Mercedes350se
I have installed firefox 3.6 on the new machine but it does not start. Full HDD install of 4.1.2.

In the firefox directory I typed:

Code: Select all

ldd firefox-bin
<snip>
        libxul.so => not found
<snip>
There were no other not founds.

Using ROX it is plainly visible in /usr/lib/firefox/libxul.so.

An install on an earlier version of Puppy there were no start-up issues so I am a bit confused.

Posted: Wed 04 Sep 2013, 07:17
by watchdog
I think you must set the right LD_LIBRARY_PATH. Try to follow my HowTo:

http://www.murga-linux.com/puppy/viewtopic.php?t=86801

Posted: Wed 04 Sep 2013, 08:14
by Mercedes350se
watchdog, did that but firefox still does not start.

If I do the ldd command again I get the same error as above however if I try to start firefox in the console I now get:

Code: Select all

/usr/local/firefox/firefox-bin: error while loading shared libraries: libdbus-glib-1.so.2: cannot open shared object file: No such file or directory
It is a symlink to another file. Looking at another version of Puppy I notice there are three libdbus<type> symlinks and files.

Given my setup I am only able to copy the three files but not the symlinks. Creating the symlinks is outside my sphere of knowledge!

Posted: Wed 04 Sep 2013, 08:51
by Semme
Stick it in /usr/lib and have mine point to yours.. Run (L)ldconfig if onboard.

Code: Select all

ln -s /usr/lib/libdbus-glib-1.so.2.1.0 /usr/lib/libdbus-glib-1.so.2

Posted: Wed 04 Sep 2013, 09:16
by watchdog
To run modern browsers in puppy 4.31 I had to upgrade dbus and dbus-glib. I used deb packages from the expired lenny dist. I share this packages. Install the debs and see if firefox 3.6 now works.

https://docs.google.com/file/d/0B9iMb4U ... sp=sharing

https://docs.google.com/file/d/0B9iMb4U ... sp=sharing

EDIT: the above shared packages already exist in puppy4 repository as pet packages.

http://distro.ibiblio.org/puppylinux/pet_packages-4/

Puppy 4.x never had dbus and dbus-glib already installed. Neither wary.

Posted: Wed 04 Sep 2013, 09:21
by Mercedes350se
Semme wrote:Stick it in /usr/lib and have mine point to yours.. Run (L)ldconfig if onboard.

Code: Select all

ln -s /usr/lib/libdbus-glib-1.so.2.1.0 /usr/lib/libdbus-glib-1.so.2
I assume by putting it in /usr/lib it will then be available to any other package that may require it?

I still get an error message about missing lib<whatever>

I think the easiest way will be to copy the files alluded to in an earlier post of mine and create the symlinks - something for another day.

watchdog, if the above fails then I will try your selection.

Thank you both.

Posted: Wed 04 Sep 2013, 09:42
by mikeb
pupp 4.12 never had the dbus libs...add them and it will work.

The missing lib is because PATH does not include firefox but firefox itself adds its folder to the path and finds them.

thats it

bye
mike

Posted: Wed 04 Sep 2013, 10:32
by watchdog
mikeb wrote: The missing lib is because PATH does not include firefox but firefox itself adds its folder to the path and finds them.
I began to explicitly set LD_LIBRARY_PATH in the past because some versions of mozilla browser wanted their own libraries in browser's folder and not puppy's libraries which could instead be used. If you do not set LD_LIBRARY_PATH as in my HowTo with old puppies some versions of mozilla browsers could not properly work. Is it a my mistake?

Posted: Wed 04 Sep 2013, 11:40
by mikeb
Hmm ok.... if additional mozilla libraries have been added to /usr/lib then making sure firefox used its own would be necessary as you have deiscovered.

My point was the ldd 'failure' was not...it often confuses people when they add firefox with the puppy package manager. Ldd does not know about the firefox startup script that adds to the library path.

In my case I prefer to symlink the libs from the firefox folder for any applications that might use them ...eg flash player in Opera...then there are no version conflicts.

the profile in puppy tries to include such as firefox in the path but it may not always get it right if an unusual location is used.

hope that clarifies.

mike

Posted: Thu 05 Sep 2013, 08:24
by Mercedes350se
mikeb wrote:pupp 4.12 never had the dbus libs...add them and it will work.

bye
mike
Three questions.

1. What dbus libs should be in 4.1.2?

2. Where to down load the ones needed but not mentioned in 3# below?

3. I have copied and symlinked the following to reflect what is in the working firefox in another install

libdbus-glib-1.so.2.1.0

libdbus-1.so.3.2.0, and

libdbus-qt-1.so.1.0.0

Doing a

Code: Select all

ldd firefox-bin
still throws up the libxul.so not found. Much scratching of head and pulling of hair!

Is there another command that really "nails" the missing libs?

EDIT: Downloaded and installed the pet packages mentioned by watchdog and the libxul.so is still not found.

Posted: Thu 05 Sep 2013, 10:35
by Semme
In so many words, libxul, @ roughly 15mb's *IS* FF. Where'd you get this 3.6.(what?) build from?

***Leave everything in place, delete your FF folder and extract the one from here in it's place.

Posted: Thu 05 Sep 2013, 18:29
by mikeb
still throws up the libxul.so not found. Much scratching of head and pulling of hair!
yes it will...this is NOT an error ...try running firefox

mike

Posted: Fri 06 Sep 2013, 06:27
by Mercedes350se
Semme, Thank you. Downloaded and installed but ...

mikeb, Thank you. I was about to give it all away for a while but for the sake of it clicked on firefox and as they say, "Voila."

Posted: Fri 06 Sep 2013, 11:07
by mikeb
Do the working firefox dance.....
Image

Posted: Sat 07 Sep 2013, 02:00
by Mercedes350se
mikeb. Had a good chuckle. Thank you again.

Simlink libxul.so

Posted: Sun 17 May 2015, 16:18
by Pelo
Simlink libxul.so
My idea was to store libxul.so in my tool case and symlink it to the browser in usr/lib. I just see that libxul size is different from one browser to another.
Was my idea a bad idea ?

Posted: Wed 20 May 2015, 23:56
by Mercedes350se
If the 57MB crashes seamonkey why not just symlink the smaller one?

Have you an idea this libxul is for ?

Posted: Wed 17 Jun 2015, 08:19
by Pelo
Mercedes it's what i have done. Merci
Have you an idea this libxul is for ?

Posted: Sat 11 Jul 2015, 08:28
by Mercedes350se
[quote="Semme"]In so many words, libxul, @ roughly 15mb's *IS* FF. /quote]

From page 1 of this thread.