Quote:
Originally Posted by Simon Bridge
/usr/lib/firefox/libgtkembedmoz.so is the file you want. You need whatever it is to be accessed from the directory ~/.Fedora/
So why not just make a link?
cd ~/.Fedora
ln -s /usr/lib/firefox/libgtkembedmoz.so
But if you just want the file in the library path, why not just add it's location to the path?
|
.
yes at present we are doing this..
but , when the user update his mozilla version...
it will some difficult.. mine is a voip phone. it may have some problem while registering(sign in), with this so...
so, i changed my plan..
why dont we add at the make file..
so that if we run the perticular exe.
itself checks the mozilla version and the path of the ".so".
and it will add to library path in the make file..
i think this thougt may solve my problem..
but am unable to write script in the make file.
i thried this
Code:
k=`echo rpm -ql mozilla | grep /usr/lib/mozilla- | tail -1 | cut -d/ -f4`
path = /usr/lib
path1 = $k
pathname = $(path)/$(path1)
and way of adding library in the make file is
Code:
-L${pathname} -lgtkembedmoz
the output while making my source is
Quote:
gcc -g -O2 -o phone main.o support.o interface.o callbacks.o -L/root/.fedora -L/usr/lib/`echo rpm -ql mozilla | grep /usr/lib/mozilla- | tail -1 | cut -d/ -f4` -L/usr/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lbapi -lavcodec -lportaudio -lfedoraurl -lgtkembedmoz -lxpcom -lxml2
|
please observe the bold text..
there the out should be like this, but it is not showing.
Quote:
-L/usr/lib/mozilla-1.7.13
|
but it is not working..
please make me correct..
thank you in advance