Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build on ubuntu 14.04 #21

Open
g2j opened this issue Nov 11, 2016 · 3 comments
Open

Unable to build on ubuntu 14.04 #21

g2j opened this issue Nov 11, 2016 · 3 comments

Comments

@g2j
Copy link

g2j commented Nov 11, 2016

I tried compiling the code by executing compile script. But It looks for -lrtcdc library which i have no idea where it comes from ?. please help us.

./compile.sh
running build_ext
building 'pyrtcdc' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -I../src -fPIC -I/usr/include/python2.7 -c pyrtcdc.c -o build/temp.linux-x86_64-2.7/pyrtcdc.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -L../src -I../src build/temp.linux-x86_64-2.7/pyrtcdc.o -lrtcdc -o /home/jelari/opensource/temp/librtcdc/python/pyrtcdc.so
/usr/bin/ld: cannot find -lrtcdc
collect2: error: ld returned 1 exit status
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

@g2j
Copy link
Author

g2j commented Nov 11, 2016

Managed to compile, and now i see the below error:

import pyrtcdc
Traceback (most recent call last):
File "", line 1, in
ImportError: /usr/lib/librtcdc.so: undefined symbol: nice_candidate_free

@xhs
Copy link
Owner

xhs commented Nov 11, 2016

Hi @g2j , please refer to issues #19 .

@Globik
Copy link

Globik commented Oct 13, 2017

Also on Lubuntu one need define -D_GNU_SOURCE and -std=c99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants