Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 02 Oct 2014, 00:52
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
libxul.so visible to me but not firefox (SOLVED)
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Mercedes350se

Joined: 16 Apr 2008
Posts: 633

PostPosted: Wed 04 Sep 2013, 02:08    Post_subject:  libxul.so visible to me but not firefox (SOLVED)  

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:
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.

Edited_time_total
Back to top
View user's profile Send_private_message 
watchdog

Joined: 28 Sep 2012
Posts: 588

PostPosted: Wed 04 Sep 2013, 03:17    Post_subject:  

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
Back to top
View user's profile Send_private_message 
Mercedes350se

Joined: 16 Apr 2008
Posts: 633

PostPosted: Wed 04 Sep 2013, 04:14    Post_subject:  

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:
/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!
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 3938
Location: World_Hub

PostPosted: Wed 04 Sep 2013, 04:51    Post_subject:  

Stick it in /usr/lib and have mine point to yours.. Run (L)ldconfig if onboard.
Code:
ln -s /usr/lib/libdbus-glib-1.so.2.1.0 /usr/lib/libdbus-glib-1.so.2
libdbus-glib-1.so.2.1.0.gz
Description 
gz

 Download 
Filename  libdbus-glib-1.so.2.1.0.gz 
Filesize  44.27 KB 
Downloaded  164 Time(s) 
Back to top
View user's profile Send_private_message 
watchdog

Joined: 28 Sep 2012
Posts: 588

PostPosted: Wed 04 Sep 2013, 05:16    Post_subject:  

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/0B9iMb4UZBeFkelFrLXBscU1CamM/edit?usp=sharing

https://docs.google.com/file/d/0B9iMb4UZBeFkSnhkVFh5MkJVVlk/edit?usp=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.

Edited_time_total
Back to top
View user's profile Send_private_message 
Mercedes350se

Joined: 16 Apr 2008
Posts: 633

PostPosted: Wed 04 Sep 2013, 05:21    Post_subject:  

Semme wrote:
Stick it in /usr/lib and have mine point to yours.. Run (L)ldconfig if onboard.
Code:
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.
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Wed 04 Sep 2013, 05:42    Post_subject:  

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
Back to top
View user's profile Send_private_message 
watchdog

Joined: 28 Sep 2012
Posts: 588

PostPosted: Wed 04 Sep 2013, 06:32    Post_subject:  

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?
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Wed 04 Sep 2013, 07:40    Post_subject:  

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
Back to top
View user's profile Send_private_message 
Mercedes350se

Joined: 16 Apr 2008
Posts: 633

PostPosted: Thu 05 Sep 2013, 04:24    Post_subject:  

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:

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.
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 3938
Location: World_Hub

PostPosted: Thu 05 Sep 2013, 06:35    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Thu 05 Sep 2013, 14:29    Post_subject:  

Quote:
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
Back to top
View user's profile Send_private_message 
Mercedes350se

Joined: 16 Apr 2008
Posts: 633

PostPosted: Fri 06 Sep 2013, 02:27    Post_subject:  

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."
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Fri 06 Sep 2013, 07:07    Post_subject:  

Do the working firefox dance.....
Back to top
View user's profile Send_private_message 
Mercedes350se

Joined: 16 Apr 2008
Posts: 633

PostPosted: Fri 06 Sep 2013, 22:00    Post_subject:  

mikeb. Had a good chuckle. Thank you again.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0763s ][ Queries: 13 (0.0064s) ][ GZIP on ]