1 |
OK. It works now. But I don't know why portage doesn't rebuild automatically |
2 |
libol... |
3 |
Thank you |
4 |
ETienne |
5 |
|
6 |
|
7 |
Le Lundi 16 Janvier 2006 19:48, Bob Slawson a écrit : |
8 |
> Try re-emerging libol then syslog-ng. Rebuilding libol might solve the |
9 |
> missing symbol problem. |
10 |
> |
11 |
> # emerge libol syslog-ng |
12 |
> |
13 |
> BobS |
14 |
> |
15 |
> Etienne Imguimbert wrote: |
16 |
> > Dear gentoo amd64 users, |
17 |
> > |
18 |
> > When trying to emerge app-admin/syslog-ng I get this error message: |
19 |
> > |
20 |
> > x86_64-pc-linux-gnu-gcc -march=k8 -pipe -fomit-frame-pointer -O2 -Wall |
21 |
> > -I/usr/include/libol -D_GNU_SOURCE -o syslog-ng main.o sources.o |
22 |
> > center.o filters.o destinations.o log.o cfgfile.o cfg-grammar.o cfg-lex.o |
23 |
> > affile.o afsocket.o afunix.o afinet.o afinter.o afuser.o afstreams.o |
24 |
> > afprogram.o afremctrl.o nscache.o utils.o syslog-names.o macros.o -lnsl |
25 |
> > -lresolv /usr/lib64/libol.a -lnsl -Wl,-Bstatic -lfl -lwrap |
26 |
> > -Wl,-Bdynamic |
27 |
> > |
28 |
> > |
29 |
> > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bi |
30 |
> >n/ld: /usr/lib64/libol.a(format.o): relocation R_X86_64_32S against `a |
31 |
> > local symbol' can not be used when making a shared object; recompile with |
32 |
> > -fPIC |
33 |
> > /usr/lib64/libol.a: ne peut lire les symboles: Bad value |
34 |
> > |
35 |
> > |
36 |
> > collect2: ld a retourné 1 code d'état d'exécution |
37 |
> > make[3]: *** [syslog-ng] Erreur 1 |
38 |
> > make[3]: Leaving directory |
39 |
> > `/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src' |
40 |
> > make[2]: *** [all-recursive] Erreur 1 |
41 |
> > make[2]: Leaving directory |
42 |
> > `/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src' |
43 |
> > make[1]: *** [all] Erreur 2 |
44 |
> > make[1]: Leaving directory |
45 |
> > `/var/tmp/portage/syslog-ng-1.6.8-r1/work/syslog-ng-1.6.8/src' |
46 |
> > make: *** [all-recursive] Erreur 1 |
47 |
> > |
48 |
> > !!! ERROR: app-admin/syslog-ng-1.6.8-r1 failed. |
49 |
> > !!! Function src_compile, Line 43, Exitcode 2 |
50 |
> > !!! emake failed |
51 |
> > !!! If you need support, post the topmost build error, NOT this status |
52 |
> > message. |
53 |
> > |
54 |
> > a64 ~ # |
55 |
> > |
56 |
> > |
57 |
> > What's wrong with -fPIC? Should I add it in my CFLAGS? |
58 |
> > |
59 |
> > Here is my /etc/make.conf: |
60 |
> > |
61 |
> > a64 ~ # cat /etc/make.conf |
62 |
> > # These settings were set by the catalyst build script that automatically |
63 |
> > built this stage |
64 |
> > # Please consult /etc/make.conf.example for a more detailed example |
65 |
> > CFLAGS="-march=k8 -pipe -fomit-frame-pointer -O2" |
66 |
> > CHOST="x86_64-pc-linux-gnu" |
67 |
> > CXXFLAGS="${CFLAGS}" |
68 |
> > MAKEOPTS="-j2" |
69 |
> > |
70 |
> > FEATURES="ccache" |
71 |
> > |
72 |
> > CCACHE_SIZE="4G" |
73 |
> > CCACHE_DIR="/var/tmp/ccache" |
74 |
> > |
75 |
> > GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ |
76 |
> > http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/" |
77 |
> > |
78 |
> > SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage" |
79 |
> > |
80 |
> > LINGUAS="fr fr_FR" |
81 |
> > |
82 |
> > ALSA_CARDS="intel8x0" |
83 |
> > |
84 |
> > USE=" nptl nptlonly userlocales ssl \ |
85 |
> > -gnome qt kde gtkhtml \ |
86 |
> > dvd cdr musicbrainz \ |
87 |
> > -cups xprint \ |
88 |
> > java browserplugin nsplugin \ |
89 |
> > gif tiff wmf mozsvg aalib gphoto2 svg jpeg2k \ |
90 |
> > truetype font-server unicode \ |
91 |
> > 3dnow mmx sse sse2 \ |
92 |
> > glut opengl kdgraphics \ |
93 |
> > ogg vorbis oggvorbis flac alsa arts oss \ |
94 |
> > artswrappersuid kdeenablefinal \ |
95 |
> > dmx dlloader toolbar \ |
96 |
> > bash-completion symlink hardened \ |
97 |
> > glitz md5sum caps curl gnutls " |
98 |
> > |
99 |
> > PORTDIR_OVERLAY="/usr/local/portage" |
100 |
> > |
101 |
> > a64 ~ # |
102 |
> > |
103 |
> > The profile I use is 2005.1. |
104 |
> > |
105 |
> > Thank you in advance |
106 |
> > |
107 |
> > Etienne |
108 |
|
109 |
|
110 |
-- |
111 |
gentoo-amd64@g.o mailing list |