php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63484 Building (linking) fails when installing from PECL
Submitted: 2012-11-11 11:04 UTC Modified: 2017-01-10 08:00 UTC
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: szotsaki at gmail dot com Assigned:
Status: Suspended Package: spidermonkey (PECL)
PHP Version: 5.3Git-2012-11-11 (snap) OS: openSUSE 12.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
31 + 25 = ?
Subscribe to this entry?

 
 [2012-11-11 11:04 UTC] szotsaki at gmail dot com
Description:
------------
I installed `pecl` and libjs1 and after that I tried to install spidermonkey with `pecl install spidermonkey`.

Every check ran successfully but in the last step the build command says:
libtool: link: gcc -std=gnu99 -shared  -fPIC -DPIC  .libs/spidermonkey.o .libs/spidermonkey_context.o .libs/spidermonkey_external.o .libs/spidermonkey_streams.o   -l  -O2   -Wl,-soname -Wl,spidermonkey.so -o .libs/spidermonkey.so
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -l-O2
collect2: ld returned 1 exit status
make: *** [spidermonkey.la] Error 1
ERROR: `make' failed

It seems as the "-l" option didn't have any value.

PHP: 5.3.17


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-10 08:00 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-01-10 08:00 UTC] kalle@php.net
Suspending this report as the extension have not had a release for almost 5 years.  Please revive this if the extension once again shows life
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 19:01:33 2024 UTC