[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mode=link and full path to dependent shared library?

From: Tim Mooney
Subject: Re: mode=link and full path to dependent shared library?
Date: Thu, 13 Oct 2005 12:23:10 -0500 (CDT)

In regard to: Re: mode=link and full path to dependent shared library?,...:

So, to conclude: aspell is wrong (because LTLIBINTL is documented),
and libtool could be doing things better.  (But the latter isn't
news to anyone.)

Thanks Ralf.  I have modified aspell's top level as such:

diff -ur aspell-0.60.3.orig/ aspell-0.60.3/
--- aspell-0.60.3.orig/  2005-06-27 04:15:37.000000000 -0500
+++ aspell-0.60.3/   2005-10-12 10:38:28.000000000 -0500
@@ -91,7 +91,7 @@

-libaspell_la_LIBADD =  $(LIBINTL) $(PTHREAD_LIB)
+libaspell_la_LIBADD =  $(LTLIBINTL) $(PTHREAD_LIB)

 libaspell_la_LDFLAGS = -version-info 16:3:0 -no-undefined

Testing both with present and with it missing works.

The one unfortunate bit is that aspell's configure still outputs:

checking how to link with libintl... /local/gnu/lib/ -rpath 

Even though it now doesn't use that, it uses

        -L/local/gnu/lib -lintl -R/local/gnu/lib

As Albert originally pointed out, this is because of the macros that
are part of the gettext package, mainly lib-link.m4.  It would be nice if
configure's output matched what was actually going to be used, but that
would involve changes to gettext's macros too.

I'll report the LTLIBINTL issue to the aspell folks.

Thanks Ralf and Albert for the advice and insight!

Tim Mooney                              address@hidden
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

reply via email to

[Prev in Thread] Current Thread [Next in Thread]