Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13494 closed defect (worksforme)

Error building libidl

Reported by: agarren@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc:
Port:

Description

I get an error running 'sudo port install libidl. The error seems to indicate that a symbol is defined twice:

ld: duplicate symbol _g_bit_nth_lsf in .libs/lexer.o and .libs/parser.o

System Description: MacBook 2.4Ghz core 2 duo : 4G ram : Leopard 10.5.1 (Darwin 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386 i386)

Xcode 3.0 Component versions Xcode IDE: 921.0 Xcode Core: 921.0 ToolSupport: 893.0

MacPorts 1.520

Error

esak$ sudo port install libidl

Password:

--->  Building libidl with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libidl/work/libIDL-0.8.9" && make all " returned error 2
Command output: make  all-recursive
Making all in include
Making all in libIDL
make  all-am
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
/bin/sh ./libtool --mode=link gcc  -O2 -no-cpp-precomp  -L/opt/local/lib -o libIDL-2.la -rpath /opt/local/lib -version-info 0:0:0 -L/opt/local/lib -lglib-2.0 -lintl -liconv   -no-undefined parser.lo lexer.lo ns.lo util.lo  
gcc -dynamiclib  -o .libs/libIDL-2.0.0.0.dylib  .libs/parser.o .libs/lexer.o .libs/ns.o .libs/util.o  -L/opt/local/lib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib  -install_name  /opt/local/lib/libIDL-2.0.dylib -compatibility_version 1 -current_version 1.0
ld: duplicate symbol _g_bit_nth_lsf in .libs/lexer.o and .libs/parser.o

collect2: ld returned 1 exit status
make[2]: *** [libIDL-2.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Milestone: Port Bugs

Do you still see this problem with libidl 0.8.10?

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

No response from reporter, and it builds fine for me on Leopard/x86. Marking WFM.

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.