[plt-scheme] Dynamic libraries in OS X (SQLite)

From: Gregory Woodhouse (gregory.woodhouse at sbcglobal.net)
Date: Sun Jan 28 20:24:58 EST 2007

On Jan 28, 2007, at 4:39 PM, Woodhouse, Gregory J. wrote:

> Assuming you're in the root directory, you might try
>
> find . -name \*.dylib -print
>
> I see a number of naming conventions being used by Aqua application  
> (all in a subdirectory of the .app folder), but there are quite a  
> few libraries in /usr/lib and /usr/local/lib, too. I suppose it  
> really depends on whether the library is meant to be used by a  
> single appplication or framework, or whether it is a "standard"  
> library any application might potentially use.
> --------------------------
> Sent using BlackBerry

Checking the developer documentation, I see that there are three  
environment variables that are checked when linking to dynamic  
library: LD_LIBRARY_PATH, DYLIB_LIBRARY_PATH and  
DYLIB_FALLBACK_LIBRARY_PATH.

It seems to me that there are three basic patterns

1. Dynamic libraries packaged with an application
2. Dynamic libraries packaged as frameworks
3. Dynamic libraries meant for "ordinary" Unix applications

and the location will vary a bit depending on which is being employed.


Gregory Woodhouse
gregory.woodhouse at sbcglobal.net

"Interaction is the mind-body problem
of computing." --Philip  L. Wadler




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070128/4fb5b5b0/attachment.html>

Posted on the users mailing list.