[torqueusers] Compiling xpbsmon
Garrick Staples
garrick at usc.edu
Thu Jan 19 13:48:43 MST 2006
On Thu, Jan 19, 2006 at 01:39:24PM -0300, Diego Vadell alleged:
> gcc -g -I../../src/include -I../../src/include -I/usr/include
> -I/usr/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 -ltclx -ltkx
> -ltcl8.3-lm -ldl -lelf
> /usr/bin/ld: skipping incompatible /usr/lib/libtclx.so when searching for
> -ltclx
> /usr/bin/ld: cannot find -ltkx
> So /usr/lib/libtclx.so is a 32bits library and Im compiling a 64bits one.
>
> I'm almost sure it something with my Tcl/Tk installation. Thanks for all
> the answers.
First off, it is well established that TORQUE doesn't find tcl/tk libs
correctly on bi-arches like x86_64. Secondly, having the 32bit libs
installed should be enough to fool configure into doing almost the right
thing (though I haven't tested this).
Your error message looks like you have the i386 libs installed but not
the x86_64 libs. If you do 'rpm -q --qf "%{NAME] %{ARCH}\n" tclx' does
it show both versions installed?
The "skipping incompatible" message is normal when you have the i386
package installed. The "cannot find" message indicates the x86_64
package is missing.
--
Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20060119/30ae7c04/attachment.bin
More information about the torqueusers
mailing list