Re: gdb isn't looking at DYLD_LIBRARY_PATH - NO frameworks involved.
Re: gdb isn't looking at DYLD_LIBRARY_PATH - NO frameworks involved.
- Subject: Re: gdb isn't looking at DYLD_LIBRARY_PATH - NO frameworks involved.
- From: Graham J Lee <email@hidden>
- Date: Wed, 13 Dec 2006 23:09:58 +0000
On 13 Dec 2006, at 23:04, Mike Logan wrote:
Hi, this may be an easy question to answer but much searching of
the lists hasn't
given me anything... If you have suggestions, please help - I'm
out of ideas.
I have a bunch of dylib's and the program starts up fine in a
terminal shell & Xcode, but
in gdb(shell or xcode), it cannot find the libraries (message is
below).
- DYLD_LIBRARY_PATH is set properly.
- (gdb) show env gives correct results.
- the dylibs do exist and are freshly built.
I tried to "info sharedlibrary all" in gdb, and got this output
this particular dylib:
6 libProducer.dylib - - c-init Y Y /Users/
mlogan/dev/KrishnaKumar/NelFly/bin/libProducer.dylib at 0x0
(objfile is) /Users/mlogan/dev/
Producer_1.1/src/Darwin32.Opt/libProducer.dylib
but I don't understand what its telling me.
The first line is the wrong path.
Why the second line (the correct path) has no address?
Stab in the dark, but does "otool -D /my/problematic/libRary.dylib"
have the wrong path?
Cheers,
Graham.
--
Graham J Lee
http://www.thaesofereode.info/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden