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.