linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-users] Re: installing problems on gentoo


From: Petr Pisar
Subject: [Linphone-users] Re: installing problems on gentoo
Date: Tue, 11 Jul 2006 18:31:09 +0200
User-agent: Thunderbird 1.5.0.4 (X11/20060604)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Salvador Gianluca wrote:
> Hi to all,
> I have already succesfully installed linphonec on FC4, and now i'm trying 
> with gentoo.
> i installed libosip2-2.2.2 and speex-1.1.12.
> i did "./configure --prefix=/usr/local/src --disable-strict --disable-glib 
> --disable-gnome_ui"
> and after "make"
> and this isthe broken output:
> 
> Making all in coreapi
> make[2]: Entering directory `/usr/local/src/linphone-1.3.5/coreapi'
> /bin/sh ../libtool --mode=link gcc   -DENABLE_TRACE 
> -DG_LOG_DOMAIN=\"LinphoneCore\" -DINET6 -DORTP_INET6  -g -O2 -I../support   
> -o liblinphone.la -rpath /usr/local/src/lib -version-info 4:5:3 
> linphonecore.lo exevents.lo misc.lo arts.lo enum.lo sdphandler.lo presence.lo 
> proxy.lo friend.lo authentication.lo lpconfig.lo chat.lo 
> .../mediastreamer/libmediastreamer.la ../exosip/libeXosip.la  -ldl
> gcc -shared  .libs/linphonecore.o .libs/exevents.o .libs/misc.o ..libs/arts.o 
> .libs/enum.o .libs/sdphandler.o .libs/presence.o ..libs/proxy.o 
> .libs/friend.o .libs/authentication.o .libs/lpconfig.o ..libs/chat.o 
> -Wl,--whole-archive .../mediastreamer/.libs/libmediastreamer.a 
> ../exosip/.libs/libeXosip.a -Wl,--no-whole-archive  -Wl,--rpath 
> -Wl,/usr/local/src/linphone-1.3.5/oRTP/src/.libs 
> /usr/local/src/linphone-1.3.5/oRTP/src/.libs/libortp.so /usr/lib/libasound.so 
> -lpthread /usr/lib/libspeex.so -lm -losip2 -L/usr/lib 
> /usr/local/src/lib/libosip2.so /usr/local/src/lib/libosipparser2.so -lnsl 
> -lrt -ldl  -Wl,-soname -Wl,liblinphone.so.1 -o .libs/liblinphone.so.1.3.5
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../../i686-pc-linux-gnu/bin/ld:
>  cannot find -losip2
> collect2: ld returned 1 exit status
> make[2]: *** [liblinphone.la] Error 1
> make[2]: Leaving directory `/usr/local/src/linphone-1.3.5/coreapi'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/linphone-1.3.5'
> make: *** [all] Error 2
> 
> I haven't found anywhere losip2...

The whole argument is -losip2, that's mean link with osip2 library.

In the make output I can see "/usr/local/src/lib/libosip2.so", so I
think you have installed this library in this location.

I think you have installed osip2 library into non-standard directory,
therefore linker can't find it. You should install it e.g. into
/usr/local/lib or add this path to the ./configure command
(--with-libosip, I guess). But you need add this path to the
/etc/ld.so.conf and run ldoconfig to be get this location known to linux
dynamic linker.

Or you can emerge net-libs/libosip instead.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFEs9JNuR4f4nEwzHIRAmSrAJ4z0AIvZnxB5BNQuL3OPBPhnadJXwCeIiTv
n2ODj6ZXqvTxqhP0UHnC8cE=
=4A28
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]