Hi, The problem is that the ld command line shown below lacks the "-brtl" option. Conrad Schneiker wrote: > Hi, > > Cameron Laird wrote: > > > We're in the > > middle <URL:http://www.regularexpressions.com/#options> > > now of a series on the options database that we intend as > > useful to *all* Tk programmers, whether they happen to be > > using the Perl, Python, Ruby, Tcl, ... binding. This is a > > good time, by the way, for comments and questions folks would > > like to see addressed before we wrap up the series. > > (Cameron: Thanks for the info.) > > Despite past problems that led me to give up on this stuff, the preceding note > inspired me to make a quick attempt to see what happens if I try to build Tcl/Tk > 8.2 and Ruby 1.4.4 out of the box (actually, rebuilding after doing a make > distclean), on AIX 4.3, using the AIX vac compiler. > > This time I didn't try to configure the install directories and such, I just let > Tcl/Tk and Ruby do their default things in /usr/local. After building Tcl/Tk, I > verified that the widget demo ran. When doing the make for Ruby, I encountered > this: > > compiling tcltklib > /usr/ccs/bin/ld -eInit_tcltklib > -bI:/driver/tools/src/ruby/ruby-1.4.4/ruby.imp -b > M:SRE -T512 -H512 -lc -L/usr/local/lib -o tcltklib.so tcltklib.o -ltk8.2 > -ltcl8.2 -lX11 - > lm -ldl -lc > ld: 0706-006 Cannot find or open library file: -l tk8.2 > ld:open(): A file or directory in the path name does not exist. > ld: 0706-006 Cannot find or open library file: -l tcl8.2 > ld:open(): A file or directory in the path name does not exist. > make: 1254-004 The error code from the last command is 255. > > # ls /usr/local/lib > libtcl8.2.exp libtk8.2.exp ruby/ tk8.2/ > libtcl8.2.so* libtk8.2.so* tcl8.2/ tkConfig.sh > libtclstub8.2.a libtkstub8.2.a tclConfig.sh > > Hmm, wonder if that new combo of lib*stub*.a and lib*.so stuff is a problem? > > (I seem to recall some special -b<flag> for .so stuff. Maybe it's in Ruby 1.5.x?) > > -- > Conrad Schneiker > (This note is unofficial and subject to improvement without notice.) -- Conrad Schneiker (This note is unofficial and subject to improvement without notice.)