Ticket #20209 (closed defect: invalid)
libtool x86_64:
| Reported by: | cerieljacobs@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.1 |
| Keywords: | x86_64 | Cc: | |
| Port: | libtool |
Description
I have set my universal to x86_64.
When trying to install or upgrade libtool, this fails, ending with this debugging output:
libtool: link: ( cd "libltdl/.libs" && rm -f "dlopen.la" && ln -s "../dlopen.la" "dlopen.la" )
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc-4.2 -fast -march=nocona -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -mmacosx-version-min=10.5 -no-undefined -version-info 9:0:2 -dlpreopen libltdl/dlopen.la -L/opt/local/lib -arch x86_64 -mmacosx-version-min=10.5 -o libltdl/libltdl.la -rpath /opt/local/lib libltdl/loaders/libltdl_libltdl_la-preopen.lo libltdl/libltdl_libltdl_la-lt__alloc.lo libltdl/libltdl_libltdl_la-lt_dlloader.lo libltdl/libltdl_libltdl_la-lt_error.lo libltdl/libltdl_libltdl_la-ltdl.lo libltdl/libltdl_libltdl_la-slist.lo libltdl/argz.lo
libtool: link: not configured to extract global symbols from dlpreopened files
libtool: link: (cd libltdl/.libs/libltdl.lax/dlopen.a && ar x "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libtool/work/libtool-2.2.6/libltdl/.libs/dlopen.a")
libtool: link: /usr/bin/gcc-4.2 -dynamiclib -o libltdl/.libs/libltdl.7.dylib libltdl/loaders/.libs/libltdl_libltdl_la-preopen.o libltdl/.libs/libltdl_libltdl_la-lt__alloc.o libltdl/.libs/libltdl_libltdl_la-lt_dlloader.o libltdl/.libs/libltdl_libltdl_la-lt_error.o libltdl/.libs/libltdl_libltdl_la-ltdl.o libltdl/.libs/libltdl_libltdl_la-slist.o libltdl/.libs/argz.o libltdl/.libs/libltdl.lax/dlopen.a/dlopen.o -L/opt/local/lib -march=nocona -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -mmacosx-version-min=10.5 -arch x86_64 -mmacosx-version-min=10.5 -install_name /opt/local/lib/libltdl.7.dylib -compatibility_version 10 -current_version 10.0 -Wl,-single_module
Undefined symbols:
"_lt_libltdl_LTX_preloaded_symbols", referenced from:
_lt_dlinit in libltdl_libltdl_la-ltdl.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [libltdl/libltdl.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Warning: the following items did not execute (for libtool): org.macports.destroot org.macports.build
DEBUG: wrong # args: should be "md5 action ?file?"
while executing
"md5 $fname"
Error: Unable to upgrade port: 1
A full debug output of both the initial php5 installation (which failed on libtool) and the force upgrade libtool are attached.
Attachments
Change History
comment:1 Changed 4 years ago by jmr@…
- Status changed from new to closed
- Resolution set to invalid
You've apparently modified base to use different CFLAGS and a different compiler, which is totally unsupported. Furthermore, if you want to build for x86_64, you're probably better off installing base from svn trunk and using the build_arch setting rather than abusing universal_archs.
Note: See
TracTickets for help on using
tickets.

