Logo54.162.107.122 
  Home  News  Recent  Forums  Search  Contact
  Menu
 Username

 Password


   Register here

 Main menu
   View images
   BBCode test
 
 Content
   Statement of intent
   Terms Of Service
   IRC Channel
   List Content

 In cooperation with
  OS4Depot.net
  OpenAmiga.org
  OS4Welt

 Links
  AmigaOS4
  IntuitionBase
  UtilityBase
  Amiga Flame
  Amiga Spirit
  AmiKit
  Aminet
  AmiBay
  AmigaBounty
  AmigaWorld
  Exec
  Amiga.cz
  View comments
Title  
  Forums
    Software
      AmigaOS 4  
TSKUnable to resolve symbol 'pthread_mutex_lock'20101214 19:32
I have compiled OWBcookieJar using libsqlite3.so and I get following message when running the program: "Unable to resolve symbol 'pthread_mutex_lock'. " I've compiled it with: gcc -o OWBCookieJar OWBCookieJar.c -use-dynld -lauto -lsqlite3 -O0

So what's wrong ? It worked originally and I don't remember what might have changed since then.
Navigate: 1-2 
kas1eRe: Unable to resolve symbol 'pthread_mutex_lock'20101214 20:08  #98
@TSK
I remember its something pretty usuall, something like "-lpthread". The easy way as i do its just do search in whole SDK, in the .a , on symbol which you can't resolve, and where it will be found and looks logic by name , then it is it.

Those unresolver symbol errors also happens only on running stage because you use -use-dynld => you can compile everything with it, with unresolved symbols in reality, but you will see problems/crashes on running only

Imho one more good way , its for first build everything as static (and found which libs are need it), and then only add -use-dynld on end stage.
TSKRe: Unable to resolve symbol 'pthread_mutex_lock'20101216 01:35  #145
I found the problem. AmigaOS update2 has one libsqlite3.so which doesn't have those functions and there's another libsqlite3.so in my OWB drawer which has those functions. I checked all my OWB archives and didn't find any sobjs so I don't remember which OWB version had all sobjs or where I got them from.
Navigate: 1-2 
Home
Snack! forum website engine, Created in 2008 by Björn Hagström