NPTL - Can't do LD_ASSUME_KERNEL=2.4.x due to missing libs

Some of you may be aware that the jack audio connection kit does not play nicely with the NPTL glibc due to problems setting priorities. A workaround for this is, apparently, to set LD_ASSUME_KERNEL to 2.4.19 before starting jack, to use the old threading system. This doesn't work with arch's NPTL glibc - every program that I try to start after setting this env variable complains of missing libs, like libc.so.6 (I think), so I assume that arch differs from other nptl distros in not including the libraries required. Or something. Is there something I can do about this?

Ok - a glance at the jack-devel archives has solved this for me. Here is a patch I found there that works for me. I called it jacknptl.diff ...
--- client.c.old 2004-04-14 05:38:32.000000000 +0200
+++ client.c 2004-07-18 11:58:36.675323392 +0200
@@ -1342,6 +1342,11 @@
pthread_attr_init (attributes);
+ if (pthread_attr_setinheritsched (attributes, PTHREAD_EXPLICIT_SCHED)) {
+ jack_error ("cannot set inherit attributen");
+ return -1;
+ }
+
if (pthread_attr_setschedpolicy (attributes, SCHED_FIFO)) {
jack_error ("cannot set FIFO scheduling class for RT "
"thread");
And here is a modified PKGBUILD that will build jack with this patch...
# $Id: PKGBUILD,v 1.2 2004/07/13 23:17:44 tobias Exp $
# Maintainer: tobias <[email protected]>
# Contributor: Robert Emil Berge <[email protected]>
pkgname=jack-audio-connection-kit
pkgver=0.98.1
pkgrel=3t1
pkgdesc="a low-latency audio server"
depends=('libsndfile' 'bash')
makedepends=('doxygen')
install=jack-audio-connection-kit.install
url="http://jackit.sourceforge.net/"
backup=(/etc/conf.d/jack-audio-connection-kit)
source=(http://heanet.dl.sourceforge.net/sourceforge/jackit/$pkgname-$pkgver.tar.gz
$pkgname.d $pkgname.conf.d jacknptl.diff )
md5sums=('6ebd659a431e75b841fa5e0c397372ee' '4dcba5381e45bd449def164927854e48'
'0517b67ef912e2a84b6a15dea2dc2680')
build() {
cd $startdir/src/$pkgname-$pkgver/libjack
patch < $startdir/src/jacknptl.diff
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
install -D -m 755 ../$pkgname.d $startdir/pkg/etc/rc.d/$pkgname
install -D -m 644 ../$pkgname.conf.d $startdir/pkg/etc/conf.d/$pkgname
In case anyone wants that too.

Similar Messages

  • Can't resolve Azure publish recycle hang due to missing assembly Microsoft.WindowsAzure.Storage 2.1.0.3

    Some info on the project: I'm attempting to deploy a simple azure cloud service with a single web role that using ASP.Net Identity and stores the user information in Azure Tables instead of in a database. To accomplish this I'm using the acidentalfish.aspnet.identity.azure
    nugget package to help set up azure tables as a data source.
    Everything runs fine when I run it locally, however when I try to publish to the cloud service it gets stuck in a role recycling loop. None of the error messages provided are very helpful. After some digging online I attached a debugger to WaIISHost,
    and came across this error message:
    System.IO.FileLoadException: Could not load file or assembly 'Microsoft.WindowsAzure.Storage, Version=2.1.0.3,
    Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition
    does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Microsoft.WindowsAzure.Storage, Version=2.1.0.3, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
     ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the
    LoaderExceptions property for more information.
       at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
       at System.Reflection.RuntimeModule.GetTypes()
       at System.Reflection.Assembly.GetTypes()
       at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.GetRoleEntryPoint(Assembly entryPointAssembly)
       --- End of inner exception stack trace ---
       at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.GetRoleEntryPoint(Assembly entryPointAssembly)
       at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.CreateRoleEntryPoint(RoleType roleTypeEnum)
       at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.InitializeRoleInternal(RoleType roleTypeEnum)
    stack trace producing errors produced before this one, mostly revolving around Output endpoint SecureWebRoleExample:Endpoint1 not found, followed by the claim that some WindowsAzure.Plugin class could not be found, and before that, that some setting couldn't
    be found, but this error SEEMS like the most likely culprit.
    The odd thing to me here is that none of my code is referencing 2.1.0.3, and I do have binding redirects set up redirecting versions 1.0.0.0-3.0.3.0 to 3.0.3.0, and I can't find a reference to 2.1.0.3 anywhere, so I'm not sure where it's coming from or why
    it only has a problem when published.
    Really the main issue is that it's stuck in a role recycling loop, and after days of digging into it this is the ONLY lead I have, since none of the logs seem to have any pertinent errors, and none of the other processes I've debugged have provided any pertinent
    errors. If I'm not approaching this in the right way, or this error isn't as important as it seems, I would really like to know that too.
    Thanks.

    Hi BStephens,
    I didn't find acidentalfish.aspnet.identity.azure in Nuget pakeage. But I followed stuartleeks 'scode
    sample  and the
    blog  to reproduce your problem, but failed. 
    I follow this step:
    1.Create a project and install leeksnet.AspNet.Identity.TableStorage form Manage Nuget Package.
    2.Change connection string on webconfig and webrole setting
    3.Change public AccountController() code, like this :
    public AccountController()
    : this(
    new UserManager<ApplicationUser>(
    new UserStore<ApplicationUser>(RoleEnvironment.GetConfigurationSettingValue("IdentityStore"),
    id => id.GetHashCode().ToString()
    It works fine in my local. I used Storage explore to check login user info.
    But for this issue, I suggest you didn't need install Windows Azure Storage client library(https://www.nuget.org/packages/WindowsAzure.Storage/3.0.3
    ) from NuGet. If you installed it on your project, please remove it. Also, You could create a new project and try stuartleeks's blog step by step. Also, you could see this cloud service which I published on azure. You cloud access it use this IP(http://23.98.41.20:8080/
    Any new info, please let me know.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can't install ros-hydro-collada-parser due to "missing" header file

    Hello,
    I'm trying to install ros-hydro-desktop-full on this i686 arch laptop and I got stuck at compiling ros-hydro-collada-parser.
    Ros-hydro-collada-parser has collada-dom from aur as a dependency. I have installed it, and all the right files appear in the /usr/include/collada-dom2.4:
    [flyer@lapt ../ros-hydro-collada-parser]$ ls /usr/include/collada-dom2.4/
    1.4 1.5 dae dae.h dom.h modules
    The compilation fails with this:
    [ 50%] Building CXX object CMakeFiles/collada_parser.dir/src/collada_parser.cpp.o
    /home/flyer/.builds/ros-hydro-collada-parser/src/collada_parser/src/collada_parser.cpp:45:17: fatal error: dae.h: No such file or directory
    #include <dae.h>
    ^
    compilation terminated.
    CMakeFiles/collada_parser.dir/build.make:57: recipe for target 'CMakeFiles/collada_parser.dir/src/collada_parser.cpp.o' failed
    make[2]: *** [CMakeFiles/collada_parser.dir/src/collada_parser.cpp.o] Error 1
    CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/collada_parser.dir/all' failed
    make[1]: *** [CMakeFiles/collada_parser.dir/all] Error 2
    Makefile:116: recipe for target 'all' failed
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    The full output is here: http://pastebin.com/gAe8MNwb
    It works fine on my 64bit arch system. The collada-dom folder is exactly the same and cpp file (collada-parser.cpp) is exactly the same.
    How does this <dae.h> include work on my 64bit system and shouldn't it be <collada-dom2.4/dae.h> instead?
    Do you have any ideas of what could be the cause of this problem?

    Error "Installer Failed to Initialize" | Install desktop application | Windows

  • Help! (please :) I have a 1GB iPod that's loaded with music for which my computer can no longer find the original files-due to external mass storage crash during recent move. Is there a way to import iPod music back into my iTunes library on computer???

    Help! (please I have a 1GB iPod that's loaded with music for which my computer can no longer find the original files-due to external mass storage crash during recent move. Is there a way to import iPod music back into my iTunes library on computer???

    Or If there is any purchased music then you can try to transfer purchases
    http://support.apple.com/kb/ht1848
    If you're in the US you can reload purchased music
    http://support.apple.com/kb/ht2519

  • HT2292 gnature can't can't update new version of itunes due to error message saying invalid siupdate new version of itunes due to error messagecan't update new version of itunes due to error message saying invalid si saying invalid si

    can't update new version of itunes due to error message saying invalid si

    That suggests that the installer is getting damaged during the download.
    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • I would like to be able to edit MP4s in CS5.  I can not open the file. What am I missing?

    I would like to be able to edit MP4s in CS5.  I can not open the file. What am I missing?

    According to the publisher For GoSystem Tax, the 32-bit version of Internet Explorer 8, 9, or 10 is required.  Which means it can't be accessed from an iPad.  This seems weird.  I would recommend you contact the publisher.

  • DBCA can not use ASM for database storage due to following reason: Could no

    Hi
    I've a recently installed RAC11gR2(11.2.0.3) on HP-UX
    I installed Grid Infrastructure with grid user:
    Node1: # id grid
    uid=1100(grid) gid=1000(oinstall) groups=1031(dba),1021(asmdba)
    Node2: # id grid
    uid=1100(grid) gid=1000(oinstall) groups=1031(dba),1021(asmdba)
    I installed the Oracle Server with oracle user:
    Node1: # id oracle
    uid=1101(oracle) gid=1000(oinstall) groups=1031(dba),1021(asmdba),1033(oper)
    Node2: # id oracle
    uid=1101(oracle) gid=1000(oinstall) groups=1031(dba),1021(asmdba),1033(oper)
    All related Grid Infrastructure is functioning well in both nodes:
    $ crs_stat -t
    Name Type Target State Host
    ora.DATA.dg ora....up.type ONLINE ONLINE node03
    ora.FRA.dg ora....up.type ONLINE ONLINE node03
    ora....ER.lsnr ora....er.type ONLINE ONLINE node03
    ora....N1.lsnr ora....er.type ONLINE ONLINE node04
    ora.asm ora.asm.type ONLINE ONLINE node03
    ora.cvu ora.cvu.type ONLINE ONLINE node04
    ora.gsd ora.gsd.type OFFLINE OFFLINE
    ora....network ora....rk.type ONLINE ONLINE node03
    ora.oc4j ora.oc4j.type OFFLINE OFFLINE
    ora.ons ora.ons.type ONLINE ONLINE node03
    ora.scan1.vip ora....ip.type ONLINE ONLINE node04
    ora....SM1.asm application ONLINE ONLINE node03
    ora....03.lsnr application ONLINE ONLINE node03
    ora....d03.gsd application OFFLINE OFFLINE
    ora....d03.ons application ONLINE ONLINE node03
    ora....d03.vip ora....t1.type ONLINE ONLINE node03
    ora....SM2.asm application ONLINE ONLINE node04
    ora....04.lsnr application ONLINE ONLINE node04
    ora....d04.gsd application OFFLINE OFFLINE
    ora....d04.ons application ONLINE ONLINE node04
    ora....d04.vip ora....t1.type ONLINE ONLINE node04
    $
    The ASM instance are running well in both nodes
    Connected with oracle user, the listener has registered perfectly the ASM instance in each node:
    $
    $ lsnrctl status
    LSNRCTL for HPUX: Version 11.2.0.3.0 - Production on 16-MAY-2012 15:41:06
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for HPUX: Version 11.2.0.3.0 - Production
    Start Date 16-MAY-2012 15:24:19
    Uptime 0 days 0 hr. 16 min. 47 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /u01/app/grid/diag/tnslsnr/node03/listener/alert/log .xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=16.0.0.133)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=16.0.0.136)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    $
    $
    DATA & FRA disk group are created:
    $
    $ echo $ORACLE_SID
    +ASM1
    $
    $ asmcmd
    ASMCMD>
    ASMCMD> ls -lt
    State Type Rebal Name
    MOUNTED EXTERN N DATA/
    MOUNTED EXTERN N FRA/
    ASMCMD>
    ASMCMD>
    The big issue is... that the DBCA can not see the diskgroups. When I choose ASM Storage it can not see them. It shows the chart in blank and if i try to write the disk group, so the following message appears: can not use ASM for database storage due to following reason: Could not connect to ASM due to following error: ORA-01034 ORACLE not available
    What can be passing in this case... ?
    Thanks in advance

    Thanks both
    Really the problem initially was because of this:
    [INS-06006] Passwordless SSH connectivity not set up between the following node(s): [node1, node2]. CVU may reports "PRVF-4007 : User equivalence check failed for user "user"" for same error
    and I had to install node1 first and after node2 manually and perhaps for this the product was not well linked.
    I resolved the problem establishing the keys with the wizard and after copying the following files from node1 to node2
    /home/grid/.ssh -------> /home/grid/.ssh
    authorized_keys
    known_hosts
    This is the procedure if you run the wizard at the node1.
    The problem is that the wizard creates the keys incompletely...
    Thanks

  • How do I update my InDesign CS3 plugins? I received a document from a colleague created in CS3 and I can't open it due to missing plugins.

    How do I update my InDesign CS3 plugins? I received a document from a colleague created in CS3 and I can't open it due to missing plugins.

    The error message is below. When I get info on the file it says it's a CS3 file.

  • I can not login to a certain account due to an error stating cookie not enabled, however my 3rd party cookies are enabled. How do I correct this?

    I can not login to a certain account due to an error stating cookie not enabled, however my 3rd party cookies are enabled. How do I correct this?

    COOKIE_DOMAIN=.hackers
    I think this is the problem. .hackers is no valid cookie domain. You have to use something like:
    .xy.ab
    (two points)
    I fear it is not possible to correct this easiely. First change the hostname to something allowed e.g. hackers.com
    Then open an ldap browser and edit ou=iplanetamplatformservice,ou=services,dc=hackers
    There is an entry with an xml. Copy the xml to an editor, search for .hackers, change it to a valid domainname.
    Im not sure if a restart of the webserver is necessary here.
    Another idea: You could also try to set the cookie domain to solnce.hackers, maybe this is accepted, even if it is not a cookie domain. But I dont know if this works...
    hth
    Chris

  • Can't get pandora to play on Safari says missing plug-in.  What do I do?

    Can't get pandora to play on Safari says missing plug-in.  What do I do?

    Hi for a while mine didn't work also. The I remembered I had " click to flash"  extension enabled. When diabled, pandora worked fine. Duh.
    Happy listening.

  • Hi .. How can I get my photos on iphone, who went missing after restore.

    hi...how can I get my photos on iphone ,who went missing after restore..

    If they were in your camera roll when you lasted backed up your phone, restoring the backup should recover them.

  • How can i get iphone 4s to remind me of missed calls

    how can i get iphone 4s to remind me of missed calls

    No, not even your phone will give you a missed call sound.  It just shows a red number in the top right corner of the phone app if you have a missed call/voicemail.  If you open the phone app and see who called, that number will disappear.  So if you want to be reminded to call that person later, then you need to create a reminder in your reminder app to remind you at a specific day/time to call them back.  Hopefully that all makes sense.

  • Can i reorganise items within Reminders by due date?

    can i reorganise items within Reminders by due date? Currently it lists them in order of when I created them, but I'd rather order them by due date

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

  • Can someone please help? my address bar is missing. All i have in its place is a grayed out tab that will not allow me enter a URL.

    can someone please help? my address bar is missing. All i have in its place is a grayed out tab that will not allow me enter a URL.

    What browser?
    Is this a Mac Pro?

  • I've forgotten my questions confidentiality,but I can not be rest or via email due tomi sin the run way email has noticed that heen dsb hotmil and not hotmail

    I've forgotten my questions confidentiality,but I can not be rest or via email due tomi sin the run way email has noticed that heen dsb hotmil and not hotmail

    I've forgotten my questions confidentiality,but I can not be rest or via email due tomi sin the run way email has noticed that heen dsb hotmil and not hotmail

Maybe you are looking for