Opened 17 years ago

Last modified 15 years ago

#12732 closed defect

librsvg: libgsf depends on bzip2 — at Version 2

Reported by: peter.crowley@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: jmr@…
Port: libgsf

Description (last modified by ryandesign (Ryan Carsten Schmidt))

librsvg is dependant on bzip2

--->  Building librsvg 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_gnome_librsvg/work/librsvg-2.16.1" && make all " returned error 2
Command output: make  all-recursive
Making all in .
/bin/sh ./libtool --mode=link --tag=CC gcc  -O2 -no-cpp-precomp -flat_namespace -undefined suppress  -L/opt/local/lib -o librsvg-2.la -rpath /opt/local/lib -version-info 18:1:16 -export-dynamic -no-undefined -export-symbols ./librsvg.def rsvg-affine.lo librsvg-features.lo rsvg-bpath-util.lo rsvg-css.lo rsvg-defs.lo rsvg-image.lo rsvg-paint-server.lo rsvg-path.lo rsvg-base-file-util.lo rsvg-filter.lo rsvg-marker.lo rsvg-mask.lo rsvg-shapes.lo rsvg-structure.lo rsvg-styles.lo rsvg-text.lo rsvg-cond.lo rsvg-base.lo librsvg-enum-types.lo rsvg-cairo-draw.lo rsvg-cairo-render.lo rsvg-cairo-clip.lo rsvg.lo rsvg-gobject.lo rsvg-file-util.lo -L/opt/local/lib -lgnomevfs-2 -lgconf-2 -lORBit-2 -lm -lgmodule-2.0 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl -liconv   -L/opt/local/lib -lgsf-1 -lgobject-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0 -lintl -liconv   -L/opt/local/lib -lcroco-0.6 -lglib-2.0 -lintl -lxml2 -lpthread -lz -liconv -lm   -L/opt/local/lib -L/usr/X11R6/lib -lgdk_pixbuf-2.0 -lxml2 -lpthread -lm -lpangoft2-1.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lcairo -lSM -lICE -lpng12 -lXrender -lX11 -lfontconfig -lexpat -lfreetype -lz    
sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < ./librsvg.def > .libs/librsvg-2-symbols.expsym
gcc -dynamiclib  -o .libs/librsvg-2.2.16.1.dylib  .libs/rsvg-affine.o .libs/librsvg-features.o .libs/rsvg-bpath-util.o .libs/rsvg-css.o .libs/rsvg-defs.o .libs/rsvg-image.o .libs/rsvg-paint-server.o .libs/rsvg-path.o .libs/rsvg-base-file-util.o .libs/rsvg-filter.o .libs/rsvg-marker.o .libs/rsvg-mask.o .libs/rsvg-shapes.o .libs/rsvg-structure.o .libs/rsvg-styles.o .libs/rsvg-text.o .libs/rsvg-cond.o .libs/rsvg-base.o .libs/librsvg-enum-types.o .libs/rsvg-cairo-draw.o .libs/rsvg-cairo-render.o .libs/rsvg-cairo-clip.o .libs/rsvg.o .libs/rsvg-gobject.o .libs/rsvg-file-util.o  -L/opt/local/lib /opt/local/lib/libgnomevfs-2.dylib /opt/local/lib/libdbus-glib-1.dylib /opt/local/lib/libdbus-1.dylib /opt/local/lib/libssl.dylib /opt/local/lib/libcrypto.dylib /opt/local/lib/libz.dylib /opt/local/lib/libhowl.dylib /opt/local/lib/libgconf-2.dylib /opt/local/lib/libORBit-2.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libgsf-1.dylib /opt/local/lib/libcroco-0.6.dylib -L/usr/X11R6/lib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/libxml2.dylib -lpthread -lm /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpangocairo-1.0.dylib /usr/X11R6/lib/libSM.dylib /usr/X11R6/lib/libICE.dylib /usr/X11R6/lib/libX11.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libcairo.dylib -lSM -lICE /opt/local/lib/libpng12.dylib /opt/local/lib/libXrender.dylib -lX11 /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz -install_name  /opt/local/lib/librsvg-2.2.dylib -compatibility_version 19 -current_version 19.1
ld: warning can't open dynamic library: /opt/local/lib/libbz2.1.0.dylib referenced from: /opt/local/lib/libgsf-1.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: Undefined symbols:
_BZ2_bzDecompress referenced from libgsf-1.114 expected to be defined in /opt/local/lib/libbz2.1.0.dylib
_BZ2_bzDecompressEnd referenced from libgsf-1.114 expected to be defined in /opt/local/lib/libbz2.1.0.dylib
_BZ2_bzDecompressInit referenced from libgsf-1.114 expected to be defined in /opt/local/lib/libbz2.1.0.dylib
/usr/bin/libtool: internal link edit command failed
make[2]: *** [librsvg-2.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Change History (2)

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

Cc: jmr@… added

It looks like the symbols are being referenced from libgsf. Should the dependency be added to it, rather than to librsvg? Can other ports make use of libgsf without hitting this problem?

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

Description: modified (diff)
Port: libgsf added
Summary: librsvg is dependant on bzip2librsvg: libgsf depends on bzip2
Note: See TracTickets for help on using tickets.