I'm sorry if this is a little off-topic, but I'm trying to run a Tcl/Tk
script that wants to use libtk8.3.so, but the Fink installation of
Tcl/Tk just has libtk8.3.dylib. I read on fink-users that Darwin uses
.dylib instead of .so for shared libraries, but I don't know whether
this is a cosmetic difference or something more substantial. When I try
to just directly substitute the .dylib file for the .so one, either by
creating a link or by changing the following line in
/sw/lib/pkgIndex.tcl, I get the error below.
from /sw/lib/pkgIndex.tcl:
package ifneeded Tk 8.3 [list load [file join $dir libtk8.3.so]]
wrpmg4b: /Users/mls5w/programs/rmscopII-2.1-unix % /sw/bin/tclsh
/Users/mls5w/bin/rmscop2.tcl -- $*
dyld: inappropriate Mach-O file
while executing
"load /sw/lib/libtk8.3.dylib"
("package ifneeded" script)
invoked from within
"package require Tk"
(procedure "startRmscop" line 5)
invoked from within
"startRmscop $argv"
(file "/Users/mls5w/bin/rmscop2.tcl" line 1959)
Is there something I can do to make this work, or does the author of the
script need to modify it to work on OS X? (If the latter, any tips I
can pass on to him on how to do this would be appreciated.)
Thanks,
Mike Sierk
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Michael Sierk, Postdoctoral Fellow email: [EMAIL PROTECTED]
Biochemistry & Molecular Genetics Dept. Phone(W): (434) 924-2821
P.O. Box 800733 (H): (434) 970-2268
University of Virginia
-----------------------------------------------------------------------
"If at first you do succeed, try not to act surprised."
- Anonymous.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users