Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180926 - libmysqlclient.so.12: cannot open shared object file
Summary: libmysqlclient.so.12: cannot open shared object file
Status: VERIFIED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 180938 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-05 04:43 UTC by Eric
Modified: 2007-06-05 22:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric 2007-06-05 04:43:17 UTC
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 ~ #

Reproducible: Always




i've tried revdep-rebuild with no luck =/ i've gone through emerging php, mysql, apache ...and still have the same issue!
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-05 06:06:06 UTC
revdep-rebuild --library=libmysqlclient.so.12
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-05 09:59:23 UTC
*** Bug 180938 has been marked as a duplicate of this bug. ***
Comment 3 Eric 2007-06-05 14:35:56 UTC
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 ~ # 
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-06-05 14:37:58 UTC
Post gentoolkit version and emerge --info here.
Comment 5 Eric 2007-06-05 15:44:26 UTC
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 ~ # 
Comment 6 Eric 2007-06-05 17:40:06 UTC
waiting for reply. do i put this in reopen?
Comment 7 Marius Mauch (RETIRED) gentoo-dev 2007-06-05 18:52:31 UTC
/var/www/localhost/htdocs/modules/libphp5.so
Is that a normal path for php?
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-06-05 18:56:38 UTC
(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.
Comment 9 Eric 2007-06-05 19:22:33 UTC
should i try changing that path? 
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-06-05 19:44:59 UTC
"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?
Comment 11 Eric 2007-06-05 20:55:25 UTC
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 ~ #
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-06-05 20:58:17 UTC
Well, then delete the thing; we didn't install it -> we don't support it.
Comment 13 Eric 2007-06-05 22:48:50 UTC
okay, so i've deleted the file, but apache2 is still calling for it. 

now what?
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2007-06-05 22:52:20 UTC
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.