Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
117 user(s) are online (111 user(s) are browsing Forums)

Members: 1
Guests: 116

smarkusg, more...

Support us!

Headlines

 
  Register To Post  

I've lost some SObj's (FIXED)
Quite a regular
Quite a regular


See User information
I tried some software without doing a new backup right before hand. When it turned out I didn't like Push4Dock, I figured the easiest way to get back to "normal" was to copy back from my System backup of a week or so previous.

Turns out I can't launch Timberwolf now, because it says I don't have libcairo.so, libpng.so, and libxul.so

I actually DO have libcairo.so and libpng.so in the SObjs directory.. A link problem?? Libxul.so is missing, and I can't find it anywhere. What did it come with?

What do I need to do to sort out this SObj mess? Would a re-install of Timberwof fix this up. Netsurf 3028 seems to be OK.

Paul


Edited by Paul on 2011/10/12 4:16:23
Builder of Frankenthousand The monster A1000
The Young Frankenthousand A1-XE G4
X5000
Go to top
Re: I've lost some SObj's
Just popping in
Just popping in


See User information
Copy the following and put it in a text file.
Name that file; "Fix_SOBJS_Softlinks" and place it in
your sobjs drawer.

Then just cd to the sobjs: drawer from a shell and execute the script whenever you lose the softlinks again. (":>

I think I have all of them listed, if not add any of your own...

; ============== begin =============

failat 11

if not exists libpng.so
makelink soft link=libpng.so file=libpng12.so
endif

if not exists libbz2.so.1.0
makelink soft link=libbz2.so.1.0 file=libbz2.so.1.0.4
endif

if not exists libz.so
makelink soft link=libz.so file=libz.so.1.2.5
endif

if not exists libz.so.1
makelink soft link=libz.so.1 file=libz.so.1.2.5
endif

; ============== end =============


Go to top
Re: I've lost some SObj's
Quite a regular
Quite a regular


See User information
Colin,

Thanks for the script.

When I try to execute the script, all I get is:

MAKELINK: object not found

I tried adding a C:, like this, in front of each line:

c:makelink soft link=libbz2.so.1.0 file=libbz2.so.1.0.4

in case it wasn't picking up the command path. But it didn't help.

Paul



Builder of Frankenthousand The monster A1000
The Young Frankenthousand A1-XE G4
X5000
Go to top
Re: I've lost some SObj's
Just can't stay away
Just can't stay away


See User information
Quote:
Paul wrote:

MAKELINK: object not found

I tried adding a C:, like this, in front of each line:

c:makelink soft link=libbz2.so.1.0 file=libbz2.so.1.0.4

in case it wasn't picking up the command path. But it didn't help.
It's probably not makelink it can't find; it should be in C, where it always is. More likely it's the file pointed out by "file=". Did you CD to SOBJS: before running the script? If so, you are apparently missing also the .so you try to make a link to, in this case libbz2.so.1.0.4.

Best regards,

Niels

Go to top
Re: I've lost some SObj's
Just popping in
Just popping in


See User information
It's not the makelink command missing, it's one of the files, the makelink command should have spat out the name of the missing file, so i'll fix it later.

BTW: The C: path is always valid.


In the mean time try this modified script instead...


; ============== begin =============

failat 11

if not exists libpng.so
if not exists libpng12.so
echo "libpng12.so not found"
else
makelink soft link=libpng.so file=libpng12.so
endif
endif

if not exists libbz2.so.1.0
if not exists libbz2.so.1.0.4
echo "libbz2.so.1.0.4 not found"
else
makelink soft link=libbz2.so.1.0 file=libbz2.so.1.0.4
endif
endif

if not exists libz.so
if not exists libbz2.so.1.0.4
echo "libz.so.1.2.5 not found"
else
makelink soft link=libz.so file=libz.so.1.2.5
endif
endif

if not exists libz.so.1
if not exists libz.so.1.2.5
echo "libz.so.1.2.5 not found"
else
makelink soft link=libz.so.1 file=libz.so.1.2.5
endif
endif

; ============== end =============



Go to top
Re: I've lost some SObj's
Quite a regular
Quite a regular


See User information
@Niels and Colin

Indeed, missing so's. the only libbz2 I have is the plain vanilla libbz2.so, not the later revision. Visually, the drawer says I DO have libz.so.1.2.5. , but I DON'T HAVE libz.so.1 even though the script didn't complain about that.

Colins newer script feeds back:
libbz2.so.1.0.4 not found
libz.so.1.2.5 not found

So where do I find libbz.so.1.0.4 and libz.so.1?

I really hope when 4.2 comes out that this .so versioning mess is cleaned up.
Thanks for your patience and help.

Paul

Builder of Frankenthousand The monster A1000
The Young Frankenthousand A1-XE G4
X5000
Go to top
Re: I've lost some SObj's
Just popping in
Just popping in


See User information
Sorry for the typo in the third block, I should have tested it first, but you can fix it up yourself.

The second "if not exists" name and the "echo" name should match the "file=" name of the makelink call below it.




Go to top
Re: I've lost some SObj's
Just can't stay away
Just can't stay away


See User information
Isn't it actually the other way around?

Edit: Ah, wait, now I see it. It's only the (second) "if not exists" line which needs changing. Right?

Best regards,

Niels

Go to top
Re: I've lost some SObj's
Quite a regular
Quite a regular


See User information
Colin,

Progress made. After making the corrections you mentioned, I have the links I need to run Netsurf. (I was wrong when I stated above that Netsurf was OK.) I got a GRIM while trying to start up Timberwolf, but no notifications about missing SO's, at least. I'll try again after a reboot.

BTW, it's still complaining about missing libbz2.so.1.0.4. Source for that one?

Paul

Builder of Frankenthousand The monster A1000
The Young Frankenthousand A1-XE G4
X5000
Go to top
Re: I've lost some SObj's
Quite a regular
Quite a regular


See User information
Well, it took about a half hour to open, but I'm replying here with Timberwolf. Netsurf 2.8 is working properly now, too.

Thanks for your patient guidance.

Paul

Builder of Frankenthousand The monster A1000
The Young Frankenthousand A1-XE G4
X5000
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project