1 |
On Thu, 1 Jul 2010 11:30:55 +0100 |
2 |
Paul Stear wrote: |
3 |
|
4 |
> On Wednesday 30 Jun 2010 20:20:43 Frank Peters wrote: |
5 |
> > On Wed, 30 Jun 2010 19:32:39 +0100 |
6 |
> > |
7 |
> > Paul Stear <gentoo@××××××××××××.com> wrote: |
8 |
> > > This is the error:- |
9 |
> > > |
10 |
> > > >>> Compiling source in /var/tmp/portage/app- |
11 |
> > > |
12 |
> > > text/crm114-20090807/work/crm114-20090807-BlameThorstenAndJenny.src ... |
13 |
> > > make -j5 -s |
14 |
> > > /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bi |
15 |
> > > n/ld: cannot find -ltre |
16 |
> > |
17 |
> > I don't use crm114, but from this log it seems that libtre, and thus |
18 |
> > package tre, is not installed. |
19 |
> > |
20 |
> > Frank Peters |
21 |
> Thanks for your reply. package tre is installed |
22 |
> |
23 |
> ~/ > slocate |
24 |
> libtre /usr/lib64/libtre.so.5.0.0 |
25 |
> /usr/lib64/libtre.so.5 |
26 |
> /usr/lib64/libtre.so |
27 |
> /usr/lib64/libtre.la |
28 |
> |
29 |
> But I do not have any entries for ltre |
30 |
> I tried again with MAKEOPTS="-j1" and the install gets a bit further |
31 |
> but still fails with:- |
32 |
> crmregex_tre.c:44: warning: initialization makes integer from pointer |
33 |
> without a cast |
34 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: |
35 |
> cannot find -ltre |
36 |
> collect2: ld returned 1 exit status |
37 |
> make: *** [crm114] Error 1 |
38 |
> |
39 |
> Any other ideas? |
40 |
> regards |
41 |
> Paul |
42 |
|
43 |
"-ltre" indicates a library is needed (with the "-l" switch) and is |
44 |
named "tre". It does not indicate that "ltre" is needed (since the "l" |
45 |
is part of the switch). |
46 |
|
47 |
Possibly you have a bad symlink. Instead of "slocate libtre" to simply |
48 |
list matching names, try "ls -lt `slocate libtre`" (using backticks) to |
49 |
show the actual directory entries. This will give more detailed info. |