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