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?
Graham.