# Error Aerospike C client called from Lua

**URL:** <https://discuss.aerospike.com/t/error-aerospike-c-client-called-from-lua/1063>\
**Category:** C Client Library\
**Created:** [March 16, 2015, 12:17pm UTC](https://discuss.aerospike.com/t/error-aerospike-c-client-called-from-lua/1063 "2015-03-16T12:17:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![darisc](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/darisc/32/176_2.png) [@darisc](https://discuss.aerospike.com/u/darisc)\
**Post date:** [March 16, 2015, 12:17pm UTC](https://discuss.aerospike.com/t/error-aerospike-c-client-called-from-lua/1063/1 "2015-03-16T12:17:43Z")

</div>

After compiled the Lua client and started it i have error: “/usr/lib/libaerospike.so: undefined symbol: RAND\_seed” tested with prepared packages and with the Git cloned source and no luck so far. Still same error. OS Ubuntu 14.04 64bit, Any help? Thanks Plamen

---

<div class="post-metadata">

**Author:** ![wchu](https://avatars.discourse-cdn.com/v4/letter/w/a5b964/32.png) [@wchu](https://discuss.aerospike.com/u/wchu)\
**Post date:** [March 21, 2015, 1:01am UTC](https://discuss.aerospike.com/t/error-aerospike-c-client-called-from-lua/1063/2 "2015-03-21T01:01:15Z")

</div>

Are LDFLAGS -lssl -lcrypto -lpthread added?

---

<div class="post-metadata">

**Author:** ![pipe\_lord](https://avatars.discourse-cdn.com/v4/letter/p/e68b1a/32.png) [@pipe\_lord](https://discuss.aerospike.com/u/pipe_lord)\
**Post date:** [April 13, 2015, 5:36pm UTC](https://discuss.aerospike.com/t/error-aerospike-c-client-called-from-lua/1063/3 "2015-04-13T17:36:35Z")

</div>

@darisc were you able to solve this problem? I’m also getting the same error. Funny thing is that on centOS, the lua client works but not on Ubuntu 12+

---

<div class="post-metadata">

**Author:** ![pipe\_lord](https://avatars.discourse-cdn.com/v4/letter/p/e68b1a/32.png) [@pipe\_lord](https://discuss.aerospike.com/u/pipe_lord)\
**Post date:** [April 15, 2015, 7:54pm UTC](https://discuss.aerospike.com/t/error-aerospike-c-client-called-from-lua/1063/4 "2015-04-15T19:54:51Z")

</div>

```
      I got it to work if you install libssl0.9.8 only and don't 

```

install libssl as what the ubuntu c client instructions say and symlink

```
sudo apt-get install libssl0.9.8
sudo ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.0.9.8 /usr/lib/x86_64-linux-gnu/libcrypto.so

```

I’m too new to linux and C to know why this is the case.

---

<div class="post-metadata">

**Author:** ![wchu](https://avatars.discourse-cdn.com/v4/letter/w/a5b964/32.png) [@wchu](https://discuss.aerospike.com/u/wchu)\
**Post date:** [April 16, 2015, 12:54am UTC](https://discuss.aerospike.com/t/error-aerospike-c-client-called-from-lua/1063/5 "2015-04-16T00:54:53Z")

</div>

The library require libssl1.0.0.

Please verify that’s the version “apt-get install libssl-dev” installed the correct version. If not, “apt-get update” may be required.

---

<div class="post-metadata">

**Author:** ![pipe\_lord](https://avatars.discourse-cdn.com/v4/letter/p/e68b1a/32.png) [@pipe\_lord](https://discuss.aerospike.com/u/pipe_lord)\
**Post date:** [April 16, 2015, 2:04pm UTC](https://discuss.aerospike.com/t/error-aerospike-c-client-called-from-lua/1063/6 "2015-04-16T14:04:45Z")

</div>

Thank you @wchu, it appears that the instructions for the ubuntu build is incorrect. It tells us to install 0.9.8

---

<div class="post-metadata">

**Author:** ![wchu](https://avatars.discourse-cdn.com/v4/letter/w/a5b964/32.png) [@wchu](https://discuss.aerospike.com/u/wchu)\
**Post date:** [April 19, 2015, 5:43pm UTC](https://discuss.aerospike.com/t/error-aerospike-c-client-called-from-lua/1063/7 "2015-04-19T17:43:01Z")

</div>

Can you clarify where this instruction is seen? We will make the appropriate corrections. Thanks

---

<div class="post-metadata">

**Author:** ![pipe\_lord](https://avatars.discourse-cdn.com/v4/letter/p/e68b1a/32.png) [@pipe\_lord](https://discuss.aerospike.com/u/pipe_lord)\
**Post date:** [April 21, 2015, 2:38pm UTC](https://discuss.aerospike.com/t/error-aerospike-c-client-called-from-lua/1063/8 "2015-04-21T14:38:44Z")

</div>

[http://www.aerospike.com/docs/client/c/install/ubuntu12.html](http://www.aerospike.com/docs/client/c/install/ubuntu12.html)

---

<div class="post-metadata">

**Author:** ![wchu](https://avatars.discourse-cdn.com/v4/letter/w/a5b964/32.png) [@wchu](https://discuss.aerospike.com/u/wchu)\
**Post date:** [April 24, 2015, 10:17pm UTC](https://discuss.aerospike.com/t/error-aerospike-c-client-called-from-lua/1063/9 "2015-04-24T22:17:30Z")

</div>

Updated the documentation. Thank you!
