• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: gdb isn't looking at DYLD_LIBRARY_PATH - NO frameworks involved.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Mike Logan <email@hidden>
  • Date: Wed, 13 Dec 2006 15:34:48 -0800


% otool -D /users/mlogan/dev/Producer_1.1/src/Darwin32.Opt/libProducer.dylib
/users/mlogan/dev/Producer_1.1/src/Darwin32.Opt/libProducer.dylib:
libProducer.dylib


Well, it gave just the name..   that seems to differ from other dylibs..
Some args missing when I built my libraries ??

 % otool -D /usr/lib/libgcc_s.1.dylib
/usr/lib/libgcc_s.1.dylib:
/usr/lib/libgcc_s.1.dylib
 % otool -D /usr/X11R6/lib/libX11.6.dylib
/usr/X11R6/lib/libX11.6.dylib:
/usr/X11R6/lib/libX11.6.dylib


ml




On Dec 13, 2006, at 3:09 PM, Graham J Lee wrote:

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.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >gdb isn't looking at DYLD_LIBRARY_PATH - NO frameworks involved. (From: Mike Logan <email@hidden>)

  • Prev by Date: gdb isn't looking at DYLD_LIBRARY_PATH - NO frameworks involved.
  • Next by Date: Why doesn't Apple's Installer let me choose architecture?
  • Previous by thread: gdb isn't looking at DYLD_LIBRARY_PATH - NO frameworks involved.
  • Next by thread: Why doesn't Apple's Installer let me choose architecture?
  • Index(es):
    • Date
    • Thread