Use <install_dir>/bin/ht gdb Hyperspace.Master

or setup your DYLD_LIBRARY_PATH manually yourself.

On Tue, Dec 22, 2009 at 4:57 PM, Sanjit Jhala <[email protected]> wrote:
> Trying to run one of the servers in gdb on OSX 10.6.2 I see:
> (gdb) r
> Starting program:
> /Users/sanjit/build/hypertable/install/0.9.2.7/bin/Hyperspace.Master
> dyld: Library not loaded: libsigar-universal64-macosx.dylib
>   Referenced from:
> /Users/sanjit/build/hypertable/install/0.9.2.7/bin/Hyperspace.Master
>   Reason: image not found
>
> Program received signal SIGTRAP, Trace/breakpoint trap.
> 0x00007fff5fc01065 in __dyld_dyld_fatal_error ()
>
>
> Looking at the otool output:
>  otool -L Hypertable.Master
> Hypertable.Master:
>     /usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current version
> 7.2.0)
> .....
>     libsigar-universal64-macosx.dylib (compatibility version 0.0.0, current
> version 0.0.0)
> ...
>
> It seems like the correct path to libsigar in my case is
> "/opt/local/lib/libsigar-..." as opposed to "libsigar-..." and this could be
> causing the error I see in gdb.
> Looking at the make VERBOSE=1 output its using the correct path to libsigar
> and during the full make I see:
> -- Found SIGAR: /opt/local/lib/libsigar-universal64-macosx.dylib
>
> Wondering if anyone has ideas on how to fix this.
>
> -Sanjit
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Hypertable Development" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/hypertable-dev?hl=en.
>

--

You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hypertable-dev?hl=en.


Reply via email to