That works but what have I done? Should I restore the file after
compiling Linphone? If I do, will Linphone now break? If I don't, will
something else break? Thanks - John
On Mon, 2005-12-19 at 14:49 +0100, Simon Morlat wrote:
This is the correct thing... I wonder why libtool tansforms the -lpopt
in /usr/lib/libpopt.so
Maybe a libtool bug ?
Can you try removing the /usr/lib/libpopt.la file ?
Simon
Le Vendredi 16 Décembre 2005 20:35, John A. Sullivan III a écrit :
I get this:
pkg-config --libs libgnomeui-2.0
-Wl,--export-dynamic -pthread -L/usr/X11R6/lib64 -lgnomeui-2 -lSM -lICE
-lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt
-lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0
-lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 -lm
-lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0
I did notice that libgnome-2.0.pc has a reference to -lpopt and there is
no libpopt.pc file. I have no idea if that is a problem. Thanks - John
On Fri, 2005-12-16 at 20:19 +0100, Simon Morlat wrote:
Hi,
I think it's a gnome-devel problem.
The compile and link flags are got by linphone build using pkg-config.
What does
pkg-config --libs libgnomeui-2.0
gives ?
If it contains /usr/lib/libpopt.so, thus you can try to patch manually
the /usr/lib/pkgconfig/libgnomeui-2.0.pc
I hope the naming conventions are the same for fedora and debian (which I
use)
Simon
Le Vendredi 16 Décembre 2005 04:09, John A. Sullivan III a écrit :
Linphone 1.1.0 fails to compile on my fully patched Fedora Core 4 on
X86_64. The problem appears to be that it insists on looking for
libpopt.so in /usr/lib instead of /usr/lib64. What do I need to do to
get it to link against the proper library? Here is the actual error:
gcc -Wall -Werror -DORBIT2=1 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2
-I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/lib64/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/freetype2/config
-I/usr/include/libxml2 -DORBIT2=1 -I/usr/include/libgnome-2.0
-I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2
-I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -DORBIT2=1 -I/usr/include/panel-2.0
-I/usr/include/gtk-2.0 -I/usr/include/libgnomeui-2.0
-I/usr/include/libbonoboui-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -DINET6 -g
-O2 -o .libs/linphone main.o linphone.o gui_utils.o support.o
interface.o callbacks.o presence.o propertybox.o addressbook.o
friends.o -Wl,--export-dynamic -Wl,--export-dynamic -L/usr/X11R6/lib64
-lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz
-lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -pthread -lgnome-2 /usr/lib/libpopt.so -lgnomevfs-2
-lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0
-lgthread-2.0
-lglib-2.0 ../coreapi/.libs/liblinphone.so -ldl
/usr/lib/libpopt.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
Thanks - John
--
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
[EMAIL PROTECTED]
Financially sustainable open source development
http://www.opensourcedevel.com
___
Linphone-users mailing list
Linphone-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-users