I've been making some progress. I discovered that my symlink problem
extends to many (but not all) symlinks in /sw/lib. The symlinks point
to an older version of the .dylib than what is installed. I've been
manually updating the symlinks to point to the newer versions that are
on my system. In this way, I managed to get glib2 to build and
install.
I moved on to gtk+2, but that package depends on pango1-xft2. I
updated the out of date symlinks (this time for
libpangoxft-1.0.0.dylib) as before, but the build still fails:
gcc -dynamiclib -o .libs/libpangoxft-1.0.0.800.1.dylib
.libs/pangoxft-font.o .libs/pangoxft-fontmap.o .libs/pangoxft-render.o
-L/sw/lib -L/usr/X11R6/lib ./.libs/libpangoft2-1.0.dylib
/sw/src/fink.build/pango1-xft2-1.8.1-2/pango-1.8.1/pango/.libs/
libpango-1.0.dylib /usr/X11R6/lib/libfontconfig.dylib
/usr/X11R6/lib/libfreetype.dylib ./.libs/libpango-1.0.dylib -lXft
-lfreetype -lXrender -lfontconfig /sw/lib/libgobject-2.0.dylib
/sw/lib/libgmodule-2.0.dylib /sw/lib/libglib-2.0.dylib
/sw/lib/libintl.dylib /sw/lib/libiconv.dylib -lX11 -install_name
/sw/lib/libpangoxft-1.0.0.dylib -compatibility_version 801
-current_version 801.1
ld: warning -dylib_install_name /sw/lib/libpangoxft-1.0.0.dylib not
found in segment address table LD_SEG_ADDR_TABLE
/sw/var/lib/fink/prebound/seg_addr_table
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
_XftCharExists
_XftCharIndex
_XftGlyphExtents
_XftLockFace
_XftUnlockFace
_XftDrawGlyphSpec
_XftDrawPicture
_XftDrawSrcPicture
_XftGlyphSpecRender
/usr/bin/libtool: internal link edit command failed
make[4]: *** [libpangoxft-1.0.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /var/tmp/tmp.2.AZlmkb failed, exit code 2
Removing build lock...
dpkg -r fink-buildlock-pango1-xft2-1.8.1-2
(Reading database ... 60207 files and directories currently installed.)
Removing fink-buildlock-pango1-xft2-1.8.1-2 ...
Failed: phase compiling: pango1-xft2-1.8.1-2 failed
I have 2 questions:
1. Should I continue to manually fix these symlinks, or is there a
more comprehensive way of forcing them to update. I wonder if it may
not be better to delete /sw/lib or even /sw and reinstall everything.
2. What is the nature of the error I'm getting for pango1-xft2? I'm
surprised updating the symlink wasn't enough to fix it.
Thanks.
Marc
On Jun 12, 2005, at 4:59 PM, Marc Boxerman wrote:
fink rebuild glib2 produces the same error:
harset.a -L/sw/lib libiconv.dylib /sw/lib/libiconv.dylib
/sw/lib/libintl.dylib -install_name /sw/lib/libglib-2.0.0.dylib
-compatibility_version 601 -current_version 601.4
gcc: libiconv.dylib: No such file or directory
gcc: /sw/lib/libiconv.dylib: No such file or directory
make[4]: *** [libglib-2.0.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Removing build lock...
dpkg -r fink-buildlock-glib2-2.6.4-2
(Reading database ... 60065 files and directories currently installed.)
Removing fink-buildlock-glib2-2.6.4-2 ...
Failed: phase compiling: glib2-2.6.4-2 failed
It looks like I'm missing the proper version of libiconv.dylib, but I
don't know what package installs it. Any ideas?
Marc
On Jun 12, 2005, at 3:33 PM, Mich�le Garoche wrote:
Le 12 juin 2005 � 20:36, Marc Boxerman a �crit :
Now that Martin helped me get selfupdate to work, I tried to
reinstall gtk+2. That package depends on glib2, which is installed,
but apparently broken because reinstall of gtk+2 tripped on it.
Working backwards, I tried to reinstall glib2. Reinstallation
fails:
As I said, don't use reinstall, use rebuild:
fink rebuild glib2
then fink rebuild gtk+2
And so on, till you got no more errors.
This way, you'll be sure fink does not try to install a deb.
Cheers,
Mich�le
<http://micmacfr.homeunix.org>
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners