Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2006 03:51:12 -0500
From:      "Ken Easson" <ken@di.fm>
To:        <gnome@FreeBSD.org>
Subject:   FreeBSD Port: devel/libgsf
Message-ID:  <2D230FF6B05F784397AFBC44133C9D5329D487@galaxy.di.fm>

next in thread | raw e-mail | index | archive | help
Hello,

=20

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

=20

I get the following error during the build of librsvg2:

=20

-I/usr/local/include -I/usr/X11R6/include -DG_LOG_DOMAIN=3D\"librsvg\" =
-DLIBRSVG_DATADIR=3D\"/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=3Dlink 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=20

/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'=20

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

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

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

=20

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

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

=20

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.

=20

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

=20


--=20
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
=20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2D230FF6B05F784397AFBC44133C9D5329D487>