/* this is part of process (the error part only) */
/* i was trying to install "OpenPBS_2_3_16" @ my home PC Pentium III,having RH 7.3 , tcl/tk 8.3.1-53 */
/* i gave this command ---> ./configure --prefix /usr/pbs */
makedepend-sh: processing ./pbsTkInit.c makedepend-sh: processing ./hostn.c makedepend-sh: processing ./chk_tree.c makedepend-sh: processing ./printjob.c makedepend-sh: processing ./tracejob.c make[3]: Entering directory `/root/SETUPS/pbs/OpenPBS_2_3_16/src/tools' gcc -g -O2 -I../../src/include -I../../src/include -I/usr/include -I/usr/X11R6/include -DHAVE_CONFIG_H -c ./../scheduler.tcl/pbs_tclWrap.c gcc -g -O2 -I../../src/include -I../../src/include -I/usr/include -I/usr/X11R6/include -DHAVE_CONFIG_H -c ./../scheduler.tcl/site_tclWrap.c gcc -g -O2 -I../../src/include -I../../src/include -I/usr/include -I/usr/X11R6/include -DHAVE_CONFIG_H -c pbsTclInit.c gcc -g -O2 -I../../src/include -I../../src/include -I/usr/include -I/usr/X11R6/include -DHAVE_CONFIG_H -o pbs_tclsh pbs_tclWrap.o site_tclWrap.o pbsTclInit.o ../lib/Liblog/liblog.a ../lib/Libcmds/libcmds.a ../lib/Libnet/libnet.a ../lib/Libpbs/libpbs.a -L/usr/lib -ltk8.3 -ltcl8.3 -L/usr/X11R6/lib -lX11 -lm -ldl /usr/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make[3]: *** [pbs_tclsh] Error 1 make[3]: Leaving directory `/root/SETUPS/pbs/OpenPBS_2_3_16/src/tools' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/SETUPS/pbs/OpenPBS_2_3_16/src/tools' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/SETUPS/pbs/OpenPBS_2_3_16/src' make: *** [all] Error 2
/* Also when i tried using rpm */
[root@localhost pbs]# rpm - Uvh openpbs-2.3pl2-1.i386.rpm
error: failed dependencies: libtcl8.0.so is needed by openpbs-2.3pl2-1 libtk8.0.so is needed by openpbs-2.3pl2-1 /usr/bin/tclsh8.0 is needed by openpbs-2.3pl2-1 /usr/bin/wish8.0 is needed by openpbs-2.3pl2-1
[root@localhost pbs]# find / -name libtcl*
/usr/lib/libtcl8.3.so /usr/lib/libtcl.so /usr/lib/libtclstub8.3.a /usr/lib/libtclx8.2.a /usr/lib/libtclx.so /usr/lib/libtclx8.2.so
/* i dunno wats the prob ..probably some version conflict ?? ..pls help */
thanx
___________________________________________________ Download the hottest & happening ringtones here! OR SMS: Top tone to 7333 Click here now: http://sms.rediff.com/cgi-bin/ringtone/ringhome.pl
On Sunday 27 Jul 2003 12:17 am, Mrudul Shah wrote:
/* i gave this command ---> ./configure --prefix /usr/pbs */
<snip>
../lib/Libpbs/libpbs.a -L/usr/lib -ltk8.3 -ltcl8.3 -L/usr/X11R6/lib -lX11 -lm -ldl /usr/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status
:O, do a "slocate libX11" or "ldd `which xclock`|grep libX11" to see where is your libX11. BTW, its usually "./configure --prefix=/usr/prb".
error: failed dependencies: libtcl8.0.so is needed by openpbs-2.3pl2-1 libtk8.0.so is needed by openpbs-2.3pl2-1 /usr/bin/tclsh8.0 is needed by openpbs-2.3pl2-1 /usr/bin/wish8.0 is needed by openpbs-2.3pl2-1
[root@localhost pbs]# find / -name libtcl*
/usr/lib/libtcl8.3.so /usr/lib/libtcl.so /usr/lib/libtclstub8.3.a /usr/lib/libtclx8.2.a /usr/lib/libtclx.so /usr/lib/libtclx8.2.so
/* i dunno wats the prob ..probably some version conflict ?? ..pls help */
A few ln-s would do I guess [Warning, this may not function properly, and similer steps may cause long term damage to your system].
ln /usr/lib/libtcl8.3.so /usr/lib/libtcl8.0.so ln /usr/bin/wish8.3 /usr/bin/wish8.0
You may require to modify some path, but I hope you are getting the idea. RPM may still crib, but you can try --nodeps and shut it up.
On 26/07/03 18:47 -0000, Mrudul Shah wrote: <snip>
../lib/Libpbs/libpbs.a -L/usr/lib -ltk8.3 -ltcl8.3 -L/usr/X11R6/lib -lX11 -lm -ldl /usr/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status
This would have been sufficient to pinpoint the error. Install the XFree86-devel RPM. <snip>
[root@localhost pbs]# rpm - Uvh openpbs-2.3pl2-1.i386.rpm
error: failed dependencies: libtcl8.0.so is needed by openpbs-2.3pl2-1 libtk8.0.so is needed by openpbs-2.3pl2-1 /usr/bin/tclsh8.0 is needed by openpbs-2.3pl2-1 /usr/bin/wish8.0 is needed by openpbs-2.3pl2-1
This RPM has been compiled for an older version of RH, or for another distribution. I suggest recompiling the source RPM.
Devdas Bhagat