Re: [GnomeMeeting-list] gnomemeeting build problem with garnome-0.27.1



Like Julien said, but the origin of the problem is simple. GnomeMeeting
is using libtool through autoconf and automake. Unfortunately, libtool
will always reorganize the libs order and will take /usr/lib in priority
if it is mentionned as dependancy for at least one of the libraries.

The problem often comes from sdl-config --libs wich return /usr/lib. If
you can remove it, you should have no problem.

Le mer 24/09/2003 à 02:47, Bob Gustafson a écrit :
> I have openh323 and ptlib libs in both /usr/lib and /usr/local/lib.
> 
> The latest and greatest are in /usr/local/lib
> 
> So, I went into the
> 
> /home/user1/garnome-0.27.1/gnome/gnomemeeting/work/main.d/gnomemeeting-0.98.5
> 
> directory and did
> 
> ./configure \
>    --with-ptlib-includes=/usr/local/include/ptlib \
>    --with-ptlib-libs=/usr/local/lib \
>    --with-openh323-includes=/usr/local/include/openh323 \
>    --with-openh323-libs=/usr/local/lib \
>  2>&1 | tee config.out
> 
> 
> The result of the configure showed
> 
> ================ Final configuration ===================
>     Installing into prefix: /usr/local
> 
>    OpenH323 Include Directory is  :  /usr/local/include/openh323
>  OpenH323 Libraries Directory is  :  /usr/local/lib
>       PTLIB Include Directory is  :  /usr/local/include/ptlib
>     PTLIB Libraries Directory is  :  /usr/local/lib
> 
>                 Quicknet support  :  enabled
>           SDL Fullscreen support  :  enabled
> 
>                          OS Type  :  linux-gnu
>                     Machine Type  :  i686
> 
>  If all settings are OK, type make and make install
> ========================================================
> 
> 
> However, during the make, it looks like the /usr/lib/openh323 libs are
> being used.
> 
> It appears as though the -lopenh323 is in the argument list, but is not
> preceded by the -L/usr/local/lib or the dynamic library
> /usr/local/lib/libopenh323.so
> 
> --- see below snip from make 2>&1 | tee make.out
> 
> g++ -o gnomemeeting callbacks.o gdkvideoio.o gnomemeeting.o connection.o
> endpoin
> t.o menu.o toolbar.o pref_window.o sound_handling.o videograbber.o config.o
> ldap
> _window.o main_window.o gatekeeper.o ils.o misc.o chat_window.o druid.o
> urlhandl
> er.o vfakeio.o tray.o tools.o lid.o -Wl,--export-dynamic -pthread
> -Wl,-rpath -Wl
> ,/usr/lib  ../lib/.libs/libgnomemeeting.al -L/usr/lib -L/usr/local/lib
> -L/home/u
> ser1/garnome/lib -L/usr/X11R6/lib /home/user1/garnome/lib/libgnomeui-2.so
> -L/usr
> /kerberos/lib /usr/lib/libjpeg.so /home/user1/garnome/lib/libbonoboui-2.so -lSM
> -lICE /home/user1/garnome/lib/libgnomecanvas-2.so
> /home/user1/garnome/lib/libgno
> me-2.so /home/user1/garnome/lib/libesd.so /usr/lib/libasound.so
> /home/user1/garn
> ome/lib/libaudiofile.so /home/user1/garnome/lib/libart_lgpl_2.so
> /home/user1/gar
> nome/lib/libpangoft2-1.0.so /home/user1/garnome/lib/libgtk-x11-2.0.so
> /home/user
> 1/garnome/lib/libgdk-x11-2.0.so /home/user1/garnome/lib/libatk-1.0.so
> /home/user
> 1/garnome/lib/libgdk_pixbuf-2.0.so
> /home/user1/garnome/lib/libpangoxft-1.0.so /h
> ome/user1/garnome/lib/libpangox-1.0.so
> /home/user1/garnome/lib/libpango-1.0.so /
> home/user1/garnome/lib/libbonobo-2.so
> /home/user1/garnome/lib/libgnomevfs-2.so /
> home/user1/garnome/lib/libgconf-2.so /home/user1/garnome/lib/libxml2.so
> -lssl -l
> crypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lrt
> /home/user1/garnome/lib/li
> bbonobo-activation.so /home/user1/garnome/lib/libORBitCosNaming-2.so
> /home/user1
> /garnome/lib/libORBit-2.so /usr/lib/libpopt.so
> /home/user1/garnome/lib/libgobjec
> t-2.0.so /home/user1/garnome/lib/libgthread-2.0.so
> /home/user1/garnome/lib/libgm
> odule-2.0.so /home/user1/garnome/lib/libglib-2.0.so /usr/lib/libSDL.so
> -lX11 -lX
> ext -lopenh323 -ldl -lpt -lpthread /usr/lib/libxml2.so -lz -lm -lldap
> -llber -lr
> esolv -Wl,--rpath -Wl,/home/user1/garnome/lib -Wl,--rpath
> -Wl,/home/user1/garnom
> e/lib
> /usr/bin/ld: warning: libcom_err.so.3, needed by /usr/lib/libssl.so, may
> conflic
> t with libcom_err.so.2
> connection.o(.gnu.linkonce.d._ZTV16GMH323Connection+0x1f0):/usr/local/include/pt
> lib/array.h:700: undefined reference to
> `H323Connection::GetAdmissionRequestAuth
> entication(H225_AdmissionRequest const&, H235Authenticators&)'
> endpoint.o(.text+0x62b): In function
> `GMH323EndPoint::GMH323EndPoint[not-in-char
> ge]()':
> /home/user1/garnome-0.27.1/gnome/gnomemeeting/work/main.d/gnomemeeting-0.98.5/sr
> c/endpoint.cpp:231: undefined reference to
> `H323EndPoint::SetNoMediaTimeout(PTim
> eInterval)'
> endpoint.o(.text+0xf2f): In function
> `GMH323EndPoint::GMH323EndPoint[in-charge](
> )':
> 
> 
> BobG
> _______________________________________________
> GnomeMeeting-list mailing list
> GnomeMeeting-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
-- 
 _	Damien Sandras
(o-	GnomeMeeting: http://www.gnomemeeting.org/
//\	FOSDEM 2004:  http://www.fosdem.org
v_/_	H.323 phone:  callto:ils.seconix.com/dsandras seconix com




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