Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#13817 closed defect (fixed)

t1lib can't be built universal

Reported by: t.niese@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: t1lib Cc:


when trying to compile the t1lib as universal i get the following message:

ld: warning in ../lib/.libs/libt1.dylib, file is not of required architecture

i was able to trac the problem down to the building of the dynamic-library which is alway in the host architecture instead of being universal.

if i change the line 8657 of the config file from:

archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'


archive_cmds='$CC -arch ppc  -arch i386  -isysroot /Developer/SDKs/MacOSX10.5.sdk -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'

it will compile as universal so it seems, that the compile flags set in the env get lost for this command at the make process.
cause i'm not very familiar with make and config files, i have no clue where to fix this problem.

Change History (4)

comment:1 Changed 13 years ago by jmpp@…

Milestone: Port Bugs

comment:2 Changed 13 years ago by ryandesign (Ryan Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Summary: t1lib can't be build universalt1lib can't be built universal

comment:3 Changed 13 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

Well after trying a lot of other more complicated things, it turns out it just needs a newer libtool! Fixed in r33627.

comment:4 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.