RE: [PHP-DEV] OpenBSD shared library problem
| From: | Sascha Schumann | Date: | Tue, 08 Aug 2000 18:41:42 +0000 |
| Subject: | RE: [PHP-DEV] OpenBSD shared library problem | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-28134@lists.php.net to get a copy of this message | ||
On Tue, 8 Aug 2000, Sascha Schumann wrote:
> On Tue, 8 Aug 2000, Anil Madhavapeddy wrote:
>
> > Sascha Schumann wrote:
> > >
> > > Sure, but what is the actual error you are complaining about?
> > >
> >
> > That none of the external library symbols can be found by the
> > httpd; would have helped to mention that at the start ... I need
> > more coffee :-)
> >
> > E.g. when I try to start the httpd:
> >
> > [root@brick]# apachectl start
> > /usr/libexec/ld.so: Undefined symbol "_mail_string" in
> > httpd:/usr/lib/apache/modules/libphp4.so
> > /usr/sbin/apachectl start: httpd could not be started
> >
> > This happens for all the external libraries like c-client, gd,
> > snmp and so on.
You can force libtool to include these libraries, but the
link editor will then complain about every single symbol in
each static library (redirecting the output to a file is a
good idea..).
Patch attached. Reconfigure PHP and run make install.
- Sascha