FreeBSD Port: devel/libgsf

Ken Easson ken at di.fm
Mon Feb 20 00:52:35 PST 2006


Hello,

 

I’ve run into a problem installing gnome2, and it appears that it’s due in part to libgsf-1 not installing a dynamic library which librsvg2 is trying to reference. 

 

I get the following error during the build of librsvg2:

 

-I/usr/local/include -I/usr/X11R6/include -DG_LOG_DOMAIN=\"librsvg\" -DLIBRSVG_DATADIR=\"/usr/X11R6/share/gnome\" -I/usr/local/include -O -pipe -MT librsvg-enum-types.lo -MD -MP -MF .deps/librsvg-enum-types.Tpo -c librsvg-enum-types.c -o librsvg-enum-types.o >/dev/null 2>&1 /bin/sh /usr/ports/graphics/librsvg2/work/gnome-libtool --mode=link cc -O -pipe -L/usr/local/lib -o librsvg-2.la -rpath /usr/X11R6/lib -version-info 14:7:12 -no-undefined -export-dynamic 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-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.lo rsvg-cond.lo rsvg-art-composite.lo rsvg-art-draw.lo rsvg-art-mask.lo rsvg-art-paint-server.lo rsvg-art-render.lo librsvg-enum-types.lo -L/usr/local/lib -lgsf-1 -lgobject-2.0 -lxml2 -lz -lm -lglib-2.0 -liconv -L/usr/local/lib -lcroco-0.6 -lglib-2.0 -lxml2 -lz -liconv -lm -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -lgdk_pixbuf-2.0 -lart_lgpl_2 -lxml2 -lpangoft2-1.0 -lfreetype -lz -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -lfontconfig -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz cc -shared .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-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.o .libs/rsvg-cond.o .libs/rsvg-art-composite.o .libs/rsvg-art-draw.o .libs/rsvg-art-mask.o .libs/rsvg-art-paint-server.o .libs/rsvg-art-render.o .libs/librsvg-enum-types.o -L/usr/local/lib -lgsf-1 -lcroco-0.6 -L/usr/X11R6/lib -lgdk_pixbuf-2.0 -lart_lgpl_2 -lxml2 -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -lfontconfig -lfreetype -lz -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,-soname -Wl,librsvg-2.so.2 -o .libs/librsvg-2.so.2 /usr/bin/ld: /usr/local/lib/libgsf-1.a(gsf-utils.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC 

/usr/local/lib/libgsf-1.a: could not read symbols: Bad value
gmake[2]: *** [librsvg-2.la] Error 1

gmake[2]: Leaving directory `/usr/ports/graphics/librsvg2/work/librsvg-2.12.7' 

gmake[1]: *** [all-recursive] Error 1

gmake[1]: Leaving directory `/usr/ports/graphics/librsvg2/work/librsvg-2.12.7' 

gmake: *** [all] Error 2
*** Error code 2
 
Stop in /usr/ports/graphics/librsvg2.

 

I found that /usr/local/lib/libgsf-1.so was a symlink to libgsf-1.so.12 which does not exist in that directory. 

I’m out of my league trying to fix this on my own – I deleted the broken link, and tried reinstalling libgsf however this didn’t fix the problem. I’m not sure that this is a problem specific to Freebsd. However – on the amd64 mailing list, another user has let me know that he’s experiencing the same problem.

 

I had the problem with Freebsd 5.4_p6 p10 and now Freebsd 6.1 on a dual opteron system with the SMP/Generic kernel.

 

Ken.

Systems Analyst

Digitally Imported Radio.

Sky FM Radio.

HYPERLINK "http://www.di.fm/"http://www.di.fm  HYPERLINK "http://www.sky.fm/"http://www.sky.fm

 


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.7/259 - Release Date: 2/13/2006
 


More information about the freebsd-gnome mailing list