On 04 Jan 2008, at 22:57, Dominique Dhumieres wrote:

> nm -m /usr/lib/libwx_macud-2.5.dylib | fgrep 'wxListBase'
>
> gives a list:
>
> 9bd78734 (__TEXT,__eh_frame) external  
> _ZN10wxListBase10DeleteNodeEP10wxNodeBase.eh
> 9bd7870c (__TEXT,__eh_frame) external  
> _ZN10wxListBase10DetachNodeEP10wxNodeBase.eh
> 9bd78860 (__TEXT,__eh_frame) external  
> _ZN10wxListBase11DeleteNodesEP10wxNodeBaseS1_.eh
> ff28d000 (absolute) external  
> _ZN10wxListBase12AppendCommonEP10wxNodeBase.eh
> 9bd78760 (__TEXT,__eh_frame) external  
> _ZN10wxListBase12DeleteObjectEPv.eh
> 9bd786e0 (__TEXT,__eh_frame) external  
> _ZN10wxListBase12DoDeleteNodeEP10wxNodeBase.eh
> ...
> 9ba06d3c (__TEXT,__text) external __ZNK10wxListBase4FindERK9wxListKey
> 9ba06cbc (__TEXT,__text) external __ZNK10wxListBase4ItemEm
> 9ba06e08 (__TEXT,__text) external __ZNK10wxListBase7IndexOfEPv
> aba10688 (__DATA,__const) external __ZTV10wxListBase
>
> but nothink without __Z*10.

Use the *exact* command I wrote...
>
> [pbook] /Users/dominiq% ls -l /usr/lib/libwx_macud-2.5.*.dylib
> -rwxr-xr-x 1 root wheel 6918948 Dec 27 01:12 /usr/lib/ 
> libwx_macud-2.5.3.0.0.dylib
> lrwxr-xr-x 1 root wheel      27 Aug 23  2005 /usr/lib/ 
> libwx_macud-2.5.3.dylib -> libwx_macud-2.5.3.0.0.dylib
>
> so my file /usr/lib/libwx_macud-2.5.3.0.0.dylib is about half of  
> yours.

This is normal _ we are 'gratified' (!)  with 'universal' files on  
intel..
But I repeated the command I sent you adding '-arch ppc' to the nm  
command
and still get all those symbols...

>
> nm -m /usr/lib/libwx_macud-2.5.dylib | egrep "__const_coal"
>
> gives nothing
this is indeed worrysome....

The following command will tell you which pkg your  libwx_macud   
comes from:

# for f in `find /Library/Receipts -name '*.bom'`; do echo -n "$f: ";  
lsbom $f 2>/dev/null|fgrep '/usr/lib/libwx_macud-2.5.3.0.0.dylib';  
echo '';  done|grep -v '\(:\|^\) *$'
/Library/Receipts/BSD.pkg/Contents/Archive.bom: ./usr/lib/ 
libwx_macud-2.5.3.0.0.dylib   100755  0/0     11960372        2962364617
/Library/Receipts/MacOSX10.4.Universal.pkg/Contents/Archive.bom: ./ 
SDKs/MacOSX10.4u.sdk/usr/lib/libwx_macud-2.5.3.0.0.dylib      
100755      0/0     2748772 1201174629

and since
# ls -l /Library/Receipts/BSD.pkg/Contents/Archive.bom /Library/ 
Receipts/MacOSX10.4.Universal.pkg/Contents/Archive.bom
-rw-rw-r-- 1 root admin 3231117 Feb 14  2006 /Library/Receipts/ 
BSD.pkg/Contents/Archive.bom
-rw-rw-r-- 1 root admin 1784306 Jul 25 06:48 /Library/Receipts/ 
MacOSX10.4.Universal.pkg/Contents/Archive.bom

the lib here clearly comes from the latter pkg...


JF


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to