[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: dependency on *.la files
From: Thiago Macieira <thiago.macieira () kdemail ! net>
Date: 2004-03-11 21:19:05
Message-ID: 200403111819.07353.thiago.macieira () kdemail ! net
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jim Philips wrote:
>libtool: link: cannot find the library
> `/usr/local/lib/libart_lgpl_2.la'
Note KDE code, in our tarballs, never mentions a library by pathname
like above.
When that happens, it's because of an *installed* .la file. As you said
below that you cannot find that library, I conclude you don't have it.
Therefore, it must come in a package you installed.
Conclusion: broken dependency in some package. I've already made a
proposal that binary packages track dependencies into .la files
already, but my example code did not work with RPM.
>I know Kdsl isn't part of KDE core, but I had similar problems with
> Juk when I tried to build kdemultimedia-3.2. I ended up just removing
> Juk from TOPSUBDIRS. The problem is that RedHat doesn't provide these
> files in any package at all. So, what is the solution (short of
> abandoning RedHat)? Am I going to have this problem more and more
> with KDE?
There are two solutions:
1) install libart_lgpl_2.la, either by binary package or by compiling it
yourself
2) find the .la file that references the library by name and change it
to -lart_lgpl_2 -- maybe even remove it. ELF targets do not require a
dependecy's dependencies to be named during linking.
- --
Thiago Macieira - Registered Linux user #65028
thiago (AT) macieira (DOT) info
ICQ UIN: 1967141 PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAUNfJM/XwBW70U1gRAoxQAKC+/2AHwpoKCX2bmlPFUcAulGzy1QCdHg+n
T4KcOPKnNMk/GKgS2wZD2Kw=
=Zfqe
-----END PGP SIGNATURE-----
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic