FW: [PHP-DEV] compiling PHP4 as DSO in HP-UX 11.x
| From: | Kwon, YongChul | Date: | Thu, 07 Dec 2000 11:02:16 +0000 |
| Subject: | FW: [PHP-DEV] compiling PHP4 as DSO in HP-UX 11.x | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40354@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: jani@sniper.igw.kolumbus.fi
> [mailto:jani@sniper.igw.kolumbus.fi]On Behalf Of Jani Taskinen
> Sent: Thursday, December 07, 2000 7:19 PM
> To: Kwon, YongChul
> Subject: RE: [PHP-DEV] compiling PHP4 as DSO in HP-UX 11.x
>
>
>
> Could you please send this information to the php-dev list too?
> Sascha (who said this should be fixed already) might be interested..
> Also if you could offer him a test account on your system might
> help a lot.
>
> I'm not at all familiar with HP-UXes so I can not help on this..:)
>
> --Jani
>
>
> On Wed, 6 Dec 2000, Kwon, YongChul wrote:
>
> >> Did you try the snapshot yet? I would like get someone
> >> to confirm that it really works on HP-UX 11.x too.
> >> And getting some info about the compiler you have used
> >> would be good thing too. So that I could close those bug reports
> >> with something else than just 'this is fixed, trust me..' =)
> >
> >I just tried... but didn't work. :-(
> >I tried HPUX native ANSI C compiler and GCC 2.95.2 - 32bit
> mode compile
> >configure options were
> >
> >"--with-apxs=/usr1/godslord/apache/bin/apxs" \
> >"--with-pcre-regex" \
> >"--with-mysql=/usr1/mysql" \
> >"--with-ldap=/usr1/godslord/openldap" \
> >"--enable-sysvsem" \
> >"--enable-sysvshm"
> >
> >those. yeap... including some shared library.
> >
> >char is a utility like ldd.
> >the result when I built PHP snapshot as DSO,
> >
> >% chatr libphp4.sl
> >libphp4.sl:
> > shared library
> > shared library dynamic path search:
> > SHLIB_PATH disabled second
> > embedded path disabled first Not Defined
> > internal name:
> > libphp4.sl
> > shared vtable support disabled
> >
> >and the result of working DSO I compiled like this
> >
> >% chatr libphp4.so
> >libphp4.so:
> > shared library
> > shared library dynamic path search:
> > SHLIB_PATH disabled second
> > embedded path enabled first
> >/usr1/godslord/package/php-4.0.3pl1/libs
> > internal name:
> > libphp4.sl
> > shared library list:
> > dynamic /usr/lib/libpam.1
> > dynamic /usr/lib/libdl.sl.0
> > dynamic /usr1/mysql/lib/libmysqlclient.sl.10
> > dynamic /usr1/godslord/openldap/lib/libldap.sl.2
> > dynamic /usr1/godslord/openldap/lib/liblber.sl.2
> > dynamic /usr/lib/libm.2
> > dynamic /usr/lib/libnsl.1
> > dynamic /usr/lib/libc.2
> >
> >you can see the shared library list - the dependancy lists.
> >I don't know it works when I compiled it as 64bit mode.
> >but compiling 64bit mode is too budden - enomous huge binary and...
> >
> >when PHP module loaded by apache,
> >apache module can't load PHP DSO. because the shared
> libarary dependancies
> >you could see above were swept away.
> >
> >any way, the zend_extensions.c is used when php load it's extension
> >on runtime? if so, yeap... I just over excited the HP-UX
> 11.00 32bit mode
> >and HP-UX 10.00 don't have dlopen() and dlclose(), etc. :-)
> >
> >any way, in snap shot the problem is still remaining... I think.
> >if you want any more informations,
> >just give me instructions. I'll test it gladly. :-)
> >
> >Thank you.
> >
> >
>
>