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

Booting, installing, newbie
Post Reply
Message
Author
Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

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

#1 Post 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.
Last edited by Mercedes350se on Fri 06 Sep 2013, 06:28, edited 1 time in total.

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#2 Post 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

Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

#3 Post 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!

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#4 Post 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
Attachments
libdbus-glib-1.so.2.1.0.gz
(44.27 KiB) Downloaded 406 times

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#5 Post 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.
Last edited by watchdog on Wed 04 Sep 2013, 11:21, edited 1 time in total.

Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

#6 Post 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.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#7 Post 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

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#8 Post 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?

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#9 Post 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

Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

#10 Post 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.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#11 Post 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.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#12 Post 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

Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

#13 Post 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."

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#14 Post by mikeb »

Do the working firefox dance.....
Image

Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

#15 Post by Mercedes350se »

mikeb. Had a good chuckle. Thank you again.

Pelo

Simlink libxul.so

#16 Post 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 ?
Attachments
libxul.jpg
57MB version crashes Seamonkey 2.19
(76.26 KiB) Downloaded 140 times

Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

#17 Post by Mercedes350se »

If the 57MB crashes seamonkey why not just symlink the smaller one?

Pelo

Have you an idea this libxul is for ?

#18 Post by Pelo »

Mercedes it's what i have done. Merci
Have you an idea this libxul is for ?

Mercedes350se
Posts: 790
Joined: Wed 16 Apr 2008, 11:28

#19 Post by Mercedes350se »

[quote="Semme"]In so many words, libxul, @ roughly 15mb's *IS* FF. /quote]

From page 1 of this thread.

Post Reply