| View previous topic :: View next topic |
| Author |
Message |
phate Apprentice


Joined: 22 Mar 2004 Posts: 298 Location: Aachen, Germany
|
Posted: Thu Dec 06, 2007 2:33 pm Post subject: linuxsampler from pro-audio overlay fails |
|
|
Hi,
I'm trying to compile linuxsampler from the pro-audio overlay as described in the wiki article.
The configure script fails with the following message:
| Code: | checking for NPTL bug... yes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You seem to have a buggy PTHREAD library! LinuxSampler would
probably crash due to this. Please report us the system you are
using and/or file a bug report to the bug tracking system of
your distribution.
If you have a NPTL-enabled glibc AND it was compiled for TLS as
well, you can try to circumvent this problem for now by setting
the environment variable LD_ASSUME_KERNEL="2.4.1" , which
should cause this test to pass.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
I'm afraid I don't really understand what it tries to tell me.
Can somebody help?
Many thanks! |
|
| Back to top |
|
 |
gimpel Advocate


Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Thu Dec 06, 2007 6:50 pm Post subject: |
|
|
emerge --info please _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
| Back to top |
|
 |
phate Apprentice


Joined: 22 Mar 2004 Posts: 298 Location: Aachen, Germany
|
Posted: Thu Dec 06, 2007 7:24 pm Post subject: |
|
|
I hope it helps:
| Code: | Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 AMD Athlon(TM) XP 2200+
Timestamp of tree: Mon, 26 Nov 2007 16:16:01 +0000
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo"
LANG="de_DE"
LINGUAS="de ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/pro-audio /usr/portage/local/personal"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa avi bash-completion beagle berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus divx dri dvb dvd dvdr dvdread eds emboss encode evo fam ffmpeg firefox fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv imagemagick isdnlog java joystick jpeg ladspa lame ldap mad midi mikmod mjpeg mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png pppd python quicktime readline real reflection samba sdl session spell spl sse ssl startup-notification svg tcpd tetex threads tiff transcode truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vidix vim-syntax vorbis win32codecs x86 xine xml xorg xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de ru" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
|
|
| Back to top |
|
 |
pilla Bodhisattva


Joined: 07 Aug 2002 Posts: 7731 Location: Underworld
|
Posted: Thu Dec 06, 2007 7:53 pm Post subject: |
|
|
Moved from Multimedia to Unsupported Software (overlay == not supported) _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
| Back to top |
|
 |
gimpel Advocate


Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Thu Dec 06, 2007 10:14 pm Post subject: |
|
|
| phate wrote: | I hope it helps:
| Code: | Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.22-gentoo-r9 i686)
[...] |
|
That glibc version isn't even in portage anymore, so maybe it really has/had buggy NPTL.
Try upgrading to current stable glibc, so 2.5-r4 or 2.6.1 - not sure which is marked stable on x86 _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
| Back to top |
|
 |
phate Apprentice


Joined: 22 Mar 2004 Posts: 298 Location: Aachen, Germany
|
Posted: Fri Dec 07, 2007 9:32 am Post subject: |
|
|
Thanks, I will try, but how is that possible, my system isn't even one month old  |
|
| Back to top |
|
 |
gimpel Advocate


Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Fri Dec 07, 2007 9:51 am Post subject: |
|
|
| phate wrote: | Thanks, I will try, but how is that possible, my system isn't even one month old  |
Not sure, maybe that was the version that came with the stage3 tarball and you didn't run emerge -uDav world since then? _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
| Back to top |
|
 |
phate Apprentice


Joined: 22 Mar 2004 Posts: 298 Location: Aachen, Germany
|
Posted: Fri Dec 07, 2007 3:35 pm Post subject: |
|
|
I've updated to 2.6.1 but it still fails with the same error message.  |
|
| Back to top |
|
 |
gimpel Advocate


Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Sun Dec 09, 2007 1:22 pm Post subject: |
|
|
Strange... well then try compiling linuxsampler with
| Code: | | LD_ASSUME_KERNEL="2.4.1" emerge -av linuxsampler |
I have not been able to reproduce this. _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
| Back to top |
|
 |
phate Apprentice


Joined: 22 Mar 2004 Posts: 298 Location: Aachen, Germany
|
Posted: Sun Dec 09, 2007 11:38 pm Post subject: |
|
|
Hello, thanks for that advise, but I've already tried this. It results in this error:
| Code: | | /usr/bin/python: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory |
When I solve this one (for instance by symlinking libpthread.so to libpthread.so.0) there's another error and after solving this one there's again another... I don't believe this is the way to solve this problem.
Further, the original error message tells: | Code: |
[...] You seem to have a buggy PTHREAD library! [...] |
What exactly is "the PTHREAD library"? I failed to find something like this in portage. |
|
| Back to top |
|
 |
gimpel Advocate


Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Mon Dec 10, 2007 8:42 am Post subject: |
|
|
| phate wrote: | Hello, thanks for that advise, but I've already tried this. It results in this error:
| Code: | | /usr/bin/python: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory |
When I solve this one (for instance by symlinking libpthread.so to libpthread.so.0) there's another error and after solving this one there's again another... I don't believe this is the way to solve this problem. |
Oops, I hope you didn't break your system when upgrading glibc. In general this shouldn't be a problem as glibc has good backwards compatibility. Anyways always keep a quickpkg of the old one.
| Quote: | Further, the original error message tells: | Code: |
[...] You seem to have a buggy PTHREAD library! [...] |
What exactly is "the PTHREAD library"? I failed to find something like this in portage. |
PTHREADS means POSIX threads, aka Native POSIX Threading Library (NPTL). You get those when you compile glibc with nptl useflag enabled, which is the default on modern systems.
Another user reported the same problem with linuxsampler on the pro-audio mailing list yesterday.
Meanwhile we believe that this must be a problem with linuxsampler's configure script. Geoff wrote a mail to linuxsampler dev ml, let's see what they think. _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
| Back to top |
|
 |
phate Apprentice


Joined: 22 Mar 2004 Posts: 298 Location: Aachen, Germany
|
Posted: Mon Dec 10, 2007 2:56 pm Post subject: |
|
|
| gimpel wrote: | | Oops, I hope you didn't break your system when upgrading glibc. In general this shouldn't be a problem as glibc has good backwards compatibility. Anyways always keep a quickpkg of the old one. |
I think I got this error even before upgrading glibc although I didn't make a quickpkg (notice to myself: remember this for the future!).
| gimpel wrote: | Another user reported the same problem with linuxsampler on the pro-audio mailing list yesterday.
Meanwhile we believe that this must be a problem with linuxsampler's configure script. Geoff wrote a mail to linuxsampler dev ml, let's see what they think. |
Thank you very much for this information. |
|
| Back to top |
|
 |
gimpel Advocate


Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
|
| Back to top |
|
 |
|