Giter Site home page Giter Site logo

compile issue about libpeer HOT 3 CLOSED

lqian avatar lqian commented on May 27, 2024
compile issue

from libpeer.

Comments (3)

sepfy avatar sepfy commented on May 27, 2024

Hi

I tried to build Pear in Ubuntu 16.04 (Docker). I also met your issue.
The solution is that upgrade openssl(1.1.1) and glib(2.58)

libnice.so: undefined reference to `g_ptr_array_find' --> glib
undefined reference to `BIO_set_data' --> ssl

But I saw that you already upgrade openssl to 1.1.1g, can you help me to confirm that is the linked library correct? Because the installation path of openssl which is built by myself is /usr/local

from libpeer.

lqian avatar lqian commented on May 27, 2024

it seems the default library path makes a compile trouble. manually add '/usr/local/lib' and '/usr/local/lib/x86_64-linux-gnu' library path to compile command work good.

 /usr/bin/cc -rdynamic CMakeFiles/local_file.dir/h264_packetizer.c.o CMakeFiles/local_file.dir/h264_parser.c.o CMakeFiles/local_file.dir/main.c.o -o local_file -L/usr/local/lib -L/usr/local/lib/x86_64-linux-gnu  -L/train-data/pear/third_party/libnice/builddir/nice  -L/train-data/pear/third_party/libsrtp/build  -L/train-data/pear/third_party/media-server/librtp/debug.linux  -Wl,-rpath,/train-data/pear/third_party/libnice/builddir/nice:/train-data/pear/third_party/libsrtp/build:/train-data/pear/third_party/media-server/librtp/debug.linux:/train-data/pear/build/src ../../src/libpear.so -lglib-2.0 -lssl -lcrypto -lnice -lsrtp2 -lrtp -lpthread

from libpeer.

sepfy avatar sepfy commented on May 27, 2024

Changed to use mbedtls

from libpeer.

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.