1 |
> First post to this list, so please forgive if this isn't appropriate. |
2 |
> |
3 |
> I'm trying to port my primary web/mail server from an old dual-P3 to a new |
4 |
> AMD-64 3000. The effort is going well, up until my mod_php emerge. That is |
5 |
> dying with a "C compiler cannot create executables" error. My config.log is |
6 |
> attached. Here is my /etc/make.conf: |
7 |
> |
8 |
> # These settings were set by the catalyst build script that automatically |
9 |
> built this stage |
10 |
> # Please consult /etc/make.conf.example for a more detailed example |
11 |
> CFLAGS="-march=athlon64 -o2 -pipe" |
12 |
> CHOST="x86_64-pc-linux-gnu" |
13 |
> CXXFLAGS="${CFLAGS}" |
14 |
> MAKEOPTS="-j2" |
15 |
> USE="-gtk -gnome -kde -alsa -X apache2 -cups dvd dvdr -ssl clearpasswd mysql |
16 |
> imap" |
17 |
|
18 |
configure:13327: gcc -o conftest -march=athlon64 -pipe -DLINUX=2 |
19 |
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE |
20 |
-D_SVID_SOURCE -D_GNU_SOURCE -pthread -ltiff -L/usr/lib64 conftest.c -lm |
21 |
-lxmlparse -lxmltok 1>&5 |
22 |
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: |
23 |
warning: libmysqlclient.so.12, ne |
24 |
eded by /usr/lib64/libxmlparse.so, not found (try using -rpath or |
25 |
-rpath-link) |
26 |
|
27 |
You should start by using revdep-rebuild as there seems to be a linking |
28 |
problem between libxmlparse.so and libmysqlclient.so.12 |
29 |
|
30 |
In your CFLAGS you have -o2, try changing that to -O2 |
31 |
|
32 |
revdep-rebuild is included in gentoolkit |
33 |
|
34 |
-- |
35 |
gentoo-amd64@g.o mailing list |