On Wed, Dec 23, 2009 at 09:20:33AM +0100, Martin Costabel wrote:
> pavicic wrote:
>> On Mon, Dec 21, 2009 at 10:54:04PM -0500, Alexander Hansen wrote:
>>> On 12/21/09 7:42 PM, pavicic wrote:
>>>> On Mon, Dec 21, 2009 at 03:58:35PM -0500, Alexander Hansen wrote:
>>>>> On 12/21/09 3:34 PM, pavicic wrote:
>>>>>     
>>>>>> On Mon, Dec 21, 2009 at 01:01:18PM -0500, Alexander Hansen wrote:
>>>>>>> On 12/21/09 12:02 PM, pavicic wrote:
> []
>>>>>>>> # file /sw/lib/libintl.8.dylib
>>>>>>>> /sw/lib/libintl.8.dylib: Mach-O 64-bit dynamically linked shared 
>>>>>>>> library
>>>>>>>> x86_64
>>>>>>>>
>>>>>>>> # file /sw/bin/msgfmt
>>>>>>>> /sw/bin/msgfmt: Mach-O executable i386
> []
>> file=`echo af | sed 's,.*/,,'`.gmo \
>>        && rm -f $file && /sw/bin/msgfmt -o $file af.po
>> dyld: Library not loaded: /sw/lib/libintl.8.dylib
>>   Referenced from: /sw/bin/msgfmt
>>   Reason: no suitable image found.  Did find:
>>      /sw/lib/libintl.8.dylib: mach-o, but wrong architecture
>
> Well, you still have the as yet unexplained phenomenon of a 64bit  
> /sw/lib/libintl.8.dylib in a 32bit Fink installation. This should be  
> impossible (and I don't understand Alex' remark that this is a bug in  
> Fink's packaging). You should be able to get rid of it by running
>
>   fink rebuild libgettext8-shlibs

I did so. Now I get: 

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -I/sw/include
-g -O2 -c strerror.c  -fno-common -DPIC -o .libs/strerror.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -I/sw/include
-g -O2 -c strerror.c -o strerror.o >/dev/null 2>&1
mv -f .libs/strerror.lo strerror.lo
/bin/sh ../libtool --mode=link g++  -g -O2   -o libosp.la -rpath /sw/lib
-version-info 4:0:0 Allocator.lo ArcEngine.lo Attribute.lo
Big5CodingSystem.lo CharsetDecl.lo CharsetInfo.lo CharsetRegistry.lo
CmdLineApp.lo CodingSystem.lo CodingSystemKit.lo ConsoleOutput.lo
ContentState.lo ContentToken.lo DescriptorManager.lo Dtd.lo
DtdDeclEventHandler.lo EUCJPCodingSystem.lo ElementType.lo Entity.lo
EntityApp.lo EntityCatalog.lo EntityDecl.lo EntityManager.lo
ErrnoMessageArg.lo ErrorCountEventHandler.lo Event.lo EventGenerator.lo
ExtendEntityManager.lo ExternalId.lo Fixed2CodingSystem.lo
GenericEventHandler.lo Group.lo Hash.lo IListBase.lo Id.lo
IdentityCodingSystem.lo InputSource.lo InternalInputSource.lo Link.lo
LinkProcess.lo LiteralStorage.lo Location.lo Lpd.lo Markup.lo Message.lo
MessageArg.lo MessageEventHandler.lo MessageFormatter.lo
MessageReporter.lo MessageTable.lo ModeInfo.lo Notation.lo
NotationStorage.lo NumericCharRefOrigin.lo OffsetOrderedList.lo
OpenElement.lo OutputByteStream.lo OutputCharStream.lo OutputState.lo
Param.lo Parser.lo ParserApp.lo ParserEventGeneratorKit.lo
ParserMessages.lo ParserOptions.lo ParserState.lo Partition.lo
PosixStorage.lo Recognizer.lo RewindStorageObject.lo SGMLApplication.lo
SJISCodingSystem.lo SOEntityCatalog.lo Sd.lo SdText.lo
SearchResultMessageArg.lo SgmlParser.lo ShortReferenceMap.lo
StdioStorage.lo StorageManager.lo Syntax.lo Text.lo TokenMessageArg.lo
TranslateCodingSystem.lo TrieBuilder.lo TypeId.lo URLStorage.lo
UTF8CodingSystem.lo Undo.lo UnicodeCodingSystem.lo UnivCharsetDesc.lo
XMLCodingSystem.lo assert.lo parseAttribute.lo parseCommon.lo
parseDecl.lo parseInstance.lo parseMode.lo parseParam.lo parseSd.lo
splib.lo app_inst.lo arc_inst.lo entmgr_inst.lo parser_inst.lo
xentmgr_inst.lo SubstTable.lo UTF16CodingSystem.lo Fixed4CodingSystem.lo
memcmp.lo memmove.lo strerror.lo  -lpthread -L/sw/lib -lintl
grep: /sw/lib/libiconv.la: No such file or directory
sed: /sw/lib/libiconv.la: No such file or directory
libtool: link: `/sw/lib/libiconv.la' is not a valid libtool archive
make[1]: *** [libosp.la] Error 1
make: *** [all] Error 2
### execution of /var/tmp/tmp.1.mHnWmA failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-opensp4-1.5.1-1008
(Reading database ... 54880 files and directories currently installed.)
Removing fink-buildlock-opensp4-1.5.1-1008 ...
Failed: phase compiling: opensp4-1.5.1-1008 failed



# ls -l /sw/lib/*.la 
-rwxr-xr-x  1 root  admin  835 Dec 20 13:24 /sw/lib/libasprintf.la
-rw-r--r--  1 root  admin  831 Dec 20 13:24 /sw/lib/libintl.la


If I delete these two files, the outcome stays the same. 


> But as long as you don't know how it came to be there, you will not know  
> whether you will hit this or similar bugs again. When you switch between  
> stable and unstable, how do you do it?

By means of FinkCommander > Preferences > Fink > Use unstable packages

Mladen.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to