Trouble compiling--unable to find freetype

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
aw_wolfe1
Newbie
Newbie
Posts: 1
Joined: Wed Dec 03, 2008 7:57 am

Trouble compiling--unable to find freetype

Post by aw_wolfe1 »

I have opensuse 11, 64bit. trying to compile wine 1.1.9, From previous info, I've been using the following....
---------------

./configure --x-libraries=/usr/X11R6/lib --x-includes=/usr/include/X11/ --with-x --prefix=/usr

------------------------
I do have freetype2-64 and freetype2 dev 64 installed. I am hoping that the problem can be resolved with another syntax change to my configuration command above by pointing it to freetype2 (?-not sure proper syntax to try). If not correct way, what else do I need to do?

Thanks for any help!!!

--------------------------config.log-----------------
configure:14426: checking for freetype-config
configure:14442: found /usr/bin/freetype-config
configure:14453: result: freetype-config
configure:14469: checking for -lfreetype
configure:14504: gcc -m32 -o conftest -g -O2 conftest.c -lfreetype -lfreetype -lz >&5
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../libfreetype.so when searching for -lfreetype
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../libfreetype.a when searching for -lfreetype
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libfreetype.so when searching for -lfreetype
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libfreetype.a when searching for -lfreetype
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lfreetype
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Trouble compiling--unable to find freetype

Post by dimesio »

aw_wolfe1 wrote: ------------------------
I do have freetype2-64 and freetype2 dev 64 installed. I am hoping that the problem can be resolved with another syntax change to my configuration command above by pointing it to freetype2 (?-not sure proper syntax to try). If not correct way, what else do I need to do?
You need the 32 bit libraries.
http://wiki.winehq.org/WineOn64bit#head ... 6c3934d6c0
English_Mohican
Level 2
Level 2
Posts: 18
Joined: Wed Nov 26, 2008 3:09 pm

Post by English_Mohican »

I also run OpenSuse 11.0 on a 64bit machine and I find that I need to set up links to many of the libraries so that wine can find them. I cannot remember doing libfreetype specifically, but Yast only installs libfreetype.so.6 which is a link and libfreetype.so.6.3.18 which is the library itself. (This is in /usr/lib). I think wine looks for libfreetype.so which is not there until I copy libfreetype.so.6 and paste it back calling it libfreetype.so. You then need to run ldconfig to make sure Linux notices that you have generated the file.
My guess is that OpenSuse handles this for me in /usr/lib64 but not in the 32 bit library.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

English_Mohican wrote:I also run OpenSuse 11.0 on a 64bit machine and I find that I need to set up links to many of the libraries so that wine can find them.
Right, that's all described in the link above. :D
English_Mohican
Level 2
Level 2
Posts: 18
Joined: Wed Nov 26, 2008 3:09 pm

Post by English_Mohican »

Thanks for that non-contribution Vitamin - I suggest you try reading the original post, your link and my post. The link does mention freetype2-devel-32bit which is not the package that Wine is looking for above. It does not mention libfreetype.so which wine configure is looking for above. In my case it finds libfreetype.so.6. Your link does mention some specific links that are needed but not this one.

Now, if you chose to be clever about whether this specific link was needed, you could be right, it might not be. But the list of needed links is not complete - at least on my system and it could help the OP to be aware of that.

Finally, Wine compiles perfectly well without freetype2-devel-32bit and runs very acceptably. At the moment there are dependancy problems with freetype2-devel-32bit within Yast and it is not installable. I'm sure that is system dependent and the OP might be able to install it perfectly well -but it also might not solve his problem if he did.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

English_Mohican wrote:The link does mention freetype2-devel-32bit which is not the package that Wine is looking for above.
Now it is :D .

BTW you can edit that wiki too you know.
Locked