revolution crash on revdatafromquery on 3.0 mac os x
Mark Wieder
mwieder at ahsoftware.net
Wed Nov 5 14:24:21 EST 2008
Andre-
Monday, November 3, 2008, 2:38:03 PM, you wrote:
> Hello Friends,
> can anyone confirms that RevDataFromQuery works with MySQL in Mac OS X
> with Rev 3.0?
> Here is crashes rev, no error... just crash...
> Terminal capture says:
> dyld: lazy symbol binding failed: image not found for lazy pointer at 0x15b952cb
> dyld: image not found for lazy pointer at 0x15b952cb
> Trace/BPT trap
> Which doesn't really help...
Actually, it's a fair amount of help. What in the world are you trying
to do? If you've gotten as far as a call to revDataFromQuery (opened a
connection to the database, etc.) then you've linked to the MySQL
external properly, so that's probably not the problem. It sounds like
you're doing something more complicated than just a simple call to a
function in the db library.
A dyld error is a failure to find a library at runtime. The compiler
produces a stub for external libraries, and this is resolved at
runtime by the dynamic loader (usually a call to dlopen). If the stub
(the lazy pointer) can't be resolved (the dynamic loader binds a
pointer to the library in place of the stub) then you get that error
message. So if any db functions are working, this doesn't sound like a
problem finding the db external library.
If it helps any, the library search path priority is supposed to be:
$DYLD_LIBRARY_PATH
the given pathname
$DYLD_FALLBACK_LIBRARY_PATH
This might help some:
http://developer.apple.com/documentation/DeveloperTools/Reference/MachOReference/Reference/reference.html#//apple_ref/c/func/dyld_stub_binding_helper
--
-Mark Wieder
mwieder at ahsoftware.net
More information about the use-livecode
mailing list