Summary: | libmysqlclient.so.12: cannot open shared object file | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Eric <eric.olson> |
Component: | Tools | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED INVALID | ||
Severity: | major | CC: | php-bugs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Eric
2007-06-05 04:43:17 UTC
revdep-rebuild --library=libmysqlclient.so.12 *** Bug 180938 has been marked as a duplicate of this bug. *** carmen ~ # revdep-rebuild --library=libmysqlclient.so.12 Configuring search environment for revdep-rebuild Checking reverse dependencies... Packages containing binaries and libraries using libmysqlclient.so.12 will be emerged. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Checking dynamic linking... done. (/root/.revdep-rebuild_6e16de77.3_rebuild) Assigning files to ebuilds... Nothing to rebuild Evaluating package order... done. (/root/.revdep-rebuild_6e16de77.5_order) There are no dynamic links to libmysqlclient.so.12... All done. carmen ~ # /etc/init.d/apache2 restart * Apache2 has detected a syntax error in your configuration files: Syntax error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot load /var/www/localhost/htdocs/modules/libphp5.so into server: libmysqlclient.so.12: cannot open shared object file: No such file or directory carmen ~ # Post gentoolkit version and emerge --info here. carmen ~ # emerge gentoolkit --search Searching... [ Results for search key : gentoolkit ] [ Applications found : 2 ] * app-portage/gentoolkit Latest version available: 0.2.3-r1 Latest version installed: 0.2.3-r1 Size of files: 90 kB Homepage: http://www.gentoo.org/proj/en/portage/tools/index.xml Description: Collection of administration scripts for Gentoo License: GPL-2 * app-portage/gentoolkit-dev Latest version available: 0.2.6.2 Latest version installed: [ Not Installed ] Size of files: 41 kB Homepage: http://www.gentoo.org/proj/en/portage/tools/index.xml Description: Collection of developer scripts for Gentoo License: GPL-2 carmen ~ # carmen ~ # emerge --info Portage 2.1.2.7 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 Pentium III (Coppermine) Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 05 Jun 2007 02:30:01 +0000 dev-lang/python: 2.3.5-r3, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/apache2 /etc/php/apache2-php5" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ ftp://mirror.datapipe.net/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl apache2 berkdb bitmap-fonts cli cracklib crypt cups curl dba dri ext-png fastcgi fortran gd gdbm gpm gtkhtml iconv image imagemagick ipv6 isdnlog jabber javascript jpeg kerberos libg++ midi mudflap mysql ncurses nls nntp nptl nptlonly openmp openssh pam pcre perl php pppd python readline reflection session spl ssl tcpd tidy tiff truetype-fonts type1-fonts 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS carmen ~ # waiting for reply. do i put this in reopen? /var/www/localhost/htdocs/modules/libphp5.so Is that a normal path for php? (In reply to comment #7) > /var/www/localhost/htdocs/modules/libphp5.so > Is that a normal path for php? Nope; the normal path is /usr/$(get_libdir)/apache2/modules/; frankly I have no idea what's the guy doing here but this is not a PHP/MySQL bug. should i try changing that path? "equery b /var/www/localhost/htdocs/modules/libphp5.so" That's not any path that the Gentoo PHP package installs PHP in. Are you using some external PHP? this ran for a minute, and returned nothing: carmen ~ # equery b /var/www/localhost/htdocs/modules/libphp5.so [ Searching for file(s) /var/www/localhost/htdocs/modules/libphp5.so in *... ] carmen ~ # Well, then delete the thing; we didn't install it -> we don't support it. okay, so i've deleted the file, but apache2 is still calling for it. now what? As said above - we didn't install this mess on your box; wipe /etc/php and re-emerge it from scratch. If you need help, we have forums.gentoo.org or #gentoo-php; bugzilla is not a support forum. |