How to make a pet or sfs of Google Earth 64?.

Using applications, configuring, problems
Message
Author
gcmartin

#16 Post by gcmartin »

Hi @Eathray

I saw your post, here, back in March. I just reviewed to see there were no responses.

But, you have taken some reasonable steps to address that by showing us a pathway from deb to system installation steps. As a result you have shared your finding in this pathway.

You may want to send a PM @JamesBond for his insights and advice to this thread. He is most helpful to many of us in this 64bit area. This becomes increasingly important as more and more Puppylanders are getting 64bit in various configuration platforms, thus the increase in 64bit PUPs are rising.

Hope this helps in getting a good pathway approach workable.

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

#17 Post by Eathray »

Thanks GC,

Yah, I did ask about this issue a while back, so now with a few helpers maybe we can just get a package put together for Lighthouse and fatdog so nobody has to scratch their heads at this level again :D

I will ask James Bond to jump in if he has some time.

Eathray

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#18 Post by jamesbond »

download google earth-64bit.deb
mkdir /tmp/xxx
cd /tmp/xxx
undeb /path/to/google-earth.deb
chmod 0755 /tmp/xxx # very important, do this or you are screwed
mkdir lib # note lib, not lib64, if you use lib64 you are screwed
cd lib
ln -s ld-2.11.1.so ld-lsb-x86-64.so.3 # for Fatdog 521
ln -s ld-2.13.so ld-lsb-x86-64.so.3 # for Fatdog 631
cd /tmp
mksquashfs xxx google-earth.sfs
copy the sfs somewhere, load the sfs, open terminal, type google-earth, enjoy.

If you want to make pet the instead of mksquashfs, use dir2pet (you have to rename xxx to something with a number e.g. xxx-630).

Note: Works fine in 631. Launches in 521, but crash when trying to download something. Choose only one of the ln -s above, for your appropriate version (ie don't do both).
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

#19 Post by Eathray »

Thanks for dropping by, James.

I know you're super busy right now so much appreciated.

I do not 100% understand, but I'm going to give it a go and try to make something work here.

Eathray

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

#20 Post by Eathray »

Okay, so thanks to Mike, Oscar, GC and James...

Google Earth now works over here, or at least tries to (it doesn't really like my graphics card, but I can just upgrade my driver I think).

So Mike built an .sfs (works)...
Oscar mentioned the sym-link issue (correct)...
GC suggested I talk to James (sound advice)...
and James identified the files and paths that needed linking (works).

In addition, Mike helped me understand what James was saying on the side, quoted here with permission:
What you have so far ONLY seems to be lacking the famous link you need........ his info I believe is sound.

If you go with what you have now the you would start up rox and go into /lib .... home...go up...into lib

then look for the file
ld-2.13.so OR ld-2.11.1.so

then right click on it ...choose link...

and then name it ld-lsb-x86-64.so.3
This deal works in Fatdog64-520 and Lighthouse64-514b, so I'm assuming it will pretty much work in all Fatdog64-5xx and Lighthouse64-5xx, with maybe slightly different lib names, or not.

Last item... is it possible for us to build a .sfs that includes the sym-link(s) needed?

Thanks again to all,

Eathray

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

#21 Post by mikeb »

Last item... is it possible for us to build a .sfs that includes the sym-link(s) needed?
well the snag is that would suggest haing one symlink pointing to 2 potential files and thats not allowed as such. That does not include what to do if a further name change pops up with releases....seems like a situation that needs a more generic solution than just making a particular package work.

It would involve some sort of install script...pets have that option and the sfs loader does in some manner but both are out of my domain.

I am sure someone will leap in and do the do...

Without opengl acceleration working it will indeed run like cold custard...not sure what the puppy arrangements are now...used to be the xorg hi package or proprietary driver.

mike

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#22 Post by jamesbond »

There is only one symlink required. It should point to "ld-linux-x86-64.so.2". Create the symlink in /lib (not /lib64). "ln -s ld-linux-x86-64.so.2 ld-lsb-x86-64.so.3". And that should work for all Fatdog versions (up to 631. In 700, the symlink must be in /lib64 - but that's another story :wink: ).
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

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

#23 Post by mikeb »

one symlink but to 3 possible places depending on puppy release..I believe that's the problem with a one package does all approach.

mike

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#24 Post by Ted Dog »

:shock: FD 7 ooooooohhhhh is it coming soon? will be near highspeed internet end of workweek just putting that out there no pressure..

User avatar
neerajkolte
Posts: 516
Joined: Mon 10 Feb 2014, 07:05
Location: Pune, India.

#25 Post by neerajkolte »

FD 700 ???
Nice.


- Neeraj
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson

“We tend to overestimate the effect of a technology in the short run and underestimate the effect in the long run.â€￾
- Amara’s Law.

gcmartin

#26 Post by gcmartin »

Hello @Eathray

I am not any authority, but, I ask:
  • With features unique to PETs, can/cannot a feature of PET run a script that determines which 64bit distro installing to, and sets the symbolic-link proper?
Here to help

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

#27 Post by Eathray »

My thought is similar, GC, although I wasn't thinking a script.

A little confusion... James is saying only one symlink required which leads to ld-linux-x86-64.so.2. Mike I think is saying the link could originate from one of several libs, ld-2.11.1.so or ld-2.13.so. I have the latter of the two. Only one of these would be used on any given system as I think James indicates, but if both were present... it wouldn't matter which of the two starting libs were picked up... so... two syms pointing to one file and the system will decide which one it wants to use based on which of the two libs it has as a starting point...?

Is that clear and correct? I only have the one symlink from ld-2.13.so to ld-linux-x86-64.so.2 which works, but I'm not sure how you link the other starting lib to the final if it's not present. I guess there needs to be a script to tell the system to look for either/or in order to have a pet/sfs that doesn't need a symlink afterword... or there has to be more than one pet/sfs based on which libs you have...

Or can a pet/sfs carry its own starting lib that it will prefer?

I'm just thinking outloud... maybe it's not that big of a deal to add the symlink after the fact so long as future users know about it... It's always hard for newbies to find those little details.

What do you guys say?

I can call this thread solved, because there are now adequate instructions to install from a .deb package that James gave, and there is the .sfs package Mike made, and there is documented the symlink that needs to be made. I'm not sure future searchers will easily find the info but it's here if they find and read the thread.

Suggestions? Good enough? Call it Solved?

Eathray

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

#28 Post by mikeb »

Ok to restate... only one link is needed...BUT the link itself will vary depending on the system. A sfs made for one will fail on another for example. I believe pets can run install scripts..I assume thats the way to deal with this.

mike

User avatar
neerajkolte
Posts: 516
Joined: Mon 10 Feb 2014, 07:05
Location: Pune, India.

#29 Post by neerajkolte »

mikeb wrote:Ok to restate... only one link is needed...BUT the link itself will vary depending on the system. A sfs made for one will fail on another for example. I believe pets can run install scripts..I assume thats the way to deal with this.

mike
An Install script which will detect puppy type and do changes accordingly.... Hmmmm...
Sounds tempting, will make single pet run on all puppies, one expansive repo for all puppies. (I am dreaming for future again :wink: )
But it will demand quite good knowledge of how different puppies works and their not so obvious differences, slacko based, debian, t2, 32bit, 64bit........
Is it even remotely possible?
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson

“We tend to overestimate the effect of a technology in the short run and underestimate the effect in the long run.â€￾
- Amara’s Law.

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

#30 Post by mikeb »

well it only seems to affect the 64 bit varieties of which there are 2 I believe... Its not something that normally happens...it may only be with google earth for that matter.

mike

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#31 Post by jamesbond »

mikeb wrote:Ok to restate... only one link is needed...BUT the link itself will vary depending on the system. A sfs made for one will fail on another for example. I believe pets can run install scripts..I assume thats the way to deal with this.

mike
No, only one link is needed. Located in /lib, ld-lsb-x86-64.so.3 should be linked to ld-linux-x86-64.so.2. This will work across all published Fatdog64 versions (and LH64 too, I believe, but I have not checked that).
FD 7 ooooooohhhhh is it coming soon? will be near highspeed internet end of workweek just putting that out there no pressure..
All in due time :wink:
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#32 Post by Ted Dog »

should name it 007 ha ha.. :lol: really should let some of us long time tinkers preview. Since I have tricky hardware I volunteer..

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

#33 Post by mikeb »

Well
ln -s ld-2.11.1.so ld-lsb-x86-64.so.3 # for Fatdog 521
ln -s ld-2.13.so ld-lsb-x86-64.so.3 # for Fatdog 631
(up to 631. In 700, the symlink must be in /lib64 - but that's another story Wink ).
led me to believe there were at least 2 possibilities...just trying to get the record straight here based on supplied information.

Mike

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#34 Post by jamesbond »

@mikeb,
Correct, that was my original post. But it has since been superseded this http://murga-linux.com/puppy/viewtopic. ... 852#783852 and the top post of this page - you don't need to link it directly to ld-2.11.1 or ld-2.13, instead link it to ld-linux-x86-64.so.2. And create that link in /lib (not lib64). As for Fatdog64 700 requiring another location - well, Fatdog64 700 isn't released yet so you can ignore it :wink:

@Ted Dog,
Yes planning for that, but each time I want to upload the ISO I found another bug that requires fixing ... it's like cooking popcorn in microwave. You just have to wait until the pop goes down to once or twice a second or so to know it's good to go :)
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

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

#35 Post by mikeb »

Thanks for the clarification...forums make great wikis :D

mike

Post Reply