Aron Trauring wrote:
I recently upgraded to Panther. In anticipation, I totally deleted my old /sw directory, and after installing Panther disk 3 (with X) and Xtools 1.1 I did a binary install of Fink, did an rsync self-update and update all. I am able to install non-gtk apps no problemo. But when isntalling gaim, for example (using either binary or unstable( I get an undefined symbol error. (the difference beig whether I get error at runtime or when linking the package). Googling the error, it apparently seems to be the same as a know incompatibility with QT and the fontconfig libraries. Here's what I get:

The similarity with the situation with qt3 is that you must have installed some package from binaries compiled on MacOSX 10.2 that do not work on Panther. Unfortunately, the fink-0.6.2 binary distribution contains such packages. I do not know which one it is in your case, but you can try to find out.


creating libpango-ot.la
(cd .libs && rm -f libpango-ot.la && ln -s ../libpango-ot.la libpango-ot.la)
/bin/sh ../../libtool --mode=link gcc -O3 -funroll-loops -fstrict-aliasing -pipe -Wall -no-undefined -L/usr/X11R6/lib -o ottest ottest.o disasm.o libpango-ot.la -L/usr/X11R6/lib -lfontconfig -L/usr/X11R6/lib -lfreetype
gcc -O3 -funroll-loops -fstrict-aliasing -pipe -Wall -o ottest ottest.o disasm.o -L/usr/X11R6/lib ./.libs/libpango-ot.a -lfontconfig -lfreetype
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
_FT_Access_Frame
_FT_Forget_Frame
_FT_Get_Short
_FT_Seek_Stream
_FT_Get_Long

These symbols should not be referenced *anywhere* on your system. They came with the freetype stuff in xfree86 version 4.2.1 (to complicate matters more, they are now also in the very latest xfree86-4.3.99999.. for compatibility reasons, but you don't have this on your system, as far as I understand). Thus some of the libraries you are linking to must have been built while xfree86-4.2 or Apple's X11-beta from Jaguar was installed.


To find out where this comes from, you can run the following command:

grep FT_Access_Frame -r /sw/lib/lib*

This will give you some lines like

Binary file /sw/lib/libsomething.dylib matches

Then check with "dpkg -S libsomething.dylib" which package this comes from. This should show you some package that was installed from the binary distribution and which you now have to recompile. Most likely it is the freetype2-shlibs package. If this is the case, do

  sudo dpkg --purge --force-depends freetype2 freetype2-shlibs
  fink rebuild freetype2
  fink install freetype2

But there might be other packages affected.

--
Martin



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to