Hello Abraham


/usr/bin/ld: cannot find -ljs_static
that means that the linker cannot find any of the files `libjs_static.so` or (more likely) `libjs_static.a` in the path that were send to the linker with `-L` or `-l`.

If I recall correctly, the change to spidermonkey 1.8.5 was quite a big step forward, and the standard OS-distrubutions were not that fast.


```
cd modules
find ../deps/js -type f -name 'lib*.so'
```

This would probably give something like `../deps/js/src/libmozjs185.so`.

Thus you could make a small change in the modules/Makefile:
`-L../deps/js/src/ -ljs_static` into `-L../deps/js/src/ -lmozjs185`.

Peter

Abraham Romero schreef op 2015-04-21 04:42:
I'm new to APE, and I got this same error when installing on my VPS
(RedHat-9.3.6)

I'm following this tutorial to install APE

http://redrokk.com/2012/06/16/installing-ape-streaming-server-tutorial/

Did you manage to solve it?

El jueves, 18 de abril de 2013, 3:48:47 (UTC-5), Osman Bulut
escribió:

Hello,

I want to install ape from source, but after "./build.sh" i get this
error;

"
...
/usr/bin/ld: cannot find -ljs_static
collect2: ld returned 1 exit status
make: *** [modules] Error 1 "

Is the problem about my gcc/c++?

regards,

 --
 --
 You received this message because you are subscribed to the Google
 Groups "APE Project" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to
 [email protected]
 For more options, visit this group at
 http://groups.google.com/group/ape-project?hl=en [1]
 ---
 APE Project (Ajax Push Engine)
 Official website : http://www.ape-project.org/ [2]
 Git Hub : http://github.com/APE-Project/ [3]

 ---
 You received this message because you are subscribed to the Google
Groups "APE Project" group.
 To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected] [4].
 For more options, visit https://groups.google.com/d/optout [5].


Links:
------
[1] http://groups.google.com/group/ape-project?hl=en
[2] http://www.ape-project.org/
[3] http://github.com/APE-Project/
[4] mailto:[email protected]
[5] https://groups.google.com/d/optout

--
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

--- You received this message because you are subscribed to the Google Groups "APE Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to