OVH Cloud OVH Cloud

[gentoo-user-fr] Symbole non défini dans php.

8 réponses
Avatar
Christophe Garault
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bonjour à tous,

Depuis quelques temps le cron de rkhunter me mail la ligne suivante:

/usr/bin/php: symbol lookup error: /usr/bin/php: undefined symbol:
usmAES192PrivProtocol

J'ai à nouveau émergé php, fais un revdep, mais sans succès. Quelqu'un
aurait une idée?


- --

Christophe Garault
Take your marks:
Gen too three: Emerge!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCDcZrJ5Nh3YMYAQsRApWcAJ9sZmFKknksQdwBnoat+JYHvLYVLACeK9Sr
e5fICvylowNIqv6Ce8z44/I=
=PAun
-----END PGP SIGNATURE-----


--
gentoo-user-fr@gentoo.org mailing list

8 réponses

Avatar
Yoann Pannier
Christophe Garault wrote:
/usr/bin/php: symbol lookup error: /usr/bin/php: undefined symbol:
usmAES192PrivProtocol



Version de php ?

--
Yoann Pannier

--
mailing list
Avatar
Christophe Garault
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yoann Pannier a écrit :

| Version de php ?

Suis-je bête!
- ---------------------
* dev-php/php
~ Latest version available: 4.3.10
~ Latest version installed: 4.3.10
~ Size of downloaded files: 3,932 kB
~ Homepage: http://www.php.net/
~ Description: PHP Shell Interpreter
~ License: PHP-3
- ---------------------

toff $ /usr/bin/php
/usr/bin/php: symbol lookup error: /usr/bin/php: undefined symbol:
usmAES192PrivProtocol

- ---------------------

marge root # emerge --info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.4.28 i686)
================================================================ System uname: 2.4.28 i686 AMD Duron(tm)
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 8 2005,
10:11:56)]
ccache version 2.3 [enabled]
dev-lang/python: 2.3.4-r1
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.6.3, 1.5, 1.7.9-r1, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils: 2.15.92.0.2-r1
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mir.zyrianes.net/gentoo/
http://mirror.switch.ch/mirror/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.du.se/pub/os/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG=""
LC_ALL=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow aalib acl adns aim apache2 audiofile avi
bash-completion berkdb bindist bitmap-fonts bonobo caps crypt cscope
cups curl directfb divx4linux doc encode ethereal f77 fam fastcgi
fbcon fdftk flac flash font-server foomaticdb fortran freetds gd gdbm
ggi gif gpm gstreamer gtk2 guile icq imagemagick imap imlib innodb
jabber jikes jpeg junit krb4 lcms ldap lesstif libg++ libgda libwww
mad maildir mbox mcal md5sum mikmod mmx motif mozilla mpeg mpi msn
mysql ncurses nls nocd oci8 odbc oggvorbis opengl oscar pam pdflib
perl png postgres ppds prelude python quicktime readline ruby samba
sasl slang slp snmp socks5 speex spell sqlite sse ssl svga tcpd tetex
theora tiff truetype truetype-fonts type1-fonts unicode usb vhosts wmf
xface xml2 xv xvid yahoo zeo zlib linguas_fr linguas_fr_FR linguas_en
linguas_en_US"
Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY

- -------------------

Voilà. A part ça mon système est clean hormis un blocage entre deux
implémentations de Kerberos que je vais tenter de résoudre ce w-e.
Ah et puis enfin:

marge root # emerge -pv php

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] dev-php/php-4.3.10 -X +berkdb +crypt +curl -debug
+doc +fdftk -firebird +flash +freetds +gd -gd-external +gdbm +gmp
- -hardenedphp +imap -informix -ipv6 -java +jpeg -kerberos +ldap +mcal
+memlimit -mssql +mysql +ncurses +nls +oci8 +odbc +pam +pdflib +png
+postgres -qt +readline +snmp +spell +ssl +tiff +truetype +xml2 -yaz 0 kB

Total size of downloads: 0 kB

- -------------------

Bon, vu que genlop m'indique 1/4 d'heure je vais recommencer l'emerge
avec d'autres flags et notamment kerberos.

- --
Christophe Garault
Take your marks:
Gen too three: Emerge!


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCDddCJ5Nh3YMYAQsRAkS6AJ9m2aru2ghPp0U22Akt5awq5hM/tACaAxZT
LvMe8NWk5tliTc+gvYa49t0 =XRQt
-----END PGP SIGNATURE-----


--
mailing list
Avatar
Thomas de Grenier de Latour
On Sat, 12 Feb 2005 11:31:49 +0100
Thomas de Grenier de Latour wrote:

# patch -p1 < /tmp/php4-netsnmp52-aes.diff



Argh, bon bah j'ai parlé trop vite, je viens d'essayer par
curiosité et le patch ne s'applique pas correctement sur
php-4.3.10.
Heu bon, vu que ça doit être corrigé dans les 5.0.x récents, tu
voudrais pas tout simplement changer de branche ? :)

--
TGL.

--
mailing list
Avatar
Thomas de Grenier de Latour
On Sat, 12 Feb 2005 11:31:49 +0100
Thomas de Grenier de Latour wrote:

# ebuild php-4.3.10.ebuild qmerge clean



Oops, plutôt :
# ebuild php-4.3.10.ebuild install qmerge clean

--
TGL.

--
mailing list
Avatar
Thomas de Grenier de Latour
On Sat, 12 Feb 2005 10:03:39 +0100
Christophe Garault wrote:

/usr/bin/php: symbol lookup error: /usr/bin/php: undefined
symbol: usmAES192PrivProtocol



Ça a l'air d'être ce bug:
http://bugs.php.net/bug.php?id0995

Il y a un patch fait par un mainteneur PHP de Gentoo, mais qui n'a
pas l'air d'être encore dans Portage, et il n'y a pas eu de nouve
lle release de la branche 4.3 depuis qu'il a été integré dans PHP:
http://dev.gentoo.org/~robbat2/php4-netsnmp52-aes.diff

Tu peux toujours l'essayer à l'arrache, un truc dans ce genre là:
# cd /tmp
# wget http://dev.gentoo.org/~robbat2/php4-netsnmp52-aes.diff
# cd /usr/portage/dev-php/php
# ebuild php-4.3.10.ebuild unpack
# cd /var/tmp/portarge/php-4.3.10/work/php-4.3.10
# patch -p1 < /tmp/php4-netsnmp52-aes.diff
# cd -
# ebuild php-4.3.10.ebuild qmerge clean

--
TGL.

--
mailing list
Avatar
Christophe Garault
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas de Grenier de Latour a écrit :

| Ça a l'air d'être ce bug: http://bugs.php.net/bug.php?id0995
|
Exact Thomas. Je ne sais pas ce que j'ai ce matin mais je suis un peu
à l'ouest! Primo j'ai oublié d'aller voir sur bugzilla car mon
problème y est déjà: http://bugs.gentoo.org/show_bug.cgi?id€139#c2
et secundo ce n'est pas php que j'avais déjà émergé mais mod_php car
comme indiqué dans le bug, Apache ne voulait plus démarrer. Bref je
vais aller m'acheter du guronsan moi... ;)

Merci à tous les deux.

- --
Christophe Garault
Take your marks:
Gen too three: Emerge!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCDd27J5Nh3YMYAQsRAkhyAJ0UUkSC8H64MhPdpGDBwbTG8hyXPwCeOg95
c3hItnAxipq4guRAyw7cr3U =Ghyr
-----END PGP SIGNATURE-----


--
mailing list
Avatar
Yoann Pannier
Thomas de Grenier de Latour wrote:
Tu peux toujours l'essayer à l'arrache, un truc dans ce genre là:
# cd /tmp
# wget http://dev.gentoo.org/~robbat2/php4-netsnmp52-aes.diff
# cd /usr/portage/dev-php/php
# ebuild php-4.3.10.ebuild unpack
# cd /var/tmp/portarge/php-4.3.10/work/php-4.3.10
# patch -p1 < /tmp/php4-netsnmp52-aes.diff
# cd -
# ebuild php-4.3.10.ebuild qmerge clean



Ou alors, si net-snmp ne t'est pas utile, re-emerger php avec
USE="-snmp" devrait faire l'affaire.

--
Yoann Pannier

--
mailing list
Avatar
Christophe Garault
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas de Grenier de Latour a écrit :

| Argh, bon bah j'ai parlé trop vite,

Non non:

marge root # php --version
PHP 4.3.10 (cli) (built: Feb 12 2005 11:27:31)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

Impec !

| Heu bon, vu que ça doit être corrigé dans les 5.0.x récents, tu
| voudrais pas tout simplement changer de branche ? :)

Pourquoi? Celle sur laquelle je suis assis est pourrie ou bien tu as
peur que je la scie? ;)
Plus sérieusement pour ce genre de choses, je ne change que lorsque je
ressent vraiment le besoin. D'ailleurs j'ai hâte de voir le GLEP-19
sortir, et pourquoi pas leur proposer mes services puisqu'ils semblent
recruter? Je vais de ce pas m'en informer.

Bon w-e à tous.

PS pour Yoann dont le message vient d'arriver, je n'utilise pas encore
snmp mais j'ai depuis longtemps dans mes cartons un projet de
supervision... ;-)

- --
Christophe Garault
Take your marks:
Gen too three: Emerge!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCDeBYJ5Nh3YMYAQsRAlNSAJ0ZS0IdUS3BMY86xFWhifi5OuynGQCfY2Yo
ck+Vv/fH6iObCW1IqrOdoAA =ytIt
-----END PGP SIGNATURE-----


--
mailing list