Public bug reported: while compiling a program against mediastreamer (ie. using the -lmediastreamer flag), the linker returns an error:
>gcc test.c -lmediastreamer /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../../lib/libmediastreamer.so: undefined reference to symbol 'ortp_malloc' /usr/bin/ld: note: 'ortp_malloc' is defined in DSO /usr/lib/libortp.so.8 so try adding it to the linker command line /usr/lib/libortp.so.8: could not read symbols: Invalid operation collect2: ld returned 1 exit status Adding -lortp flag does not resolve the problem. ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: libmediastreamer0 3.3.2-4.1 ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4 Uname: Linux 3.0.0-12-generic x86_64 NonfreeKernelModules: fglrx ApportVersion: 1.23-0ubuntu3 Architecture: amd64 Date: Mon Oct 17 09:29:58 2011 InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012) ProcEnviron: PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: linphone UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: linphone (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug oneiric running-unity -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876264 Title: libmediastreamer.so and libortp.so are not properly linked To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linphone/+bug/876264/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs