Rafat! Do not fool a head to people. Your question was already discussed many times. Only out of respect for your persistence I shall repeat universal advice which will save a heap of time to you. It is not necessary to be played with LD_LIBRARY_PATH and other paths. Each time when you want to replace the version pwlib/openh323 you will have a headache. Even more headache will be if you casually establish some different versions of pwlib/openh323. It is much easier to compile pwlib/openh323 in /root with optnoshared option (or bothnoshared if you will want to have debug version of binary). And then you must compile gnugk whit optnoshared. Such approach will save a time to you, and you will have transferable binaries which you can run on any linux box without installation of pwlib/openh323. On Tuesday 07 September 2004 12:39, Sait KARALAR wrote: > how can I compile gnugk, > which does not require any path library. > > like gnugk linux binaries we download from gnugk.org. > > After compiling it, to use in any other linux machine. > > make optnoshared > > make optshared > > make optXXXXX > > ? > > ;) > > On Tue, 7 Sep 2004 16:25:25 +0800, Abano, Fernando A. (ePerformax) > > <fabano@xxxxxxxxxxxxxx> wrote: > > In root home directory > > > > vi .bashrc and insert : > > PWLIBDIR=/home/yourhomedir/pwlib > > export PWLIBDIR > > OPENH323DIR=/home/yourhomedir/openh323 > > export OPENH323DIR > > LD_LIBRARY_PATH=$PWLIBDIR/lib:$OPENH323DIR/lib > > export LD_LIBRARY_PATH > > > > Where yourhomedir=your user directory when you compiled > > > > > > > > -----Original Message----- > > From: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx > > [mailto:openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Rafat > > Subhan > > Sent: Tuesday, September 07, 2004 4:00 PM > > To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > > Subject: Re: gnugk at linux > > > > > > i set variables in /usr/profile... > > how to set root env.variables > > ----- Original Message ----- > > From: "Abano, Fernando A. (ePerformax)" <fabano@xxxxxxxxxxxxxx> > > To: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx> > > Sent: Tuesday, September 07, 2004 12:44 PM > > Subject: RE: gnugk at linux > > > >> I assume you are running gnugk as root. If so, root should also have > >> the environment variables that you used for openh323Dir,pwlibdir and > >> their lib environment variables. > >> > >> -----Original Message----- > >> From: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx > >> [mailto:openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of > >> Rafat Subhan > >> Sent: Tuesday, September 07, 2004 3:31 PM > >> To: Craig Southeren; openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > >> Subject: Re: gnugk at linux > >> > >> > >> yes i set LD_LIBRARY_PATH to both libraries lib folder. thats why > >> gnugk is compiled. when it is compiled then why unable to run. > >> ----- Original Message ----- > >> From: "Craig Southeren" <craigs@xxxxxxxxxxxxxxxxx> > >> To: "Rafat Subhan" <rafat@xxxxxxxxxxxxxxx>; > >> <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx> > >> Sent: Tuesday, September 07, 2004 12:19 PM > >> Subject: Re: gnugk at linux > >> > >> > Make sure that you have set LD_LIBRARY_PATH to point to the > >> > directories in which the the libraries are installed, or make sure > >> > those directories are in the default library path (as set by > >> > ld.so.conf) > >> > > >> > Craig > >> > > >> > On Tue, 7 Sep 2004 12:22:21 +0500 > >> > > >> > "Rafat Subhan" <rafat@xxxxxxxxxxxxxxx> wrote: > >> > > first i compiled pwlib,then openh323 & then gk on linux,all went > >> > >> successfully. > >> > >> > > Now i want to run gnugk , everytime it runs, it give me error > >> > > unable > >> > > > >> > > to load shared libraries..lib323_linux_r.14.4.so...not found. i > >> > > have > >> > > > >> > > set openh323Dir,pwlibdir and their lib environment variables. > >> > > > >> > > whats the problem. > >> > >> ---------------------------------------------------------------------- > >> - > >> > >> > Craig Southeren craigs@xxxxxxxxxxxxxxxxx / > > > > craigs@xxxxxxxxxxxxx > > > >> > Phone: +61 243654666 ICQ: #86852844 > >> > Fax: +61 243673140 MSN: craig_southeren@xxxxxxxxxxx > >> > Mobile: +61 417231046 Jabber: craigs@xxxxxxxxxxxxxxxxxxxx > >> > > >> > Post Increment - Consulting & Services > >> > >> http://www.postincrement.com > >> > >> > Vox Gratia - The Open Source VoIP portal http://www.voxgratia.org > >> > Raving Of A Strange Mind - the VoIP blog > >> > http://www.southeren.com/blog > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by BEA Weblogic Workshop > >> FREE Java Enterprise J2EE developer tools! > >> Get your free copy of BEA WebLogic Workshop 8.1 today. > >> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > >> > >> _______________________________________________________ > >> > >> List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > >> Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 > >> Homepage: http://www.gnugk.org/ > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by BEA Weblogic Workshop > >> FREE Java Enterprise J2EE developer tools! > >> Get your free copy of BEA WebLogic Workshop 8.1 today. > >> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > >> > >> _______________________________________________________ > >> > >> List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > >> Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 > >> Homepage: http://www.gnugk.org/ > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > > > _______________________________________________________ > > > > List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > > Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 > > Homepage: http://www.gnugk.org/ > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > > > _______________________________________________________ > > > > List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > > Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 > > Homepage: http://www.gnugk.org/ ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________________ List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/