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