Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-09-28
00:00 • Closed ticket [1029084fff]: darwin static build fails plus 7 other changes artifact: dc0203b086 user: wolfsuit
2004-09-24
12:32 • Ticket [1029084fff]: 1 change artifact: c0fab67765 user: mdejong
2004-09-16
09:14 • New ticket [1029084fff]. artifact: 840660c8c2 user: aotto1968

darwin static build fails

Closed / Wont Fix1029084fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-09-16 09:14:56
Hi, 
 
  my environment: 
 
my system >>>>>>>>>>>>>>>>>>>>>> 
mac01:~dev1usr$ uname -a 
Darwin mac01.local 7.3.0 Darwin Kernel Version 7.3.0: Fri 
Mar  5 14:22:55 PST 2004; root:xnu/xnu-517.3.15.obj~4/
RELEASE_PPC  Power Macintosh powerpc 
 
already install frameworks >>>>>>>>>>>>>>>> 
/System/Library/Frameworks/Tcl.framework/Versions/8.4/
Tcl (compatibility version 8.4.0, current version 8.4.0) 
 
my config >>>>>>>>>>>>>>>>>>>>>>>>< 
../unix/configure   --prefix=${PROJECT_EXT?}/static \ 
                    --disable-shared \ 
                    --disable-framework \ 
                    --enable-man-symlinks \ 
                    --enable-man-compression=gzip 
 
the build just run fine >>>>>>>>>>>>>>>>>>> 
.... 
gcc -pipe -prebind  tclAppInit.o -L/my/current/path -ltcl8.4 
-framework CoreFoundation  -o tclsh 
 
now the ERROR: #################### 
 
after build >>>>>>>>>>>>>>>>>>> 
mac01:~dev1usr$ otool -L tclsh 
tclsh:   
        /System/Library/Frameworks/Tcl.framework/
Versions/8.4/Tcl (compatibility version 8.4.0, current version 
8.4.0) 
        /System/Library/Frameworks/
CoreFoundation.framework/Versions/A/CoreFoundation 
(compatibility version 150.0.0, current version 299.3.0) 
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, 
current version 71.0.0) 
 
summary ######################## 
1. try to build STATC tcl 
2. the build went fine -> static libs are build -> OK 
3. the (!!intelligent!!) linker does using the !!FRAMEWORK!! 
tcl even providing the static tcl-lib on the commandline 
 
> I have to rename the central Tcl-Framework to get the 
work done  
 
mfg 
 
  aotto
mdejong Ticket [1029084fff]: 1 change [History diff]2004-09-24 12:32:03
wolfsuitplain2004-09-28 00:00:28
Logged In: YES 
user_id=169107

This is a known issue with the dynamic linker on Mac OS X.  It always 
chooses the dylib if one is present.

I know there was a bug filed against it in Apple's bug reporter system, 
but somehow I can't find it right now.  I don't know when it will get fixed.

Anyway, there is nothing we can do about this in the Tcl Makefiles, this is 
a tools issue.  I set this to "Won't Fix" - really it should be "Can't Fix" but 
there isn't one of those...
Log in (anonymous is fine) to add a comment.