On Tuesday, Apr 28, [EMAIL PROTECTED] ([EMAIL PROTECTED]) spake thusly:
> On 27 Apr, Dmitry Yaitskov shouted:
> -> Hi guys,
> ->
> -> I dunno about rpms, but those who compile their own probably know that
> -> there are some problems when linking with imlib, at least with 1.3 (I
> -> don't remember about older versions)... the problem being that if you
> -> link with imlib, you have to 'manually' add -ltiff -lgif etc. to the
> -> command that links the final executable... because the shared imlib
> -> library itself is linked *without* those other libraries that it
> -> actually needs. That is, the command that creates the imlib so file
> -> looks like this:
>
> of course it doesn't.. because only linux supports libs linked to other
> libs.. you have to link the APP (program) using imlib to libtiff,
> libgif etc.
I see... (I didn't know that because Linux is the only unix that I've
ever seen.)
<snip>
> thew inter-lib dependanicies was disabled in libtool due to bugs in
> libtool. This is old-hat :)
Yes, that's what its (libtool's) page says... which brings me back to
my question - if it *is* broken, why use it?... but according to what
you say (that shared libs should not be linked to other libs) it is
not broken? or is it?
>
> -> 'Many people have been sending bug reports to me because libtool
> -> doesn't do inter-library dependencies'
> ->
> -> Oops... so what I'm trying to say... it is all well and nice to
> -> acknowledge the fact (that it is broken), but it still *is* broken. I
> -> mean, the net result is that imlib is linked wrongly, and other things
>
> no - imlib need not be linked at all.. the thing to do is make sure the
> apps using imlib are linked correctly :)
You may be right, but if so at least two other apps have broken
installs - e (which does not link explicitly to all those other
graphical libs), and eplus (its config script tries to check for
imlib, and fails if imlib is not linked with the libs it
needs)... As I said, I have no experience with libtool nor with any
unix except linux, so what I'm writing is not a flame, but rather an
attempt to understand *what* is broken (and needs fixing). Because
something definitely is (and does).
--
Cheers,
-Dima.
-
To unsubscribe from this list send mail to: [EMAIL PROTECTED]
with the message contents: unsubscribe e-develop