Click Here
home features news forums classifieds faqs links search
5662 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
Home
Features
News
Forums
Classifieds
Links
Downloads
Extras
OS4 Zone
IRC Network
AmigaWorld Radio
Newsfeed
Top Members
Amiga Dealers
Information
About Us
FAQs
Advertise
Polls
Terms of Service
Search

IRC Channel
Server: irc.amigaworld.net
Channel: #Amigaworld
Channel Policy and Guidelines

(Uses JAVA Applet and Port 1024)
Visit the Chatroom Website

Who's Online
 47 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 nikosidis:  7 mins ago
 Overflow:  8 mins ago
 Trixie:  17 mins ago
 Allanon:  25 mins ago
 Paulthetall:  33 mins ago
 Daedalus:  37 mins ago
 Fairdinkem:  41 mins ago
 daveyw:  1 hr 22 mins ago
 WolfpackN64:  1 hr 32 mins ago
 Rob:  1 hr 51 mins ago

/  Forum Index
   /  Amiga OS4 Software
      /  Failed to load shared object
Register To Post

PosterThread
ggw 
Failed to load shared object
Posted on 8-Apr-2017 17:19:54
#1 ]
Super Member
Joined: 24-May-2003
Posts: 1028
From: Austin, TX

My SOBJS: has python25.so and ibz.so.1.2.3, no libz.so.1, but executing Python yields complaints about not loading libz.so.1 and libpython25.so.

3.OS4.1FE_ssd:> LISTDYNDEP OS4.1FE_ssd:c/Python
OS4.1FE_ssd:c/Python V2
libpython25.so
libexpat.so
libz.so.1
libdl.so
libpthread.so
libgcc.so
libc.so
3.OS4.1FE_ssd:>LIST SOBJS:#?python#?
Directory "sobjs:" on Saturday 08-Apr-17
libpython25.so 2046748 ----rwed 22-Nov-14 23:00:00
3.OS4.1FE_ssd:>

On a lark I XCOPY libz.so.1.2.3 libz.so.1 which then got me to a Python prompt.

Question 1: Where is my libz.so.1?
Question 2: Why the complaint about libpython25.so which is there?

_________________
..effects of civilization upon...nature, the growing gap between what education was supposed to accomplish and what it consisted of, the national debt and...high taxes, the problem of the excess cost of medical care -- Philip Wylie, 1951

 Status: Offline
Profile     Report this post  
MichaelMerkel 
Re: Failed to load shared object
Posted on 8-Apr-2017 17:52:57
#2 ]
Cult Member
Joined: 9-Mar-2003
Posts: 810
From: Ilvesheim, Germany

@ggw

it seems your sobjs have been somehow removed.
checking with os4.1 FEu1.

there is a script which fixes broken softlinks in your sobjs folder. here it is. just save it and start it from inside your sys:sobjs folder. asuming that you have not changed the system default libs!:

Quote:

If Exists libbz2.so
delete libbz2.so
EndIf
makelink libbz2.so libbz2.so.1.0.4

If Exists libbz2.so.1.0
delete libbz2.so.1.0
EndIf
makelink libbz2.so.1.0 libbz2.so.1.0.4

If Exists libpng.so
delete libpng.so
EndIf
makelink libpng.so libpng12.so

If Exists libz.so
delete libz.so
EndIf
makelink libz.so libz.so.1.2.3

If Exists libz.so.1
delete libz.so.1
EndIf
makelink libz.so.1 libz.so.1.2.3

If Exists libz.so.1.2
delete libz.so.1.2
EndIf
makelink libz.so.1.2 libz.so.1.2.3

If Exists libpython.so
delete libpython.so
EndIf
makelink libpython.so libpython25.so


regards...
michael

_________________
Michael Merkel
(Michael.Merkel@gmx.net Home)
Member of Amiga-Freunde Pfalz, OS4 Welt

 Status: Offline
Profile     Report this post  
ggw 
Re: Failed to load shared object
Posted on 9-Apr-2017 13:32:37
#3 ]
Super Member
Joined: 24-May-2003
Posts: 1028
From: Austin, TX

@MichaelMerkel

Your help was perfect.

Soft links are most useful with shared objects. I don't use them for my usual Amiga experience (nor at my work where I am a software developer) because of the extra work when involved with backups and confusion in coworkers who lack working knowledge of the implications of soft links.

Since I don't know why my setup lacked the softlinks in SOBJS:, a reinstall is probably on the horizon.

Thank you.

_________________
..effects of civilization upon...nature, the growing gap between what education was supposed to accomplish and what it consisted of, the national debt and...high taxes, the problem of the excess cost of medical care -- Philip Wylie, 1951

 Status: Offline
Profile     Report this post  
Skateman 
Re: Failed to load shared object
Posted on 9-Dec-2017 11:18:41
#4 ]
New Member
Joined: 2-Nov-2017
Posts: 9
From: Unknown

@MichaelMerkel

That was very helpfull!

THANKS!!

 Status: Offline
Profile     Report this post  
Skateman 
Re: Failed to load shared object
Posted on 9-Dec-2017 11:30:40
#5 ]
New Member
Joined: 2-Nov-2017
Posts: 9
From: Unknown

@MichaelMerkel

That was very helpfull!

THANKS!!

 Status: Offline
Profile     Report this post  

[ home ][ about us ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright 2000 - 2017 Amigaworld.net.

Amigaworld.net was originally founded by David Doyle