LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Wine question (https://www.linuxquestions.org/questions/linux-software-2/wine-question-4175515103/)

lesnod 08-16-2014 09:50 PM

Wine question
 
I'm running centos 6.5 and have kernel 2.6.32 installed. I have installed wine64 version wine-1.6.2. When I try to install ForexTrader Pro, I keep getting a png error:

err:menubuilder:convert_to_native_icon error 0x80004005 creating bitmap encoder
err:wincodecs:PngEncoder_CreateInstance Trying to save PNG picture, but PNG support is not compiled in.

I have pnglib installed:

rpm -qa | grep libpng
libpng-1.2.49-1.el6_2.x86_64

I'm not totally sure if I need to recompile wine with some sort of png switch but any help with this would be appreciated.....

business_kid 08-17-2014 02:56 AM

Probably a 32bit/64bit thing. 32bit programs need 32bit libs, and 64bit likewise.

Everything (windows exe, wine, & linux os & support libs) needs to share the same bittiness. You'd be amazed how much 32 bit even windows 8 runs

lesnod 08-17-2014 09:43 AM

ok, so how do I fix it? Do I need to try this on a 32 bit version of cent?

business_kid 08-17-2014 10:39 AM

run it down
Code:

locate libpng.so
file /path/to/wine
file /path/to/program

Note 32/64 bit-iness.

lesnod 08-17-2014 11:53 AM

[root@ofpc ~]# locate libpng.so
/usr/lib/libpng.so.3
/usr/lib/libpng.so.3.49.0
/usr/lib64/libpng.so.3
/usr/lib64/libpng.so.3.49.0
/usr/lib64/compiz/libpng.so

This is the output

business_kid 08-18-2014 02:40 AM

That's probably OK (unless some libs are in the wrong place). And the rest of it?
Code:

file /path/to/wine
file /path/to/program


lesnod 08-19-2014 01:39 AM

[root@ofpc ~]# file /usr/bin/wine64
/usr/bin/wine64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped


I'm hoping that is what you are looking for. When you say file /path/to/program. I'm assuming you mean the forex program I want to install??? It's just a download, I tried running the setup from multiple locations. The last one was from within wine file browser I copied the setup.exe to the program files folder.

business_kid 08-19-2014 07:48 AM

Yes, it's any executable you are trying to run. Wine64 is strictly for 64 bit programs atm and I never bother to install it until something tells me it won't run on wine(32). Then I might


All times are GMT -5. The time now is 12:44 AM.