[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can I link with libguile?
From: |
Albert Chin |
Subject: |
Re: How can I link with libguile? |
Date: |
Mon, 13 Jan 2003 11:24:30 -0600 |
User-agent: |
Mutt/1.4i |
On Sun, Jan 12, 2003 at 04:24:02PM -0800, Bruce Korb wrote:
> ``libguile'' lives in a place where LD_LIBRARY_PATH must be set
> (viz., /opt/sfw/lib). What is wrong? What should I be doing to
> tell libtool that it has to add a ``-R/opt/sfw/lib'' or something?
> If I use ``guile-config'' first, I'll override ``--with-libguile''.
> So much pain. :-(
We solve this by building like so:
$ LDFLAGS="-R[path to guile library]" ./configure
And, in the specific case of guile, we modify guile-config to output
-L[path to guile libraries] *and* -R[path to guile libraries].
--
albert chin (address@hidden)