[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-users] linphonec error loading shared lib on ARM
From: |
Cheng-Yen Lin |
Subject: |
[Linphone-users] linphonec error loading shared lib on ARM |
Date: |
Tue, 11 Sep 2007 10:55:07 +0800 |
Hi,
I try to cross compile linphonec fro arm-linux . First of
all I successfully cross compiled libosip2(2.2.2), speex(1.2),
readline(5.1), ncurses(5.6). Then I configure linphone:
./configure --with-osip=/root/nthu/arm-2007q1/arm-none-linux-gnueabi/ --with-readline=/root/nthu/arm-2007q1/arm-none-linux-gnueabi/ --pref
ix=/root/nthu/arm-2007q1/arm-none-linux-gnueabi/ --host=arm-none-linux-gnueabi SPEEX_CFLAGS="-I/root/nthu/arm-2007q1/arm-none-linux-gnueabi/include" SPEEX_LIBS
="-L/root/nthu/arm-2007q1/arm-none-linux-gnueabi/include -lspeex" --disable-glib --disable-video --enable-gtk_ui=no
Then make, everything goes fine but while I execute "linphonec" on my ARM board, It has the following
error message:
%
cd: 1: can't cd to /root/nthu/linphone-1.7.0/console
eval: 1: arm-none-linux-gnueabi-gcc: not found
%
it seems the shared library problem, so I re-configure linphone with the following
./configure CFLAGS=-static --with-osip=/root/nthu/arm-2007q1/arm-none-linux-gnueabi/
--with-readline=/root/nthu/arm-2007q1/arm-none-linux-gnueabi/ --pref
ix=/root/nthu/arm-2007q1/arm-none-linux-gnueabi/
--host=arm-none-linux-gnueabi
SPEEX_CFLAGS="-I/root/nthu/arm-2007q1/arm-none-linux-gnueabi/include"
SPEEX_LIBS
="-L/root/nthu/arm-2007q1/arm-none-linux-gnueabi/include -lspeex" --disable-glib --disable-video --enable-gtk_ui=no
I add -static to the cflags, but while execution still has the following error message:
%
./linphonec: error while loading shared libraries: libreadline.so.5: cannot open
shared object file: No such file or directory
%
I try to compile readline with the "-static" option, but still not work. I stack for a while @@
Can someone know how to solve this? any advice will be great help, thanks!!!
- [Linphone-users] linphonec error loading shared lib on ARM,
Cheng-Yen Lin <=
- Re: [Linphone-users] linphonec error loading shared lib on ARM, sanil d, 2007/09/12
- Re: [Linphone-users] linphonec error loading shared lib on ARM, Cheng-Yen Lin, 2007/09/12
- Re: [Linphone-users] linphonec error loading shared lib on ARM, god lu, 2007/09/12
- Re: [Linphone-users] linphonec error loading shared lib on ARM, sanil d, 2007/09/13
- Re: [Linphone-users] linphonec error loading shared lib on ARM, Cheng-Yen Lin, 2007/09/13
- Re: [Linphone-users] linphonec error loading shared lib on ARM, god lu, 2007/09/13
- Re: [Linphone-users] linphonec error loading shared lib on ARM, Cheng-Yen Lin, 2007/09/14
- Re: [Linphone-users] linphonec error loading shared lib on ARM, sanil d, 2007/09/14