Re: PHP 4.0 Bug #4186: Undefined symbol _muldi3
| From: | Rasmus Lerdorf | Date: | Wed, 19 Apr 2000 13:48:47 +0000 |
| Subject: | Re: PHP 4.0 Bug #4186: Undefined symbol _muldi3 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-18091@lists.php.net to get a copy of this message | ||
The only time you need to link in libgcc is when you are mixing libraries
compiled with a compiler other than gcc with stuff compiled with gcc.
-Rasmus
On Wed, 19 Apr 2000, Peter Kovacs wrote:
> I recently had the same problem. I discovered a similar bug (although I
> can't find it at the moment) which proposed the working solution of
> linking in libgcc. Simply define the following environmental variables
> CFLAGS="-L/path/to/your/libgcc" and LIBS="-lgcc" and reconfigure and
> recompile. I suppose that the PHP build will eventually have to change to
> include this. :)
>
> Peter
>
> On 19 Apr 2000 tixier@france-loisirs.com wrote:
>
> > From: tixier@france-loisirs.com
> > Operating system: Solaris 2.6
> > PHP version: 4.0 Release Candidate 1
> > PHP Bug Type: Installation problem
> > Bug description: Undefined symbol _muldi3
> >
> > Can't start Apache:
> > Syntax error on line 238 of /app/apache/conf/httpd.conf:
> > Cannot load /app/apache/libexec/libphp4.so into server: ld.so.1: /app/apache/bin
> > /httpd: fatal: relocation error: file /app/apache/libexec/libphp4.so: symbol __muldi3:
> > referenced symbol not found
> > /app/apache/bin/apachectl start: httpd could not be started
> >
> > PHP was comfigured with:
> > ./configure \
> > --with-apxs=/app/apache/bin/apxs \
> > --disable-debug \
> > --without-gd
> >
> >
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-dev-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >
>
> --------------------------------------------------
> Peter D. Kovacs KnowPost.com LLC
> Lead Engineer peter@knowpost.com
> --------------------------------------------------
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>