LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-19-2009, 11:55 AM   #1
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 671

Rep: Reputation: 94
Wine 32 bit on Slackware 13 64 bit problems: configure can't find some libraries


now i have 64 bit computer i installed Slackware 23 64 bit on it. i followed Alien Bob's multi lib how to and installed needed libraries one by one. everything is fine expect wine configure script can not find some libraries needed: libgsm, libmpg123, libopenal, libxcomposite.

i have already installed 32 bit compatibility packages and used /etc/profile.d/32bit.sh as recommended in Alien Bob's howto.

configure --help does not really list anything for pointing for libraries.

any commends?

Ozan
 
Old 10-19-2009, 03:04 PM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,458

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
sorry, but have you tried with alien's slackbuild?

I built easily wine 1.1.31 with it (after having followed carefully alien's howto have a multilib slack), it hasn't asked any of that 32bit libs with the configure options from alien's slackbuild, it's here.

(btw I have that libs installed in their 64bit version from slackbuilds.org, libxcomposite 64bit should be in the standard X packages )

Code:
$ ldd /usr/bin/wine
        linux-gate.so.1 =>  (0xf770e000)
        libwine.so.1 => /usr/bin/../lib64/libwine.so.1 (0xf75d2000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf7587000)
        libc.so.6 => /lib/libc.so.6 (0xf7427000)
        libdl.so.2 => /lib/libdl.so.2 (0xf7423000)
        /lib/ld-linux.so.2 (0xf770f000)

Last edited by ponce; 10-19-2009 at 03:11 PM.
 
Old 10-20-2009, 12:40 PM   #3
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 671

Original Poster
Rep: Reputation: 94
Quote:
Originally Posted by poncez View Post
sorry, but have you tried with alien's slackbuild?

I built easily wine 1.1.31 with it (after having followed carefully alien's howto have a multilib slack), it hasn't asked any of that 32bit libs with the configure options from alien's slackbuild, it's here.

(btw I have that libs installed in their 64bit version from slackbuilds.org, libxcomposite 64bit should be in the standard X packages )

Code:
$ ldd /usr/bin/wine
        linux-gate.so.1 =>  (0xf770e000)
        libwine.so.1 => /usr/bin/../lib64/libwine.so.1 (0xf75d2000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf7587000)
        libc.so.6 => /lib/libc.so.6 (0xf7427000)
        libdl.so.2 => /lib/libdl.so.2 (0xf7423000)
        /lib/ld-linux.so.2 (0xf770f000)
still configure can't find libgsm, libmpg123, libopenal, libxcomposite.
 
Old 10-20-2009, 02:45 PM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,458

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
maybe the problem is that in the slackbuild the ARCH variable should be set to x86_64, as alien bob says:
Quote:
You will have to define the ARCH variable as 'x86_64' even though you are compiling a 32-bit program!
 
Old 10-21-2009, 05:17 AM   #5
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 671

Original Poster
Rep: Reputation: 94
Quote:
Originally Posted by poncez View Post
maybe the problem is that in the slackbuild the ARCH variable should be set to x86_64, as alien bob says:
did that, too. if it's not x86_64 it may not be compiled at all (from experience).
 
Old 10-21-2009, 06:50 AM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,458

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
which version of wine are you trying to compile? configure script of the latest, 1.1.31, doesn't ask for those libs...

this (EDIT: removed, not good) exactly is the slackbuild I use.

another thing that comes to mind is that you can have defined in your shell some LDFLAGS that confuse the slackbuild, you can check that with "set" command.

Last edited by ponce; 10-21-2009 at 11:09 PM.
 
Old 10-21-2009, 10:14 AM   #7
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 671

Original Poster
Rep: Reputation: 94
Quote:
Originally Posted by poncez View Post
which version of wine are you trying to compile? configure script of the latest, 1.1.31, doesn't ask for those libs...

this exactly is the slackbuild I use.

another thing that comes to mind is that you can have defined in your shell some LDFLAGS that confuse the slackbuild, you can check that with "set" command.
i am not insane to play with LDFLAGS. actually, no one should define LDFLAGS LIBS etc variables at all. i got latest fit version which is moving to 1.1.32 (unlike another project, wine development releases and fit tree are very stable and useful).

this script does similar to Alien Bob's script.

i'll tray Alien's script and script you pointed and post results

none of the scripts worked including one from SB. i for now i'll live without some sound.

Last edited by ozanbaba; 10-21-2009 at 11:03 AM. Reason: scripts results added
 
Old 10-21-2009, 11:04 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,303

Rep: Reputation: Disabled
Quote:
Originally Posted by ozanbaba View Post
i am not insane to play with LDFLAGS. actually, no one should define LDFLAGS LIBS etc variables at all.
I'll say this politely: bullshit.

Quote:
this script does similar to Alien Bob's script.
That looks similar because it is my script, except this part got removed:
Code:
# Copyright 2006-2009  Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
#   Permission to use, copy, modify, and distribute this software for
#   any purpose with or without fee is hereby granted, provided that
#   the above copyright notice and this permission notice appear in all
#   copies.
#
#   THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
#   WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
#   MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
#   IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
#   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
#   USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
#   ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
#   OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
#   OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
#   SUCH DAMAGE.
Needless to say, that removal goes against the copyright statement if you intend to distribute copies online, like posting on this forum...

Quote:
i'll tray Alien's script and script you pointed and post results
If you use a Slackware64 with multilib added, you will have to add that LDFLAGS line to your SlackBuild script, or else you need to edit your system configuration.

Eric
 
Old 10-21-2009, 10:29 PM   #9
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,458

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
sorry alien bob but I don't intend to redistribute it, I just posted for him to try it not thinking about it.
i don't delete stuff at beginnin of slackbuilds usually, but I have done it for personal easeness with this script because I neededed each time 3 page-down to start editing it -I cutted also all the changelog- I hope you understand (if there will be a next time I simply paste back the comments at the end as best practice)
I'll be more careful about it, sorry again.

Last edited by ponce; 10-22-2009 at 09:07 AM.
 
Old 10-22-2009, 02:42 AM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,303

Rep: Reputation: Disabled
Quote:
Originally Posted by poncez View Post
sorry alien bob but I don't intend to redistribute it, I just posted for him to try it not thinking about it.
FYI: Posting in a public forum (or even emailing to a friend) equals redistributing.

Eric
 
Old 10-22-2009, 02:47 AM   #11
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,458

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
yeah, you're right, I meant not thinking about what I was doing...
 
Old 10-22-2009, 09:03 AM   #12
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,458

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
ozanbaba, if you want to try them I prepared 3 compat32 packages (building them on slackware current with sbopkg and mpg123 build script from slacky.eu) and then converting them with alien bob's convertpkg-compat32): mpg123, openal and portaudio.
with those installed wine from git complains no more for me: libgsm is a codec for internet voice calls, you probably don't need it but, if you really need it, you can build it from slackbuilds.org.

Last edited by ponce; 10-22-2009 at 09:05 AM.
 
Old 10-22-2009, 09:21 AM   #13
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 671

Original Poster
Rep: Reputation: 94
Quote:
Originally Posted by poncez View Post
ozanbaba, if you want to try them I prepared 3 compat32 packages (building them on slackware current with sbopkg and mpg123 build script from slacky.eu) and then converting them with alien bob's convertpkg-compat32): mpg123, openal and portaudio.
with those installed wine from git complains no more for me: libgsm is a codec for internet voice calls, you probably don't need it but, if you really need it, you can build it from slackbuilds.org.
a program i use needs gsm codec. it's a old program so it make sense somehow.

i did slackpkg clean-system and installed compatibility packages again. then went and built libgsm for 64bit and 32bit, installed them. somewhere some place something went wrong (probability is that it was my mistake).

OpenAL is ubed by a lot of games now. i'll go same way for OpenAl and mpeg123, too.
 
Old 10-22-2009, 09:38 AM   #14
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,458

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
Quote:
Originally Posted by ozanbaba View Post
then went and built libgsm for 64bit and 32bit, installed them
you have to use convertpkg-compat32 (from alien bob's compat32-tools package) on built 32bit packages to create the corresponding *-compat32 packages and then install these last ones: if you don't use convertpkg-compat32 you'll end up overwriting things

Last edited by ponce; 10-22-2009 at 09:39 AM.
 
Old 10-22-2009, 12:42 PM   #15
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 671

Original Poster
Rep: Reputation: 94
Quote:
Originally Posted by poncez View Post
you have to use convertpkg-compat32 (from alien bob's compat32-tools package) on built 32bit packages to create the corresponding *-compat32 packages and then install these last ones: if you don't use convertpkg-compat32 you'll end up overwriting things
of course,

i rebuilt gsm, mpg123, openal for both 32bit and 64bit (convertpkg-compat32 removes headers so 64bit package is needed, too).

mpg123 on slackdvd extra folder does not include libs. that was a important confusion on me.

after cleaning up with slackpkg, and building and installing from scratch, it is fixed except libxcomposite which i believe unneeded for me.
 
  


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
Howto install 32-bit libraries on 64-bit Linux using yum shawn_t Linux - Server 16 07-13-2012 02:46 AM
[SOLVED] ati driver 32-bit compatibility for Slackware 64-bit multilib? vik Slackware 25 02-16-2010 07:06 PM
how do I install 32-bit compiler libraries onto a 64-bit machine? charleycat Linux - Software 1 08-16-2007 01:45 PM
64 bit vs 32 bit ubuntu 7.04 for WINE/wowc? Pfaust Ubuntu 3 05-23-2007 07:19 AM
chroot 32 bit to compile wine CVS (cannot find -lXext) 1veedo Linux - Software 0 01-14-2006 07:20 PM


All times are GMT -5. The time now is 01:23 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration