| View previous topic :: View next topic |
| Author |
Message |
Azangod Tux's lil' helper


Joined: 18 May 2005 Posts: 107 Location: Italy
|
Posted: Thu Jun 21, 2012 1:07 pm Post subject: lib64 on 32bit sistem ? |
|
|
Hi,
I have some issues with an old
Just a week ago, while updating I saw a very bad message: moving /lib -> /lib32 ... resulting in an unusable system. Just renaming wasnt enough so I restarted from stage3.
Now, after various emerge -e xxx the system boots but there is something wrong...
1) starting apache it complains about /usr/lib/apache2/modules/libphp5.so. with locate I've found out this:
-rw-r--r-- 1 root root 9032992 Jun 21 11:43 /usr/lib/php5.3/apache2/libphp5.so
lrwxrwxrwx 1 root root 36 Jan 30 19:44 /usr/lib64/apache2/modules/libphp5.so -> /usr/lib64/php5.3/apache2/libphp5.so
-rw-r--r-- 1 root root 9032992 May 7 16:43 /usr/lib64/php5.3/apache2/libphp5.so
I've emerged php & apache about 4 times today, libphp date doesnt not match... why?
2) here is the output of gcc-config -l
[1] i686-pc-linux-gnu-4.5.3 *
* broken config file: /etc/env.d/gcc/x86_64-pc-linux-gnu-4.5.3
[2] x86_64-pc-linux-gnu-4.5.3
emerge --info
Portage 2.1.10.49 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.2.1-gentoo-r2 i686)
=================================================================
System uname: Linux-3.2.1-gentoo-r2-i686-Intel-R-_Xeon-TM-_CPU_3.06GHz-with-gentoo-2.1
Timestamp of tree: Thu, 21 Jun 2012 06:30:01 +0000
app-shells/bash: 4.2_p20
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.3-r2, 3.2.3
dev-util/cmake: 2.8.7-r5
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.68
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.6
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"[/b]
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi apache2 bash-completion berkdb bzip2 cdr cli cracklib crypt cups cxx dbus dri exif flac fortran gdbm gif gpm iconv imap ipv6 jpeg jpeg2k libwww lm_sensors maildir mmx modules mp3 mudflap ncurses nls nptl nsplugin openmp pam pcre pdf png pppd readline reiserfs samba sasl semantic-desktop session smp snmp sse sse2 ssl svg sys-auth/consolekit tcpd tiff truetype unicode usb userlocales wmf x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 3.06GHz
stepping : 9
microcode : 0x2d
cpu MHz : 3051.115
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
bogomips : 6102.23
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 32 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 3.06GHz
stepping : 9
microcode : 0x2d
cpu MHz : 3051.115
cache size : 512 KB
physical id : 3
siblings : 2
core id : 0
cpu cores : 1
apicid : 6
initial apicid : 6
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
bogomips : 6101.27
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 32 bits virtual
power management:
processor : 2
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 3.06GHz
stepping : 9
microcode : 0x2d
cpu MHz : 3051.115
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
bogomips : 6101.35
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 32 bits virtual
power management:
processor : 3
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 3.06GHz
stepping : 9
microcode : 0x2d
cpu MHz : 3051.115
cache size : 512 KB
physical id : 3
siblings : 2
core id : 0
cpu cores : 1
apicid : 7
initial apicid : 7
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
bogomips : 6101.31
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 32 bits virtual
power management:
Thanks |
|
| Back to top |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4949
|
|
| Back to top |
|
 |
XavierMiller Moderator


Joined: 23 Jul 2004 Posts: 4607 Location: ~Brussels - Belgique
|
Posted: Thu Jun 21, 2012 6:34 pm Post subject: |
|
|
Hello,
It looks like you used a 64 bits kernel / stage3 and you changed the CHOST / profile / kernel to 32 bits.
There are no "lib32" in 32-bits systems, but only in multilib 64 bits systems. _________________ Xavier Miller
(FR) Merci de respecter les règles du forum.
http://www.xaviermiller.be |
|
| Back to top |
|
 |
Azangod Tux's lil' helper


Joined: 18 May 2005 Posts: 107 Location: Italy
|
Posted: Fri Jun 22, 2012 5:33 am Post subject: |
|
|
First of all, thank you.
@audiodef
yes, I tried revdep-rebuild and emerge -e plenty of times
@XavierMiller
I never changed the CHOST from stage3, I'm pretty sure.
I do use genkernel on this server.
Linux krcserver 3.2.1-gentoo-r2 #1 SMP Wed Jun 20 11:55:29 Local time zone must be set--see zic i686 Intel(R) Xeon(TM) CPU 3.06GHz GenuineIntel GNU/Linux
And, prior to emerging update world (last week) I have never seen lib32/lib64 on this system.
I moved /lib64. It seems not used. |
|
| Back to top |
|
 |
Genone Retired Dev


Joined: 14 Mar 2003 Posts: 8862 Location: beyond the rim
|
Posted: Wed Jun 27, 2012 8:03 am Post subject: |
|
|
| Quote: | 2) here is the output of gcc-config -l
[1] i686-pc-linux-gnu-4.5.3 *
* broken config file: /etc/env.d/gcc/x86_64-pc-linux-gnu-4.5.3
[2] x86_64-pc-linux-gnu-4.5.3 |
That second entry must come from somewhere ... Either you used an amd64 profile for some time, or enabled amd64 stuff elsewhere by accident.
| Quote: | | USE="acl acpi apache2 bash-completion berkdb bzip2 cdr cli cracklib crypt cups cxx dbus dri exif flac fortran gdbm gif gpm iconv imap ipv6 jpeg jpeg2k libwww lm_sensors maildir mmx modules mp3 mudflap ncurses nls nptl nsplugin openmp pam pcre pdf png pppd readline reiserfs samba sasl semantic-desktop session smp snmp sse sse2 ssl svg sys-auth/consolekit tcpd tiff truetype unicode usb userlocales wmf x86 xml xorg zlib" |
Might wanna check your config files, that entry looks suspicous. |
|
| Back to top |
|
 |
Azangod Tux's lil' helper


Joined: 18 May 2005 Posts: 107 Location: Italy
|
Posted: Wed Jun 27, 2012 11:31 am Post subject: |
|
|
Yes, I merged the old etc with the new one.
I suspect that broken config file: /etc/env.d/gcc/x86_64-pc-linux-gnu-4.5.3 could come from here.
I dont remeber to have ever used a 64bit profile. The processor is an old (32bit) intel xeon
About the USE flags I copied them from my workstation:
| Code: |
_IMAGE_USE="gif jpeg2k jpeg tiff png exif svg wmf"
_AUDIO_USE="mp3 ogg a52 aac alsa arts vorbis flac dts cdparanoia cddb"
_COMPRESSION_USE="zlib bzip2"
_VIDEO_USE="asf opengl cairo divx4linux oggvorbis asf win32codecs flash matroska mpeg avi ffmpeg quicktime xvid xvmc vcd css dvb xine v4l v4l2"
_PROC_USE="mmx sse sse2 smp"
_LANG_USE="nls unicode userlocales"
_DEVICE_USE="cdr dvd bluetooth usb acpi lm_sensors snmp networkmanager"
_PRINT_USE="cups truetype pdf foomaticdb"
_HW_USE="nvidia xvmc"
USE="ntfsprogs imap sasl bash-completion crypt dbus -hal -gnome gtk gtk2 ipv6 java qt4 apache2 samba nsplugin tcpd ssl semantic-desktop snmp sys-[b]auth/consolekit[/b] reiserfs"
USE="${USE} ${_IMAGE_USE} ${_AUDIO_USE} ${_COMPRESSION_USE} ${_VIDEO_USE} ${_PROC_USE} ${_LANG_USE} ${_DEVICE_USE} ${_PRINT_USE} ${_HW_USE}"
INPUT_DEVICES="mouse keyboard wacom evdev"
VIDEO_CARDS="nvidia"
ALSA_CARDS="ctxfi"
|
I use this pattern for all my computers, with needed customizations off course (no X, KDE, video etc on servers... video cards etc)
is there something wrong about consolekit? |
|
| Back to top |
|
 |
Mistwolf Tux's lil' helper

Joined: 07 Mar 2007 Posts: 94 Location: Edmonton, AB
|
Posted: Thu Jun 28, 2012 4:13 am Post subject: |
|
|
there is no sys-auth/consolekit USE flag. That is a portage package name. There is a consolekit USE flag (no sys-auth/).
Check your CHOST entry in your make.conf file. It has an extra [/b] in emerge --info (same as the consolkit entry).
Your make.conf file might have extra/missing entries. |
|
| Back to top |
|
 |
Azangod Tux's lil' helper


Joined: 18 May 2005 Posts: 107 Location: Italy
|
Posted: Thu Jun 28, 2012 7:00 am Post subject: |
|
|
| Quote: | | there is no sys-auth/consolekit USE flag. That is a portage package name. There is a consolekit USE flag (no sys-auth/). |
DOH! How could I not notice! I feel really dumb...
Here is my emerge --info:
| Code: | krcserver ~ # emerge --info
Portage 2.1.10.65 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo i686)
=================================================================
System uname: Linux-3.2.12-gentoo-i686-Intel-R-_Xeon-TM-_CPU_3.06GHz-with-gentoo-2.1
Timestamp of tree: Sat, 23 Jun 2012 05:30:01 +0000
app-shells/bash: 4.2_p20
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.3-r2, 3.2.3
dev-util/cmake: 2.8.7-r5
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.68
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.6
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi apache2 bash-completion berkdb bzip2 cdr cli cracklib crypt cups cxx dbus dri exif flac fortran gdbm gif gpm iconv imap ipv6 jpeg jpeg2k libwww lm_sensors maildir mmx modules mp3 mudflap ncurses nls nptl nsplugin openmp pam pcre pdf png pppd readline reiserfs samba sasl semantic-desktop session smp snmp sse sse2 ssl svg tcpd tiff truetype unicode usb userlocales wmf x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
|
Appears good to me. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|