#1417 closed defect (fixed)
sudo port install libtool fails w/ld: Undefined symbols: _dlsym_prepend_underscore
Reported by: | kranki2@… | Owned by: | bchesneau@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
"sudo port install libtool" fails to build:
apple03:~/rmwTest/xchat-2.0.7 apple03$ sudo port install libtool ---> Fetching libtool ---> Verifying checksum for libtool ---> Extracting libtool ---> Configuring libtool ---> Building libtool with target all Error: Target com.apple.build returned: shell command "cd "/Users/apple03/darwinports/dports/ devel/libtool/work/libtool-1.5" && make all" returned error 2 Command output: Making all in . CONFIG_FILES=libtoolize CONFIG_HEADERS= /bin/sh ./config.status config.status: creating libtoolize config.status: executing depfiles commands chmod +x libtoolize Making all in libltdl make all-am /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
echo './ |
'`ltdl.c mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -Ddlsym=dlsym_prepend_underscore -I/opt/local/include -c
ltdl.c -fno-common -DPIC -o .libs/ltdl.o
gcc -DHAVE_CONFIG_H -I. -I. -I. -Ddlsym=dlsym_prepend_underscore -I/opt/local/include -c
ltdl.c -o ltdl.o >/dev/null 2>&1 /bin/sh ./libtool --mode=link gcc -Ddlsym=dlsym_prepend_underscore -I/opt/local/include -o libltdl.la -rpath /opt/local/lib -no-undefined -version-info 4:0:1 ltdl.lo -ldl gcc -dynamiclib -o .libs/libltdl.3.1.0.dylib .libs/ltdl.o -ldl -install_name /opt/local/lib/ libltdl.3.dylib -compatibility_version 5 -current_version 5.0 ld: Undefined symbols: _dlsym_prepend_underscore /usr/bin/libtool: internal link edit command failed make[2]: * [libltdl.la] Error 1 make[1]: * [all] Error 2 make: * [all-recursive] Error 1
Change History (1)
comment:1 Changed 21 years ago by kranki2@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
My mistake, sorry. I was using old -Ddlsym=dlsym_prepend_underscore in CFLAGS of my Bash Profile and did not realize that that was deprecated.