[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
order of discovering libraries in libtool
From: |
Marty Leisner |
Subject: |
order of discovering libraries in libtool |
Date: |
Sun, 22 Aug 2004 23:06:06 -0400 |
I'm building kde 3.3.0/kdelibs.
They're using libtool 1.5a, in the distribution.
Some of their tools needed a newer aspell...I'm on redhat9.
So I built and installed aspell 0.50.5 (don't know much about aspell)
and installed it into /usr/gnu.
What happened is libtool INSISTED on using the one in /usr/lib...
Going into libtool, -laspell was specified, but
/usr/lib/libaspell.la
was picked up (instead of /usr/gnu/lib/libaspell.la).
After a lot of investigation, it seems -laspell was being translated
into an absolute path, and the rules libtool used are not the same
as ld.
Setting LIBRARY_PATH doesn't seem to help, adding a -L<path>
did help!!
It looks like libtool does not honor LIBRARY_PATH.
If it doesn't, it should.
Marty Leisner
address@hidden
- order of discovering libraries in libtool,
Marty Leisner <=