ERROR: /usr/bin/aped: symbol lookup error: /etc/ape/modules/libmod_spidermonkey.so: undefined symbol: scramble

91 views
Skip to first unread message

oferbar

unread,
May 14, 2012, 5:53:08 AM5/14/12
to APE Project
Hello,

We are using APE 1.0 in production for some time.

Now I am trying to upgrade to a newer release to get WebSockets
support.

I downloaded APE_Server-1.1.1 bits and replaced the new binaries: aped
and libmod_spidermonkey.so.

However I get the above error:

/usr/bin/aped: symbol lookup error: /etc/ape/modules/
libmod_spidermonkey.so: undefined symbol: scramble

So I read in this forum that I need to rebuild libmod_spidermonkey.so
from source.

I downloaded the latest source package (APE-Project-APE_Server-
v1.1.0-21-gf0cac70.tar.gz).
After much pain of trying to rebuild this (trial and error of packages
dependencies), I got it to build without errors.

But I still get the same error as before.

At this point I am lost.
Is there any way to upgrade APE and get it to work???

Many thanks!

Ofer

oferbar

unread,
May 15, 2012, 8:43:14 AM5/15/12
to APE Project
Well, it looks like the new libmod_spidermonkey.so wasn't compiled
with mysql support at all:

# ldd libmod_spidermonkey.so
linux-gate.so.1 => (0x00eac000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00b5f000)
libc.so.6 => /lib/libc.so.6 (0x006b1000)
libm.so.6 => /lib/libm.so.6 (0x0043b000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00de6000)
/lib/ld-linux.so.2 (0x0036b000)

Trying to build it manually works (after much pain) but it is not
working due to the above problem.

I even tried to update mysac library to the latest code, but it didn't
help either.

At this point, it doesn't look like mysql will be supported in APE, so
my next step is either to use PHP to remote sql queries or move away
from APE.

Jay Rivers

unread,
May 15, 2012, 10:27:19 AM5/15/12
to ape-p...@googlegroups.com
I have been dealing with the same issue for about 3 months now. It's a
sad and unfortunate truth that APE currently does not support mysql.

UTAN

unread,
May 27, 2012, 5:03:31 PM5/27/12
to APE Project

Lloyd Adler

unread,
Aug 27, 2012, 2:13:45 AM8/27/12
to ape-p...@googlegroups.com
Nope, it's a defect version.. Every version of APE is corrupt, it shows unknown symbol: scramble error whenever I try to use the Ape.MySQL class. I'm using a 64 bit version of CentOS 6.3, php 5.4.6 and mysql 5.5.27 (all necessary APE dependencies installed for centos)

More info here:
https://groups.google.com/forum/?fromgroups=#!searchin/ape-project/spidermonkey/ape-project/NoHJab7dBm0/Ygtk37djP8QJ
https://groups.google.com/forum/?fromgroups=#!searchin/ape-project/spidermonkey/ape-project/gxoIKb_BHSk/m17w5lcMqmoJ
Reply all
Reply to author
Forward
0 new messages