I'm missing the libhpi.so resolution emerging php with imap ssl and java use settings. The configure program breaks at pam because they can find libhpi.so I'm trying to figure where it's the fault, but i'm too newbee to Gentoo. Any help will be appreciate !
needed to correct "The configure program breaks at pam because they CAN'T find libhpi.so"
This is interesting... It appears libhpi.so is a java library. Xavier: Are the java paths in the environment? running 'java' from console spits out commandline options?
If I run the java-config --set-user-vm=blackdown-jdk-1.3.1 I can see the Java paths in env and the java program works correctly but after that if I emerge php with the java in use settings apache reduse to start.
This is actually a bug with the PHP config script. libhpi comes in two variants: native threads and green threads. The PHP script doesn't seem to make up its mind which to select. With the latest blackdown-jdk (-r5), native threads are always selected.
Emerging the new blackdown-jdk (-5) don't resolve the problem. Same pam_start symbol missing at apache start. I attach the configure.log from php emerge to show the -lhpi not found problems. I manually run java-config, env-update and ldconfig prior to emerge php but no luck.... I can see the libhpi.so entry in ld.so.cache but seems that the build process don't take this in consideration when searching for libraries (I try to attach the config.log from php emerge but bugzilla refuses to download 'No file was provided, or it was empty')
Created attachment 738 [details] Config.log of PHP build showing lhpi problems
I cannot reproduce your problem here. What does ldconfig -p | grep libhpi give you ? What if you do ldd on the resulting library, do its (libhpi's) dependencies resolve nicely ?
This is my output for your requests... ldconfig -p | grep libhpi libhpi.so (libc6) => /opt/blackdown-jdk- .3.1/jre/lib/i386/native_threads/libhpi.so ldd /opt/blackdown-jdk-1.3.1/jre/lib/i386/native_threads/libhpi.so libnsl.so.1 => /lib/libnsl.so.1 (0x40012000) libm.so.6 => /lib/libm.so.6 (0x40028000) libdl.so.2 => /lib/libdl.so.2 (0x4004a000) libpthread.so.0 => /lib/libpthread.so.0 (0x4004d000) libc.so.6 => /lib/libc.so.6 (0x40062000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) I'm emerging php with this options (outparrel root # emerge php >>> emerge dev-lang/php-4.1.2-r8 to / >>> md5 ;-) php-4.1.2.tar.gz >>> Unpacking source... >>> Unpacking php-4.1.2.tar.gz >>> Source unpacked. pam nls gdbm berkdb postgres Compiling imap with SSL support libwww xml2 crypt java creating cache ./config.cacheut from emerge)........... but I can see this while in configure... checking for pam_start in -lpam... (cached) no after emerge apache and php don't start up... missing pam_start symbol complain My USE settings: USE="-3dnow -arts -avi -esd -gif -gnome -gpm -gtk imap java -kde -motif -mpeg -mysql -opengl -pdflib postgres -qt -qtmt samba snmp -tcltk -X xml"
Resolved with the new php-4.2.0 ebuild, compiles without problems (and seems to works correctly)