Code Monkey home page Code Monkey logo

Comments (7)

mom040267 avatar mom040267 commented on April 28, 2024

something is not right with the OpenSSL installation and configuration.

On Sat, Jul 9, 2016 at 2:04 AM, janreyho [email protected] wrote:

➜ coturn git:(master) ✗ make
pwd
/Users/hejiayi/Desktop/yinyueke/coturn
mkdir -p bin
cc -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include
-DTURN_HAS_SIN_LEN -DTURN_NO_THREAD_BARRIERS -DTURN_HAS_DAEMON
-DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc
-Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++
-I/usr/local/include/ -I/usr/local/include/
src/apps/stunclient/stunclient.c src/apps/common/apputils.c
src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o
bin/turnutils_stunclient -Llib -lturnclient -Llib -L/usr/local/lib/
-L/usr/local/lib/ -lresolv -lcrypto -lssl -levent_core -levent_extra
-levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/
-Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib
Undefined symbols for architecture x86_64:
"_DTLSv1_2_client_method", referenced from:
_turn_get_method in apputils-99f2a9.o
"_DTLSv1_2_server_method", referenced from:
_turn_get_method in apputils-99f2a9.o
"_EVP_aes_128_gcm", referenced from:
_get_cipher_type in libturnclient.a(ns_turn_msg.o)
"_EVP_aes_256_gcm", referenced from:
_get_cipher_type in libturnclient.a(ns_turn_msg.o)
"_TLSv1_1_client_method", referenced from:
_turn_get_method in apputils-99f2a9.o
"_TLSv1_1_server_method", referenced from:
_turn_get_method in apputils-99f2a9.o
"_TLSv1_2_client_method", referenced from:
_turn_get_method in apputils-99f2a9.o
"_TLSv1_2_server_method", referenced from:
_turn_get_method in apputils-99f2a9.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [bin/turnutils_stunclient] Error 1


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#50, or mute the thread
https://github.com/notifications/unsubscribe/AFq2UFy3esNxbqdVls1f84Tr4d01Qc1wks5qT2Q2gaJpZM4JIlI9
.

from coturn.

marcosArruda avatar marcosArruda commented on April 28, 2024

got the same problem compiling on mac. The problem is your openssl headers are not the ones installed by brew (if you used brew to install openssl). The default openssl on mac is 0.9.8. Coturn uses the 1.0+. So, you need to upgrade it. I used brew, but I needed to pass the new */openssl/include and */openssl/lib to the compiler(Makefile) for it to run;

from coturn.

mom040267 avatar mom040267 commented on April 28, 2024

I am not sure that I understand what is the problem here. I just compiled
and ran successfully coturn on my Mac Book with default OpenSSL 0.9.8:

$ bin/turnserver
1: log file opened: /var/tmp/turn_10732_2016-10-19.log
1:
RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server
Version Coturn-4.5.0.6 'dan Eider'
1:
Max number of open files/sockets allowed for this process: 8191
1:
Due to the open files/sockets limitation,
max supported number of TURN Sessions possible is: 4000 (approximately)
1:

==== Show him the instruments, Practical Frost: ====

1: TLS supported
1: DTLS supported
1: DTLS 1.2 is not supported
1: TURN/STUN ALPN is not supported
1: Third-party authorization (oAuth) is not supported
1: OpenSSL compile-time version: OpenSSL 0.9.8zc 19 Mar 2015 (0x9081df)
1:
1: SQLite supported, default database location is /usr/local/var/db/turndb
1: Redis is not supported
1: PostgreSQL is not supported
1: MySQL is not supported
1: MongoDB is not supported
1:
1: Default Net Engine version: 1 (UDP listening socket per session)

I have not had a single error or warning, everything worked as-is.

Oleg

On Wed, Oct 19, 2016 at 8:42 PM, Marcos Faria Arruda <
[email protected]> wrote:

got the same problem compiling on mac. The problem is your openssl headers
are not the ones installed by brew (if you used brew to install openssl).
The default openssl on mac is 0.9.8. Coturn uses the 1.0+. So, you need to
upgrade it. I used brew, but I needed to pass the new */openssl/include and
*/openssl/lib to the compiler(Makefile) for it do run;


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#50 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFq2UCb9L9j_m9C-ENL_vRkcyKp_A3iJks5q1uMlgaJpZM4JIlI9
.

from coturn.

stonyz avatar stonyz commented on April 28, 2024

Saw the same issue. I want to try the solution that @marcosArruda said, but don't know how to do.

How to pass the new */openssl/include and */openssl/lib to the compiler(Makefile)?

from coturn.

mom040267 avatar mom040267 commented on April 28, 2024

from coturn.

marcosArruda avatar marcosArruda commented on April 28, 2024

@stonyz Not on my machine. I can't see for real right now, but you need to edit the Makefile and use the paths like @mom040267 said.

from coturn.

phpisfuture avatar phpisfuture commented on April 28, 2024

I specified that the latest version of OpensSL still throws the same error.

from coturn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.