[gnutls-dev] Guile problems in 1.7.12
Simon Josefsson
simon at josefsson.org
Wed Jun 27 12:25:09 CEST 2007
ludo at chbouib.org (Ludovic Courtès) writes:
> Simon Josefsson <simon at josefsson.org> writes:
>
>> Still, the paths look right for me:
>
> I think I got it (I hope so!):
>
> * On my machine, Guile is installed in `/usr/local/'. Thus,
> `GUILE_LDFLAGS' contain `-L /usr/local/lib', which leads Libtool to
> add `/usr/local/lib' to RPATH.
>
> * On your machine, Guile is installed in `/usr', so this does not
> happen. And a `-L /usr/local/lib' to your Libtool link command-line
> and you'll make the same observations as I do.
>
> Unless I'm mistaken, the fix is to revert your `_LIBADD' patch and get
> back to something along the lines of:
>
> libXXX_LDFLAGS = $(GNUTLS_CORE_LIBS) $(GNUTLS_EXTRA_LIBS) \
> $(GUILE_LDFLAGS)
>
> which makes sure that third-party libs (here, Guile) appear last.
I didn't reply to this mail. Is this still a problem for you? I think
it is more correct to use LIBADD rather than LDFLAGS here, so I'd like
to debug why that doesn't work (and possibly report it as a bug) before
making a change.
/Simon
More information about the Gnutls-dev
mailing list