1 |
On Thu, Jun 2, 2011 at 11:44 AM, dhkuhl@×××××××××.net wrote: |
2 |
|
3 |
|
4 |
|
5 |
----- Original Message ----- |
6 |
From: Paul Hartman |
7 |
Date: Thursday, June 2, 2011 11:24 am |
8 |
Subject: Re: [gentoo-user] emerge --depclean - libcurl.la |
9 |
To: gentoo-user@l.g.o |
10 |
|
11 |
> On Thu, Jun 2, 2011 at 9:54 AM, wrote: |
12 |
>> emerge --depclean removed libcurl.la a few days ago. I have a |
13 |
> program> that's not in world that uses it when built: libtool |
14 |
> complains that it's |
15 |
>> missing. In /usr/lib64 there are libcurl .so files but no .la |
16 |
> files.> |
17 |
>> How can I get the libcurl.la library back and keep it so emerge |
18 |
>> --depclean doesn't remove it? |
19 |
> |
20 |
> Have you run "lafilefixer --justfixit"? I wonder if you have old .la |
21 |
> files from packages emerged before portage 2.1.9. |
22 |
> After running it once, you shouldn't need it anymore since portage |
23 |
> will auto-fix them upon installation. |
24 |
> You should run the lafilefixer command before trying revdep-rebuild, |
25 |
> or else you might have a lot of unnecessary emerges. |
26 |
> AFAIK the usage of .la files is basically deprecated and only a few |
27 |
> packages still require them. Flameeyes posted a lot of details about |
28 |
> it on his blog last year. (http://blog.flameeyes.eu) |
29 |
> |
30 |
|
31 |
I did the lafilefixer and revdep-rebuild and it still happens. I think |
32 |
it may be in my project directory. In there I have three files libtool, |
33 |
Makefile.in, and acinclude.m4 each make reference to libtool. It's |
34 |
commented out in the configure.ac file. |
35 |
|
36 |
|
37 |
Something is still looking for libcurl.la and libtool is trying to link |
38 |
to it. I grep'ed for curl and nothing is returned. I'm using the |
39 |
Berkeley C++ xml database, libxml2, and other things. I cleaned up all |
40 |
the Makefiles and reran libtoolize. The error is as follows. |
41 |
|
42 |
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g2 -O0 -DDEBUG |
43 |
-DG_LOG_DOMAIN=\"domain\" |
44 |
-DPACKAGE_DATA_DIR=\""/tmp/domain"\" |
45 |
-DPACKAGE_LOCALE_DIR=\""/tmp/domain/locale"\" |
46 |
-DROOTLOGICDIR=\""/tmp/domain"\" |
47 |
-I/opt/BerkeleyDB/dbxml-2.5.16/install/include -pthread |
48 |
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include |
49 |
-I/usr/include/gtk-2.0 |
50 |
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo |
51 |
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 |
52 |
-I/usr/include/pixman-1 |
53 |
-I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libxml2 |
54 |
-DMAKE_POS0 -DEXACTNESS -g2 -ggdb -O0 -DDEBUG=1 -MT |
55 |
pso0-companySpecific.o |
56 |
-MD -MP -MF .deps/pso0-companySpecific.Tpo -c -o pso0-companySpecific.o |
57 |
`test |
58 |
-f 'companySpecific.c' || echo './'`companySpecific.c |
59 |
mv -f .deps/pso0-companySpecific.Tpo .deps/pso0-companySpecific.Po |
60 |
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -export-dynamic |
61 |
-rdynamic -L/opt/BerkeleyDB/dbxml-2.5.16/install/lib -o pso0 |
62 |
pso0-main.o |
63 |
pso0-xt.o pso0-bdb.o pso0-bdbInventory.o pso0-bdbXaction.o |
64 |
pso0-interfaceBuilder.o pso0-epsonPrint.o pso0-number.o |
65 |
pso0-initialize.o |
66 |
pso0-support.o pso0-callbacks.o pso0-psoGetOpts.o pso0-menus.o |
67 |
pso0-psosubs.o |
68 |
pso0-putMsg.o pso0-pso.o pso0-psoGuiBuild.o pso0-ipms.o pso0-plu.o |
69 |
pso0-companySpecific.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 |
70 |
-lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo |
71 |
-lpng14 |
72 |
-lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 |
73 |
-lgthread-2.0 |
74 |
-lrt -lglib-2.0 -lxml2 -ldb -ldb_cxx -ldbxml -lxqilla -lxerces-c |
75 |
libtool: link: cannot find the library `/usr/lib64/libcurl.la' or |
76 |
unhandled |
77 |
argument `/usr/lib64/libcurl.la' |
78 |
make[3]: *** [pso0] Error 1 |
79 |
make[3]: Leaving directory `/home/shtarker/Dev/pso/src' |
80 |
make[2]: *** [all-recursive] Error 1 |
81 |
make[2]: Leaving directory `/home/shtarker/Dev/pso/src' |
82 |
make[1]: *** [all-recursive] Error 1 |
83 |
make[1]: Leaving directory `/home/shtarker/Dev/pso' |
84 |
make: *** [all] Error 2 |
85 |
|
86 |
libtool: link: cannot find the library `/usr/lib64/libcurl.la' or |
87 |
unhandled |
88 |
|
89 |
Thanks, |
90 |
|
91 |
dhk |