http://fink.sourceforge.net/doc/porting/shared.php might be helpful.

-Jeff

On Sun, 3 Feb 2002, Adrian Simmons wrote:

> At 1:52 PM -0700 1/2/02, Jeff Whitaker wrote:
> >This is caused by the fact that the linker didn't use "-install_name", or
> >"-install_name" was set to the wrong path.  If it had been linked with
> >"-install_name /sw/lib/libcups.2.dylib" you wouldn't need to set
> >DYLD_LIBRARY_PATH.
> Excuse my ignorance, but how can I tell the linker to use
> -install_name during the compile?
> Just spent a couple of hours reading man pages, web pages and
> experimenting to no avail.
>
> I presume I need to do something along the lines of:
> setenv LDFLAGS "-L/sw/lib -install_name"
> setenv DSOFLAGS "-L/sw/lib -install_name"
> ./configure
>
> Maybe I'm just too tired...
>
>

-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/CDC  R/CDC1        Email  : [EMAIL PROTECTED]
325 Broadway                Web    : www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80303-3328 Office : Skaggs Research Cntr 1D-124


_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to