I just installed kubuntu 6.06 on a new laptop (no binary avail), AMD64.
Compiling wine failed as 4979 says, no libfreetype.so that is compatible.
The problem is not in the -L or in gcc or in wine.
The problem is in the m32 libfreetype. /usr/lib32 is searched (as /usr/lib/../lib32) by gcc automatically with -m32.
The libfreetype developer(s) provided libfreetype.so.6.3.8 and link libfreetype.so.6 ->libfreetype.so.6.3.8
However they forgot to create the symlink
libfreetype.so -> libfreetype.so.6
Create this by hand in /usr/lib32 and regrettably wine still will not build as 4 externs are left unresolved: inflate, inflateReset,inflateEnd, inflateInit2.
This appears to also be a libfreetype issue. It's been reported several times in various contexts, google for 'libfreetype inflate' to see them.
I don't have a solution, sorry.
On Mon, May 15, 2006 at 02:38:14PM -0700, David Anderson wrote:
I just installed kubuntu 6.06 on a new laptop (no binary avail), AMD64.
Compiling wine failed as 4979 says, no libfreetype.so that is compatible.
The problem is not in the -L or in gcc or in wine.
The problem is in the m32 libfreetype. /usr/lib32 is searched (as /usr/lib/../lib32) by gcc automatically with -m32.
The libfreetype developer(s) provided libfreetype.so.6.3.8 and link libfreetype.so.6 ->libfreetype.so.6.3.8
However they forgot to create the symlink
libfreetype.so -> libfreetype.so.6
Create this by hand in /usr/lib32 and regrettably wine still will not build as 4 externs are left unresolved: inflate, inflateReset,inflateEnd, inflateInit2.
This appears to also be a libfreetype issue. It's been reported several times in various contexts, google for 'libfreetype inflate' to see them.
Looks like a missing NEEDED libz.so.1 in the libfreetype.so.6.
Add -lz to the link lined.
Ciao, Marcus
On Tue, 2006-05-16 at 16:44 +0200, Marcus Meissner wrote:
This appears to also be a libfreetype issue. It's been reported
several
times in various contexts, google for 'libfreetype inflate' to see
them.
Looks like a missing NEEDED libz.so.1 in the libfreetype.so.6.
Add -lz to the link lined.
Ciao, Marcus
I forgot to mention it, but the DT_NEEDED for libz.so does exist in libfreetype.so.6.
Adding export LDFLAGS="-Wl,-rpath,/usr/lib32" before building helps. (-rpath-link would also work for linking, but I prefer to get that rpath recorded in the resulting binary, thus I use -rpath).
The WineOn64bit web page suggests (in the Debian advice) creating symlinks from libfreetype.so and libz.so to libfreetype.so.6 and libz.so.1 respectively. (in the /usr/lib32 directory). These are also essential. Very helpful web page.
AFAIK I have just one remaining problem on AMD64 laptop running kubuntu : a missing Font library set, noticed at configure time. Won't get a chance to deal with that today. A couple days ago I incautiously installed something on the laptop that killed X server. I reinstalled from scratch and will be much more careful now... And keep better records of what I install!
David Anderson.