Opened 10 years ago

Closed 10 years ago

#43820 closed defect (invalid)

graphviz 2.38 build failed

Reported by: andre.david@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: graphviz

Description

From the log:

:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_grap
hics_graphviz/graphviz/work/graphviz-2.38.0/cmd/edgepaint'
:info:build /bin/sh ../../libtool  --tag=CC   --mode=link /usr/bin/clang  -pipe -Os -arch x86_64 -fno-common -Wall  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -o edgepaint edgepaint-edgepaintmain.o ../../lib/edgepaint/libedgepaint_C.la ../../lib/ingraphs/libingraphs_C.la ../../lib/sfdpgen/libsfdpgen_C.la ../../lib/neatogen/libneatogen_C.la ../../lib/sparse/libsparse_C.la ../../lib/rbtree/librbtree_C.la ../../lib/common/libcommon_C.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la  -lstdc++ -lm
:info:build libtool: link: /usr/bin/clang -pipe -Os -arch x86_64 -fno-common -Wall -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-headerpad_max_install_names -o .libs/edgepaint edgepaint-edgepaintmain.o  -L/opt/local/lib ../../lib/edgepaint/.libs/libedgepaint_C.a ../../lib/ingraphs/.libs/libingraphs_C.a ../../lib/sfdpgen/.libs/libsfdpgen_C.a ../../lib/neatogen/.libs/libneatogen_C.a ../../lib/sparse/.libs/libsparse_C.a ../../lib/rbtree/.libs/librbtree_C.a ../../lib/common/.libs/libcommon_C.a ../../lib/cgraph/.libs/libcgraph.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/work/graphviz-2.38.0/lib/cdt/.libs/libcdt.dylib ../../lib/cdt/.libs/libcdt.dylib /usr/local/lib/libstdc++.dylib -L/Users/gkhanna/build/x86_64-apple-darwin11.3.0/libstdc++-v3/src -L/Users/gkhanna/build/x86_64-apple-darwin11.3.0/libstdc++-v3/src/.libs -lm
:info:build clang: error: no such file or directory: '/usr/local/lib/libstdc++.dylib'

and indeed

$ ls -la /usr/local/lib/libstdc++*
-rwxr-xr-x 1 root wheel 1.6M Apr 15  2012 /usr/local/lib/libstdc++.6.dylib*
-rw-r--r-- 1 root wheel 7.2M Apr 15  2012 /usr/local/lib/libstdc++.a
-rw-r--r-- 1 root wheel 2.3K Apr 15  2012 /usr/local/lib/libstdc++.a-gdb.py
-rwxr-xr-x 1 root wheel 1.1K Apr 15  2012 /usr/local/lib/libstdc++.la*

Should graphviz be looking for libstdc++.6.dylib or should I have libstdc++.dylib?

Attachments (1)

main.log (49.8 KB) - added by andre.david@… 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by andre.david@…

Attachment: main.log added

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

Cc: ryandesign@… added
Resolution: invalid
Status: newclosed

It's not supported to have things in /usr/local/{bin,etc,include,lib,libexec,man,sbin,share,var} while using MacPorts, because it can cause interference like this. See wiki:FAQ#usrlocal. Please remove /usr/local, clean the affected port, and then try again.

Note: See TracTickets for help on using tickets.