It's worked I deleted the file in /usr/local/lib and done the make command.
Thank you

But now after I do sudo make install, I try to execute linphonec and return
this message:

"linphonec: error while loading shared libraries: liblinphone.so.6: cannot
open shared object file: No such file or directory"

Why I get this message?




2014-04-09 13:08 GMT+01:00 J G Miller <[email protected]>:

> At 12:06h, on Wednesday, April 09, 2014,
> in message <CAKuO6JqtvCOyT=
> [email protected]>,
> on the subject of "Re: [Linphone-users] Fwd: Error compiling
> linphone-3.7.0 ubuntu", you wrote -
>
>  > >> The error is:
>  > >> make[4]: Entering directory `/home/diogoleite/TransferĂȘncias/linphone
>  > >> -3.7.0/mediastreamer2/tools'
>  > >>   CC       mediastream.o
>  > >>   CCLD     mediastream
>  > >> /usr/local/lib/libspeex.so: undefined reference to `pj_log_get_level'
>  > >> /usr/local/lib/libspeex.so: undefined reference to `pj_log_5'
>
> Please note that these errors for undefined symbols are coming from
> libspeex.so in /usr/*local*/lib
>
> That is a different libspeex.so from the libspeex.so in
> /usr/lib/<your_architecture>/libspeex.so
> which would be installed from the Ubuntu package.
>
> Presumably the library in /usr/local/lib is one you have built yourself?
>
> You have to be very, very, very careful in linking and using the built
> binary
> when you have different versions of the same library in /usr/lib and
> /usr/local/lib
>
> Also, you must use the appropriate set of header files for compilation ie
> you must ensure you use headers in /usr/local/include and then link with
> /usr/local/lib
> both being for the same version of the library to which you are linking.
>
> _______________________________________________
> Linphone-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/linphone-users
>
_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to