Author Topic: Epiphany Browser Cannot Find Shared Libs [fixed]  (Read 5755 times)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Epiphany Browser Cannot Find Shared Libs [fixed]
« on: October 10, 2007, 06:53:16 pm »
I installed epiphany to my hard drive onto the same partition as I previously installed firefox.
/mnt/ide/
(everything else on this pdaxii13v2 zaurus is installed to NAND).
I also installed the gnome deps.
When I launch epiphany in a console, it complains it cannot find a shared library "libmozjs.so"
When I made a symlink of /mnt/usr/lib/firefox/lib/firefox-1.5.0.2/libmozjs.so to /usr/lib/libmozjs.so, I get a different message complaining that another lib cannot be found. (it is in the same directory as above).
Do I need to symlink all the libs in /mnt/usr/lib/firefox/lib/firefox-1.5.0.2/ to /usr/lib/ ?
Shouldn't the package manager take care of these symlinks?
Edit
Later I looked in /usr/lib and found /usr/lib/firefox/lib/firefox-1.5.0.2/
Why doesn't epiphany find this directories? It contains symlinks to the requested libraries in the console error messages.
« Last Edit: October 16, 2007, 04:17:40 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Lemuus

  • Newbie
  • *
  • Posts: 35
    • View Profile
Epiphany Browser Cannot Find Shared Libs [fixed]
« Reply #1 on: October 10, 2007, 10:04:35 pm »
Quote from: Jon_J
I installed epiphany to my hard drive onto the same partition as I previously installed firefox.
/mnt/ide/
(everything else on this pdaxii13v2 zaurus is installed to NAND).
I also installed the gnome deps.
When I launch epiphany in a console, it complains it cannot find a shared library "libmozjs.so"
When I made a symlink of /mnt/usr/lib/firefox/lib/firefox-1.5.0.2/libmozjs.so to /usr/lib/libmozjs.so, I get a different message complaining that another lib cannot be found. (it is in the same directory as above).
Do I need to symlink all the libs in /mnt/usr/lib/firefox/lib/firefox-1.5.0.2/ to /usr/lib/ ?
Shouldn't the package manager take care of these symlinks?
Edit
Later I looked in /usr/lib and found /usr/lib/firefox/lib/firefox-1.5.0.2/
Why doesn't epiphany find this directories? It contains symlinks to the requested libraries in the console error messages.

you have to do this_
ln -sf /usr/lib/firefox/lib/firefox-1.5.0.2/* /usr/lib/mozilla/

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Epiphany Browser Cannot Find Shared Libs [fixed]
« Reply #2 on: October 10, 2007, 10:33:11 pm »
Quote from: Lemuus
Quote from: Jon_J
I installed epiphany to my hard drive onto the same partition as I previously installed firefox.
/mnt/ide/
(everything else on this pdaxii13v2 zaurus is installed to NAND).
I also installed the gnome deps.
When I launch epiphany in a console, it complains it cannot find a shared library "libmozjs.so"
When I made a symlink of /mnt/usr/lib/firefox/lib/firefox-1.5.0.2/libmozjs.so to /usr/lib/libmozjs.so, I get a different message complaining that another lib cannot be found. (it is in the same directory as above).
Do I need to symlink all the libs in /mnt/usr/lib/firefox/lib/firefox-1.5.0.2/ to /usr/lib/ ?
Shouldn't the package manager take care of these symlinks?
Edit
Later I looked in /usr/lib and found /usr/lib/firefox/lib/firefox-1.5.0.2/
Why doesn't epiphany find this directories? It contains symlinks to the requested libraries in the console error messages.

you have to do this_
ln -sf /usr/lib/firefox/lib/firefox-1.5.0.2/* /usr/lib/mozilla/

you prolly want to leave out the * since you only want to symlink that directory. the reason this is needed is so that ephiphany can use any gecko engine and is not hardcoded to a specific version of firefox or mozilla or xul engine which all have a gecko engine....
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

walkman

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Epiphany Browser Cannot Find Shared Libs [fixed]
« Reply #3 on: October 11, 2007, 02:34:47 am »
Quote from: Meanie
you prolly want to leave out the * since you only want to symlink that directory. the reason this is needed is so that ephiphany can use any gecko engine and is not hardcoded to a specific version of firefox or mozilla or xul engine which all have a gecko engine....

So isn't there a package just with plain Gecko engine? Kind of libgecko... Or that kind of thing... Installing full Firefox in order to be able to use lightweight Epiphany is kind of weird, isn't it? Ironically, in terms of storage space is then Epiphany  a heavier solution than Firefox...

Disclaimer: I have no clue about compiling, dissecting, or packaging any Mozilla-based stuff...  
« Last Edit: October 11, 2007, 02:35:35 am by walkman »
Sharp SL-C1000 Akita + D-Link 660W

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Epiphany Browser Cannot Find Shared Libs [fixed]
« Reply #4 on: October 11, 2007, 04:04:18 am »
I think the idea was more by way of checking out epiphany (which does seem more responsive, imho) than in making the smallest system possible.  one of the more intriguing things about epihany is that people are compiling it to run with a webkit rather than gecko back end (which seems like something youd find interesting). also: this way one gets to use different gecko versions at will.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Epiphany Browser Cannot Find Shared Libs [fixed]
« Reply #5 on: October 11, 2007, 12:43:57 pm »
Quote from: Meanie
Quote from: Lemuus
Quote from: Jon_J
I installed epiphany to my hard drive onto the same partition as I previously installed firefox.
/mnt/ide/
(everything else on this pdaxii13v2 zaurus is installed to NAND).
I also installed the gnome deps.
When I launch epiphany in a console, it complains it cannot find a shared library "libmozjs.so"
When I made a symlink of /mnt/usr/lib/firefox/lib/firefox-1.5.0.2/libmozjs.so to /usr/lib/libmozjs.so, I get a different message complaining that another lib cannot be found. (it is in the same directory as above).
Do I need to symlink all the libs in /mnt/usr/lib/firefox/lib/firefox-1.5.0.2/ to /usr/lib/ ?
Shouldn't the package manager take care of these symlinks?
Edit
Later I looked in /usr/lib and found /usr/lib/firefox/lib/firefox-1.5.0.2/
Why doesn't epiphany find this directories? It contains symlinks to the requested libraries in the console error messages.

you have to do this_
ln -sf /usr/lib/firefox/lib/firefox-1.5.0.2/* /usr/lib/mozilla/

you prolly want to leave out the * since you only want to symlink that directory. the reason this is needed is so that ephiphany can use any gecko engine and is not hardcoded to a specific version of firefox or mozilla or xul engine which all have a gecko engine....
I did exactly this. and restarted 'X'
ln -sf /usr/lib/firefox/lib/firefox-1.5.0.2/ /usr/lib/mozilla/
I still get the missing library error.
Code: [Select]
error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directoryI also looked inside /usr/lib/mozilla/ and the symlinked folders and files are all there.
Edit:
I also tried this.
I deleted the above symlink and created a new one, but it didn't work either.
ln -sf /mnt/ide/usr/lib/firefox/lib/firefox-1.5.0.2/ /usr/lib/mozilla/

Edit2:
I got it!

I deleted the above symlink and used the command that lemuus posted.
ln -sf /usr/lib/firefox/lib/firefox-1.5.0.2/* /usr/lib/mozilla/
I tried launching it and it complained about libgnome-keyring.so.0 was missing, so I installed gnome-keyring_0.4.2_armv5tel.ipk, and Epiphany launched.

Edit3:
Epiphany cannot find some of it's icons for the GUI. They are on my Zaurus, but they are scattered all over the filesystem.
Here are the errors in the console
Code: [Select]
(epiphany:2199): Gtk-WARNING **: Could not find the icon 'history-view'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:  http://icon-theme.freedesktop.org/releases

(epiphany:2199): Gtk-WARNING **: Error loading theme icon for stock: Icon 'history-view' not present in theme

(epiphany:2199): Gtk-WARNING **: Error loading theme icon for stock: Icon 'bookmark-view' not present in theme

(epiphany:2199): Gtk-WARNING **: Error loading theme icon for stock: Icon 'tab-new' not present in theme

(epiphany:2199): Gtk-WARNING **: Error loading theme icon for stock: Icon 'window-new' not present in theme

(epiphany:2199): Gtk-WARNING **: Error loading theme icon for stock: Icon 'stock_print-setup' not present in theme

(epiphany:2199): Gtk-WARNING **: Error loading theme icon for stock: Icon 'mail-forward' not present in theme
Here is where these icons and symlinks are located.
Code: [Select]
'history-view /mnt/ide/usr/share/epiphany/icons/hicolor/24x24/actions/history-view.png
                linked to /usr/share/epiphany/icons/hicolor/24x24/actions/history-view.png

bookmark-view' /mnt/ide/usr/share/epiphany/icons/hicolor/24x24/actions/bookmark-view.png
                linked to /usr/share/epiphany/icons/hicolor/24x24/actions/bookmark-view.png

tab-new' /mnt/ide/usr/share/icons/gnome/16x16/actions/tab-new.png
         linked to /usr/share/icons/gnome/16x16/actions/tab-new.png

window-new' /mnt/ide/usr/share/icons/gnome/16x16/actions/window-new.png
            linked to /usr/share/icons/gnome/16x16/actions/window-new.png

stock_print-setup' /usr/share/icons/hicolor/48x48/io/stock_print-setup.png

mail-forward' /mnt/ide/usr/share/icons/gnome/16x16/actions/mail-forward.png
              linked to /usr/share/icons/gnome/16x16/actions/mail-forward.png
Edit4:
I really like this browser!  It's faster than firefox and it renders much the same as opera.
I went to another desktop with no taskbar and stretched it to full screen 640x480. See 2nd screenshot below.
The first time I did this, it crashed though.

Edit5:
It seems to crash less if it is launched from a console, but it has crashed 3-4 times in the last ½ hour. I have only been browsing these forums with it.
I still say Opera 7.25/7.30 is more stable than firefox or epiphany...
« Last Edit: October 11, 2007, 08:23:57 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Epiphany Browser Cannot Find Shared Libs [fixed]
« Reply #6 on: October 12, 2007, 12:05:10 pm »
After installing hicolor-icons, I managed to get Epiphany to stop error messages in the console by placing these icons in the following folder:
/usr/share/icons/hicolor/16x16/apps/
I included these icons. They are all 16x16. Some were missing previously, not all of them need to be copied over to /usr/share/icons/hicolor/16x16/apps/
I was hoping to get Epiphany to stop crashing by fixing the icon problem.
It still crashes. Does anyone know where I can get "bug-buddy" compiled for pdaxrom?
Whenever Epiphany crashes, it recommends to install "bug-buddy" to record and send the details to the developers.
Edit
I tried to edit and add a screenshot of the error dialog that Epiphany produces when it crashes, but I couldn't open this thread in either firefox or epiphany without them crashing. I had to use my other zaurus with opera just to edit this thread and opera won't let me upload an attachment. When I get back to my desktop, I'll post the screenshot of epiphany's error dialog.
« Last Edit: October 13, 2007, 08:45:45 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Epiphany Browser Cannot Find Shared Libs [fixed]
« Reply #7 on: October 15, 2007, 09:10:18 pm »
I uninstalled firefox 1.5.0.2 and completely removed all traces of firefox in various areas of the filesystem.
Then I reflashed back to pdaxii13-5.4.9
I installed mozilla browser 1.7.12 because someone suggested it. It doesn't crash like firefox was doing on my Z, but it won't open some newer sites.
I'm not sure about this, but I don't think epiphany will work with mozilla 1.7.12 because of the following 2 points.

1.  I had to extract "libxpcom_core.so" from firefox and place it in my /mozilla/lib/ directory because ipiphany complained about this missing library. (I couldn't find this library anywhere else).
2. After symlinking this library, epiphany did not complain about missing libraries, but the console spit out these two errors, and I haven't a clue as what to do about them.
Code: [Select]
epiphany

** (epiphany:3722): WARNING **: Failed to register-self for Epiphany Content Policy Class


** (epiphany:3722): WARNING **: Failed to register-self for Epiphany's Sidebar Implementation
Then the usual crash dialog box popped up saying, "Epiphany has crashed, please install bug-buddy, and send bugs to a web address"
« Last Edit: October 15, 2007, 09:12:42 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Epiphany Browser Cannot Find Shared Libs [fixed]
« Reply #8 on: October 16, 2007, 12:41:07 am »
I think I have Epiphany working now without any crashes.
I'm not sure if my new installation of firefox crashes because I didn't launch it yet.
Here's what I did:
As above, I reflashed pdaxii13-5.4.9 and installed mozilla browser 1.7.12
I wasn't happy with mozilla browser, as it won't open "my.yahoo.com" and probably many other sites.
Then I upgraded to pdaxii13v2-alpha3
I didn't manually install any libraries from kkazakov13's feed like I did last time.
Then I installed firefox 1.5.0.2 and also installed epiphany with it's dependencies.
gnome-desktop_2.10.2_armv5tel.ipk
gnome-icon-theme_2.9.0_armv5tel.ipk
gnome-keyring_0.4.2_armv5tel.ipk
hicolor-icon-theme_0.5_all.ipk

Then I used the symlinking as in above post by Lemuus
ln -sf /usr/lib/firefox/lib/firefox-1.5.0.2/* /usr/lib/mozilla/

Then I moved my icon collection for epiphany to
/usr/share/icons/hicolor/16x16/apps/
(icons in zip file at post number 7)

I never launched firefox, and launched epiphany several times in a console to look for msgs.
Finally I have it running for about an hour while browsing these forums.  
No crashes yet....
If epiphany keeps working, I won't use firefox, or mozilla.
I'll leave them both installed as they are installed to the hard drive anyway and aren't using valuable space.
I'm a happy camper now that epiphany is running without crashing.

Edit
I guess I jumped the gun. Epiphany doesn't open "my.yahoo.com" either.

Edit2
my.yahoo.com has a link to try a beta version, that was the only link there was, so I tried it and tried to login and epiphany crashed. I hope this is the only crash I get with epiphany...

Edit3
After jumping through a lot of hoops, I finally got my "plain & simple" my.yahoo page back. It loads in epiphany fine now.
I think the beta page caused the crash, but you have to go to "that" page first in a newly installed browser to sign in.
Also, one of my favorite sites, pictured below.
« Last Edit: October 16, 2007, 04:12:05 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers