Subject: Re: pkg/32753 ([patch] graphics/graphviz-2.6nb2: Unresolved symbols on OS X)
To: None <minskim@netbsd.org, gnats-admin@netbsd.org,>
From: Min Sik Kim <minskim@netbsd.org>
List: pkgsrc-bugs
Date: 04/06/2006 16:30:02
The following reply was made to PR pkg/32753; it has been noted by GNATS.

From: Min Sik Kim <minskim@netbsd.org>
To: Idar Tollefsen <idart@performancedesign.no>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/32753 ([patch] graphics/graphviz-2.6nb2: Unresolved symbols on OS X)
Date: Thu, 6 Apr 2006 09:25:37 -0700

 On Mar 19, 2006, at 9:30 AM, Idar Tollefsen wrote:
 
 > Close, but no cigar. It's missing "_lt_preloaded_symbols":
 >
 > gcc -pipe -dynamiclib  -o .libs/libgvplugin_usershape_gd. 
 > 1.0.0.dylib .libs/gvplugin_usershape_gd.o .libs/gvusershape_gd.o -L/ 
 > usr/pkg/pkgsrc/graphics/graphviz/work/graphviz-2.6/lib/gd/.libs -L/ 
 > usr/pkg/pkgsrc/graphics/graphviz/work/graphviz-2.6/lib/cdt/.libs -L/ 
 > usr/pkg/pkgsrc/graphics/graphviz/work/graphviz-2.6/lib/graph/.libs - 
 > L/usr/pkg/pkgsrc/graphics/graphviz/work/.buildlink/lib -L/usr/pkg/ 
 > pkgsrc/graphics/graphviz/work/.x11-buildlink/lib ../../lib/gd/.libs/ 
 > libgvgd.dylib /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../..// 
 > libiconv.dylib /usr/pkg/pkgsrc/graphics/graphviz/work/.buildlink/ 
 > lib/libfontconfig.dylib /usr/pkg/pkgsrc/graphics/graphviz/ 
 > work/.buildlink/lib/libfreetype.dylib /usr/pkg/pkgsrc/graphics/ 
 > graphviz/work/.buildlink/lib/libexpat.dylib /usr/pkg/pkgsrc/ 
 > graphics/graphviz/work/.buildlink/lib/libjpeg.dylib /usr/pkg/pkgsrc/ 
 > graphics/graphviz/work/.buildlink/lib/libpng.dylib /usr/lib/gcc/ 
 > powerpc-apple-darwin8/4.0.1/../../..//libz.dylib /usr/lib/gcc/ 
 > powerpc-apple-darwin8/4.0.1/../../..//libm.dylib ../../lib/ 
 > cdt/.libs/libcdt.dylib ../../lib/graph/.libs/libgraph.dylib /usr/ 
 > pkg/pkgsrc/graphics/graphviz/work/graphviz-2.6/lib/cdt/.libs/ 
 > libcdt.dylib ../../lib/gvc/.libs/libgvc_builtins.dylib /usr/pkg/ 
 > pkgsrc/graphics/graphviz/work/graphviz-2.6/lib/graph/.libs/ 
 > libgraph.dylib -L/usr/pkg/pkgsrc/graphics/graphviz/work/ 
 > graphviz-2.6/lib/pathplan/.libs /usr/pkg/pkgsrc/graphics/graphviz/ 
 > work/graphviz-2.6/lib/pathplan/.libs/libpathplan.dylib /usr/pkg/ 
 > pkgsrc/graphics/graphviz/work/graphviz-2.6/lib/gd/.libs/ 
 > libgvgd.dylib /usr/pkg/pkgsrc/graphics/graphviz/work/.buildlink/lib/ 
 > libltdl.dylib /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../..// 
 > libdl.dylib -mabi=altivec -maltivec -mtune=G4 -mcpu=7450 -Wl,-x - 
 > Wl,-dead_strip -install_name  /usr/pkg/lib/graphviz/ 
 > libgvplugin_usershape_gd.1.dylib -Wl,-compatibility_version -Wl,2 - 
 > Wl,-current_version -Wl,2.0
 > ld: Undefined symbols:
 > _lt_preloaded_symbols
 > /usr/bin/libtool: internal link edit command failed
 > *** Error code 1
 > Stop.
 > bmake: stopped in /usr/pkg/pkgsrc/graphics/graphviz/work/ 
 > graphviz-2.6/lib/plugin
 > *** Error code 1
 
 The command above is linking only two .o files, and neither of them  
 has a reference to _lt_preloaded_symbols on my system.  The only  
 library with the reference is libgvc_builtins.dylib, and it is linked  
 against libltdl where the symbol is defined.  Is this also the case  
 on your system?  Since this package was built successfully in the  
 recent bulk build, I suspect this is a local problem.
 
 Regards,
 Min Sik Kim