Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180926 - cannot open shared object file
Summary: cannot open shared object file
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
: 180938 (view as bug list)
Depends on:
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: ---


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/ into server: 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
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
Configuring search environment for revdep-rebuild
Checking reverse dependencies...
Packages containing binaries and libraries using
will be emerged.
Collecting system binaries and libraries... done.
Checking dynamic linking...
Assigning files to ebuilds... Nothing to rebuild
Evaluating package order... done.
There are no dynamic links to 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/ into server: 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
[ 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
      Description:   Collection of administration scripts for Gentoo
      License:       GPL-2
*  app-portage/gentoolkit-dev
      Latest version available:
      Latest version installed: [ Not Installed ]
      Size of files: 41 kB
      Description:   Collection of developer scripts for Gentoo
      License:       GPL-2

carmen ~ #
carmen ~ # emerge --info
Portage (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
CFLAGS="-O3 -march=pentium3 -pipe"
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"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict"
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-*"
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"
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
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/
> 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/"

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/
[ Searching for file(s) /var/www/localhost/htdocs/modules/ 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 or #gentoo-php; bugzilla is not a support forum.