LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Wine 32 bit on Slackware 13 64 bit problems: configure can't find some libraries (http://www.linuxquestions.org/questions/slackware-14/wine-32-bit-on-slackware-13-64-bit-problems-configure-cant-find-some-libraries-762987/)

ozanbaba 10-19-2009 11:55 AM

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

ponce 10-19-2009 03:04 PM

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)


ozanbaba 10-20-2009 12:40 PM

Quote:

Originally Posted by poncez (Post 3725269)
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.

ponce 10-20-2009 02:45 PM

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!

ozanbaba 10-21-2009 05:17 AM

Quote:

Originally Posted by poncez (Post 3726369)
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).

ponce 10-21-2009 06:50 AM

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.

ozanbaba 10-21-2009 10:14 AM

Quote:

Originally Posted by poncez (Post 3727148)
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.

Alien Bob 10-21-2009 11:04 AM

Quote:

Originally Posted by ozanbaba (Post 3727335)
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

ponce 10-21-2009 10:29 PM

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.

Alien Bob 10-22-2009 02:42 AM

Quote:

Originally Posted by poncez (Post 3727980)
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

ponce 10-22-2009 02:47 AM

yeah, you're right, I meant not thinking about what I was doing...

ponce 10-22-2009 09:03 AM

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.

ozanbaba 10-22-2009 09:21 AM

Quote:

Originally Posted by poncez (Post 3728527)
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.

ponce 10-22-2009 09:38 AM

Quote:

Originally Posted by ozanbaba (Post 3728555)
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 ;)

ozanbaba 10-22-2009 12:42 PM

Quote:

Originally Posted by poncez (Post 3728578)
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.


All times are GMT -5. The time now is 10:20 AM.