Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in ld?



Thanks!
I should have figgered that one out, duh!

On Sep 18, 2004, at 6:33 PM, Peter O'Gorman wrote:

Rich Cook wrote:

I wonder if anyone could explain the following? Although -L. is specified, the linker does not see -libz.1.dylib in the current working directory, but instead uses /usr/lib/libz.1.dylib. This looks like a bug to me, is it not?
Thanks.
richcookmac:zlib rcook$ ls -l ./libz.1.dylib
-rwxr-xr-x 1 rcook viz 56200 18 Sep 17:24 ./libz.1.dylib

The linker is looking for libz.dylib, not libz.1.dylib, if you specify -lz.1, or put a symlink linking libz.dylib to libz.1.dylib in the current directory then it will find your local libz.


Peter
--
Peter O'Gorman - http://www.pogma.com

_______________________________________________ Do not post admin requests to the list. They will be ignored. Scitech mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/scitech/email@hidden

This email sent to email@hidden
References: 
 >bug in ld? (From: Rich Cook <email@hidden>)
 >Re: bug in ld? (From: "Peter O'Gorman" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.