LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-16-2014, 09:50 PM   #1
lesnod
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Rep: Reputation: Disabled
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.....
 
Old 08-17-2014, 02:56 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,550

Rep: Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384
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
 
Old 08-17-2014, 09:43 AM   #3
lesnod
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
ok, so how do I fix it? Do I need to try this on a 32 bit version of cent?
 
Old 08-17-2014, 10:39 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,550

Rep: Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384
run it down
Code:
locate libpng.so
file /path/to/wine
file /path/to/program
Note 32/64 bit-iness.
 
Old 08-17-2014, 11:53 AM   #5
lesnod
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
[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
 
Old 08-18-2014, 02:40 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,550

Rep: Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384
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
 
Old 08-19-2014, 01:39 AM   #7
lesnod
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
[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.
 
Old 08-19-2014, 07:48 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,550

Rep: Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A wine question: Theming wine or changing wine's colour scheme PatrickMay16 General 8 12-17-2006 06:53 AM
a wine question? linuxgeek13 Linux - Software 6 10-10-2005 03:45 AM
Wine question DaBlade Linux - Software 1 05-02-2005 06:13 AM
A question about wine... Nikon01 Slackware 1 08-06-2004 11:35 AM
Wine Question? Gerardoj Linux - Software 4 07-24-2003 11:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration