Missing lib libcwait.so in OEL 6.0

I updated a development machine from OEL 4.0 to OEL 6.0 (64 bit) and a script I used and worked before complains about a missing library: /usr/lib/libcwait.so
Any ideas how can I replace this library? Or maybe in OEL 6.0 there is a different lib doing the stuff that libcwait.so does?

The best solution is to know which program still requires this library and to find out if there is an update available.
Unfortunatly I do not have an old program that needs libcwait.so and therefore I don't know if the below will work, but perhaps it's worth a try. Please try this on a test machine.
rpm -ivh http://oss.oracle.com/projects/compat-oracle/dist/files/source/RedHat/compat-libcwait-2.1-2.src.rpm
cd /usr/src/redhat/SOURCES
tar zxvf compat-libcwait-2.1.tar.gz
cd compat-libcwait-2.1
gcc -fPIC -g -c -Wall libc_wait.c
gcc -shared -Wl,-soname,libcwait.so.2 -o libcwait.so.2.1  libc_wait.o
ln -s libcwait.so.2.1 libcwait.so.2
ln -s libcwait.so.2 libcwait.so
mv libcwait.* /usr/lib

Similar Messages

  • Missing-libs.sh: find ELF files referencing missing libs

    http://ino-waiting.gmxhome.de/softwares.html#s17
    This script does not use ldd(1), so it isn't vulnerable to related exploits.  It only reads encountered ELF files using readelf(1), parses out the NEEDED and RPATH sections, compares the result to the output of "ldconfig -p" and puts together a report.  It has options to automatically invoke some command (eg. the package manager pacman in our case) and to flag risky RPATHs (containing unsecure paths).
    It is also reasonably fast:
    $ time missing-libs.sh /bin/ /sbin/ /usr/bin/ /usr/sbin/ /l/bin/ /l/sbin/
    lrwxrwxrwx 1 root root 34 Oct 16 18:56 /l/bin/drawtiming -> /opt/drawtiming/_l_/bin/drawtiming
    /l/bin/drawtiming: 'libMagick++.so.2' must point to existing file: 'uncached, not existing or missing RPATH!'
    /l/bin/drawtiming: 'libMagickCore.so.2' must point to existing file: 'uncached, not existing or missing RPATH!'
    real: 4m13.6s user: 1m37.3s sys: 2m32.8s
    ie. a few minutes without anything cashed, this  is after booting.
    Missing-libs.sh is intended for people who have their own locally compiled programs using distribution supplied libraries.  In verbose mode, it lists all libs some lib or program depends on and recursively the libs these libraries depend on, down to libc, weeding out duplicates.
    regards, clemens fischer

    Handy! You might also want to look at the rebuildlist script the devs use, which is like this but run on a repo for specific libraries

  • ERROR: ld.so: object '/lib/libcwait.so' from LD_PRELOAD cannot be preloaded

    Hi Friends,
    i am using Linux X86-64 bit OS and i have 9.2.0.5 ebiz (32 bit)database
    Now i installed 9.2.0.8 (64 bit) in new home and migrated and upgraded the 32 bit database to 64 bit as well the version from 9.2.0.5 to 9.2.0.8
    when i start the application Tier services (11i)
    I am getting the following error
    ERROR: ld.so: object '/lib/libcwait.so' from LD_PRELOAD cannot be preloaded: ignored.
    please suggest the Fix.
    Regards,
    DB

    Hi,
    Please check the location of libcwait.so file and add that path in the .profile file of application OS user as follows:
    LD_PRELOAD=/usr/lib/libcwait.so; export LD_PRELOAD
    andre-login and re-test the issue
    refrence [ID 371344.1]
    -RK

  • 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.

  • Possibly missing RPMs from install or OEL 5.3

    Greetings Gurus ...
    I installed OEL 5.3 yesterday in preparation for using it as a SOA testbed ... I reviewed the prereqs for installing 10.2.0.1 and it calls for several pkgs to be installed:
    binutils-2.15.92.0.2-13.EL4
    compat-db-4.1.25-9
    compat-libstdc++-296-2.96-132.7.2
    control-center-2.8.0-12
    gcc-3.4.3-22.1.EL4
    gcc-c++-3.4.3-22.1.EL44
    glibc-2.3.4-2.9
    glibc-common-2.3.4-2.9
    gnome-libs-1.4.1.2.90-44.1
    libstdc++-3.4.3-22.1
    libstdc++-devel-3.4.3-22.1
    make-3.80-5
    pdksh-5.2.14-30
    sysstat-5.0.5-1
    xscreensaver-4.18-5.rhel4.2
    setarch-1.6-1
    I dumped my rpms out and checked and had to install 4: compat-db-4.1.25-9, gnome-libs-1.4.1.2.90-44.1, pdksh-5.2.14-30, and xscreensaver-4.18-5.rhel4.2.
    I searched and downloaded the four's latest version, and got three installed ok. I went to install gnome-libs-1.4.2-5.el5.i386.rpm and it errored out with the following:
    [root@jdlandryus RPMs]# rpm -ivh gnome-libs-1.4.2-5.el5.i386.rpm
    error: Failed dependencies:
    libIIOP.so.0 is needed by gnome-libs-1.4.2-5.el5.i386
    libORBit.so.0 is needed by gnome-libs-1.4.2-5.el5.i386
    libORBitCosNaming.so.0 is needed by gnome-libs-1.4.2-5.el5.i386
    libORBitutil.so.0 is needed by gnome-libs-1.4.2-5.el5.i386
    libgdk-1.2.so.0 is needed by gnome-libs-1.4.2-5.el5.i386
    libgdk_imlib.so.1 is needed by gnome-libs-1.4.2-5.el5.i386
    libglib-1.2.so.0 is needed by gnome-libs-1.4.2-5.el5.i386
    libgmodule-1.2.so.0 is needed by gnome-libs-1.4.2-5.el5.i386
    libgtk-1.2.so.0 is needed by gnome-libs-1.4.2-5.el5.i386
    libpng.so.2 is needed by gnome-libs-1.4.2-5.el5.i386
    [root@jdlandryus RPMs]#
    I researched and these libraries are installed with ORBit. As you can see from the following:
    ORBit2-2.14.3-5.el5
    ORBit2-devel-2.14.3-5.el5
    Ok ... anyone have any ideas on how to get around this?
    Thanks in advance.
    Jim

    there are two important dangerous things here:
    -do NOT mix up different repositories, unless they are complimentary (like EPEL), or you absolutely know what you are doing. it's easy to get broken dependencies with different repositories.
    -do NOT use nodeps. having to use nodeps means (quite probably) you are installing a broken dependency. there are scenario's imaginable in which you need this, but then you have to know exactly what the outcome is.

  • [solved] Gnome3 - installation issues (missing lib / missing bin)

    Hi everyone,
    i tried to install Gnome 3 from testing.
    However i ran into some problems.
    Problem 1:
    While installing I get some "gtk-update-icon-cache: command not found" errors. They come from install scripts that are executed while upgrading.
    I am 100% sure that the gtk-update-icon-cache binary is present in /usr/lib before executing pacman -Syu.
    After pacman the binary is gone, reinstalling the package helps. So it seems some package breaks something here. (Don't know exactly which though, because there are plenty installed when upgrading)
    Problem 2:
    Just for the records: I'm using arch x86_64 and my repo order is
    - testing
    - multilib-testing
    - community-testing
    - core
    - extra
    - community
    nothing else.
    Upgrading itself works fine. Gnome 3 starts and fallback mode (gnome-panel) works from what I can see. (starting programs, including nautlilus, works well)
    But when I try to start gnome-shell (with or without the --replace option) I get an "error while loading shared libraries: libgtk-x11-3.0.so.0: cannot open shared object file: No such file or directory".
    Sometimes it is libgdk instead of gtk.
    Additional information:
    Using an Lenovo x200 with intel graphics. intel-dri is installed.
    I used compiz in gnome2, could that arise some problems?
    It does not work with a new user account also.
    If you need any further information to help me, feel free to ask. I tried the search engine but couldn't find any results regarding gtk-update-icon-cache or libgtk-x11. (Searching the packages via google seems to show that no package contains these files?!)
    Thank you very much
    David
    Last edited by deekay (2011-04-13 21:35:41)

    thanks for your help, but unfortunately nothing changed!
    [root@x200 deekay]# pacman -Sy gtk-update-icon-cache gtk3
    :: Synchronising package databases...
    testing is up to date
    multilib-testing is up to date
    community-testing is up to date
    core is up to date
    extra is up to date
    community is up to date
    multilib is up to date
    warning: gtk-update-icon-cache-2.24.4-1 is up to date -- reinstalling
    warning: gtk3-3.0.8-1 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (2): gtk-update-icon-cache-2.24.4-1 gtk3-3.0.8-1
    Total Download Size: 0.00 MB
    Total Installed Size: 31.75 MB
    Proceed with installation? [Y/n]
    (2/2) checking package integrity [######################] 100%
    (2/2) checking for file conflicts [######################] 100%
    (1/2) upgrading gtk-update-icon-cache [######################] 100%
    (2/2) upgrading gtk3 [######################] 100%
    [root@x200 deekay]# pacman -Qm
    acct 6.5.5-1
    android-sdk r10-2
    anyremote-j2me-client-bin 4.18-1
    archlinux-themes-gdm 1.4-1
    autoconf-compat 2.13-2
    bootchart 0.9-9
    clutter-imcontext 0.1.4-1
    ddcxinfo-arch 0.8-2
    dropbox-experimental 1.1.7-1
    gdm-old 2.20.11-1
    gdm-themes 2.4-5
    gedit-latex-plugin 0.2-3
    gnomebaker 0.6.4-2
    gtkam 0.1.17-1
    hal-cups-utils 0.6.19-3
    hibernate-script 2.0-6
    hwd 5.5.2-1
    keepass 2.14-2
    lib32-dbus-glib 0.92-2
    lib32-libidl2 0.8.14-2
    lib32-libsasl 2.1.23-4
    libcanberra-gtk3 0.26-1
    libdownload 1.3-3
    libexif-gtk 0.3.5-9
    libpng12 1.2.44-1
    mozplugger 1.14.3-1
    nautilus-share 0.7.2-5
    package-query 0.7-1
    python-pyalsaaudio 0.6-2
    songbird-bin 1.8.0-1
    ssh2 2.0.13-6
    teamviewer 6.0.9224-4
    texmakerx 2.1-1
    tpb 0.6.4-2
    tpfan-admin 0.95-4
    tpfand 0.94-7
    tpfand-profiles 20090309-1
    tp_smapi 0.40-4
    ttf-ms-fonts 2.0-7
    ttf-vista-fonts 1-3
    ultrastardx 1.1-1
    violet 0.21.1-2
    virtualbox_bin 4.0.4-3
    wlan-ng26-utils 0.2.9-1
    wqy-microhei 0.2.0_beta-2
    yaourt 0.10.1-2
    yed 3.6.1.1-2
    Last edited by deekay (2011-04-13 21:18:08)

  • Missing lib folder

    Hi there
    I'm fairly new to Netbeans, just started using it 2 weeks ago.
    I've been working on a project which has been going fine... until last night! For no apparent reason Netbeans, is no longer writing the lib folder in my project dist folder, hence I cant run my jar file. It doesnt even write the usual readme.txt. All there is in the dist folder is the .jar file.
    I've no changed anything to do with project properties or classpaths so why should this be?
    And more importantly how do I fix it??
    Please help - I'm desperate!!
    Dave

    Problem solved. The file manifest.mf had vanished from the project. Replacing it with one copied from another project sorted it.

  • Kernel Panic after last full update - missing /lib

    hi all
    i have a problem witch my arch... i not use arch long time, because i work Adobe CS at my job. Any way after over month i boot my arch and i do normaly full update
    <code>pacman -Suy</code>
    and i get message about error
    <code>glibc: /lib is in file system</code>
    so i read on polish forum i need use --force, so i do that, and after restart i have Kernel Panic... so i try chroot by Ubuntu, i do this before a lot time but this time i get error message when i try chroot
    <code>chroot: cannot change root directory to /ar/bin/bashrc: No such file or directory</code>
    but /ar/bin/bash existing any way so i reali dont know what happened, but i detect directory /lib just have /modules/3.3.2.1-ARCH nothing more... and i this is a reaso of my problem,
    any idea how i can repair installations ??
    thanks

    It's a biggie, but read this thread (all of it) - there are instructions in there for fixing the forced upgrade, but also lots of other stuff to be aware of:
    https://bbs.archlinux.org/viewtopic.php?id=145006&p=1

  • Missing lib photos

    LR 2.0 on Vista 64, 8gb ram.
    I have a folder with 5500 photos in it that LR still reports as seeing but it won't display them all. I'm missing about 300 that I was just working on last night. I have cleared all filters and attributes and even did a text search by a name that I know is in there and it can't find them.
    The photos are still in the folder on the HD I checked through windows so I'm at a loss. This is the second time this has happened in LR2.0 and I don't remember how I got out of it last time. I don't want to re-import the entire catalog just to get at these missing photos.

    I've been suffering a similar thing. Launched LR2 today and found a number of folders from yesterday "missing".
    I'd dragged 'n' dropped these into another folder as part of my cataloguing yesterday. These were my out-takes
    I'd also dropped the renumbered images into a "Cataloged" folder that now has a bunch of images missing... now being reimported.
    It's as if the Catalogue has reverted to a time 2 hours before I exited LR and went to bed.
    Annoying to say the least. I'm worried, as this could have happened in a less obvious way leading to a loss of images from my catalogue. Sure they're still on the hard-drive, but I can't see them. It'd be very easy to miss the missing images completely from my workflow and not have the faintest idea where they've gone.
    As second issue is drag'n'dropping between folders. When looking at the top level folder, I should be able to see ALL images from the lower folders. However, I can only see SOME of them. I'd get it, if there were NONE, as it'd be a tick missing in preferences, but SOME!!! This WILL LEAD TO LOSS OF IMAGES!
    FYI Windows Vista Ultimate 3Gb RAM, loads of spare HD capacity.
    We need a fix ASAP!!!
    Al.

  • Missing Lib

    First of all and being my first post hi everyone
    I'm trying to run ddd and it complains about  libXm.so.2 couldn't be found.What package has that lib?

    Thanks alot Seems i've gotta learn how to use pacman a little better

  • How do I find the number of physical CPUs , number of cores in OEL ?

    In RHEL , it is easy to find the number of Physical CPUs and the number of cores within each CPU
    -- Ouput from Red Hat Enterprise Linux 5.4
    -- This a real machine. Not a VM
    $ cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 46
    model name      : Intel(R) Xeon(R) CPU           X7550  @ 2.00GHz
    stepping        : 6
    cpu MHz         : 1995.048
    cache size      : 18432 KB
    physical id     : 0              --------------> This will give info on the physical CPU
    siblings        : 8
    core id         : 0
    cpu cores       : 8              --------------> This will give the number of cores within a CPU
    apicid          : 0
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 11
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm
    bogomips        : 3990.09
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 44 bits physical, 48 bits virtual
    power management: [8]Output from Oracle Linux . Physical CPU Id and Number of Cores info is missing.
    -- Output from Oracle Enterprise Linux 6.3
    -- This is a virtual machine created using Virtual Box
    -- Processor ID , number of cores is missing
    $ cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 42
    model name      : Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz
    stepping        : 7
    cpu MHz         : 2298.627
    cache size      : 6144 KB
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 5
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc up rep_good nopl pni monitor ssse3 lahf_lm
    bogomips        : 4597.25
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:Is this the expected output in Oracle Enterprise Linux ? If so, how can I find the number of Physical CPUs and the number of cores within a Physical CPU in OEL?
    Is this info missing because I am running OEL in a virtual machine ?

    Oracle Linux behaves exactly like Red Hat in this matter an /proc/cpuinfo can be used for that. I guess this is because you have set up VirtualBox to only assign one virtual CPU to your guest Linux.
    processor     : 0
    vendor_id     : AuthenticAMD
    cpu family     : 15
    model          : 33
    model name     : Dual Core AMD Opteron(tm) Processor 275
    stepping     : 2
    cpu MHz          : 1000.000
    cache size     : 1024 KB
    physical id     : 0
    siblings     : 2
    core id          : 0
    cpu cores     : 2
    apicid          : 0
    initial apicid     : 0
    fpu          : yes
    fpu_exception     : yes
    cpuid level     : 1
    wp          : yes
    flags          : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good extd_apicid pni lahf_lm cmp_legacy
    bogomips     : 1994.47
    TLB size     : 1024 4K pages
    clflush size     : 64
    cache_alignment     : 64
    address sizes     : 40 bits physical, 48 bits virtual
    power management: ts fid vid ttpAnother example is this one, OEL 5.6 inside of VirtualBox but with 2 virtual CPUs assigned:
    [root@oel56proxy ~]# cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 23
    model name      : Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
    stepping        : 10
    cpu MHz         : 2064.652
    cache size      : 6144 KB
    physical id     : 0
    siblings        : 2
    core id         : 0
    cpu cores       : 2
    apicid          : 0
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 5
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni ssse3 lahf_lm
    bogomips        : 4129.30
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 23
    model name      : Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
    stepping        : 10
    cpu MHz         : 2064.652
    cache size      : 6144 KB
    physical id     : 0
    siblings        : 2
    core id         : 1
    cpu cores       : 2
    apicid          : 1
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 5
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni ssse3 lahf_lm
    bogomips        : 7494.15I have not tried to replicate this with a VM that only has one vCPU assigned but I guess that is why you only see one CPU and no processor_id and so on.
    Bjoern

  • Pidgin 2.6.1-1 broken (missing gstreamer0.10-base dep)

    Since bugtracking is down I'm reporting this here and I apologize if I missed something obvious.
    I've used pidgin for ages and the last update to 2.6.1 broke it for me:
    pidgin: error while loading shared libraries: libgstinterfaces-0.10.so.0: cannot open shared object file: No such file or directory
    From what I can tell the libgstinterfaces-0.10.so.0 lib is provided by the gstreamer0.10-base package which is NOT present directly nor indirectly in the deps section of the PKGBUILD of pidgin. The only package present is gstreamer0.10, NOT gstreamer0.10-base.
    Since I'm a minimal user I also didn't get gstreamer0.10-base installed as a dep of other package which may otherwise have been pulled as a dep in the case of users who install much more packages than me.

    tut wrote:
    wonder wrote:the package need a rebuild in a clean chroot
    what exactely do you mean by that? I have just upgraded to 2.6.1 and the same problem as described above.
    wonder probably means that the maintainer of the package (not you) needs to build it in a clean environment so that he doesn't forget to add some dependencies just because his desktop system already has them installed by other packages.
    As for the regular user, the easiest solution before it gets fixed is:
    pacman -S gstreamer0.10-base
    or
    pacman -S --asdeps gstreamer0.10-base
    The gstreamer0.10-base package owns the currently missing libs for pidgin, so just install it while it isn't included as a dep in the PKGBUILD.

  • [Resolved] Finding Libs in Repositories

    Hello All,
    I am trying hard, but starting to get frustrated about ArchLinux... Maybe someone can help me before I give up and try SuSE 10.3:
    I am having two issues, i.e. two threads:
    Thread 1)
    I installed ArchLinux a while back but rarely used it. So it is time to update the system but I am getting below error - of course, I have done "pacman -Sy" first.
    (Sorry, forgot to change locale. Rough and brief translation: "Error: Cannot resolve "fltk" dependecies ("gcc-libs" not in packet list). fltk requires gcc-libs.")
    [root@archlinux ~]# pacman -Su
    :: Starte komplette Systemaktualisierung...
    Warnung: sudo: Erzwungene Aktualisierung auf Version 1.6.9p5-1
    Loese Abhaengigkeiten auf...
    Fehler: Kann Abhaengigkeiten fuer "fltk" nicht aufloesen ("gcc-libs" ist nicht in Paketliste enthalten)
    Fehler: Konnte Vorgang nicht vorbereiten (Kann Abhaengigkeiten nicht erfuellen)
    :: fltk Benoetigt gcc-libs
    Searching for gcc-libs via "pacman -Ss gcc-libs" does not return a proper result.
    Similar, I tried to install Firefox as downloaded from Mozilla. I unpacked Firefox into ~/bin/firefox. When trying to start the browser I am getting an error for a missing lib. Again searching for the lib did not return any result. Where/how would I get the lib for ArchLinux? So this question relates to my first issue.
    [guest@archlinux firefox]$ ./firefox
    ./firefox-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
    To rephrase my question: How can I find missing libs in ArchLinux (in particular the ones listed above)? I tried pacman -Ss but no joy.
    Thanks in advance for any response!
    Jochen
    Last edited by schimpfj (2007-10-23 07:06:16)

    There is something wrong with your repos:
    $ pacman -Ss gcc-libs
    core/gcc-libs 4.2.2-1 (base)
    Runtime libraries shipped by GCC for C and C++ languages
    Did you read the frontpage news about the change from current to core? You might need to change some file in /etc/pacman.d/ .

  • Script to find missing library references

    When readline5 came out I decided to write a quick shell script to find any binary that references readline4.  Then I generalized it:
    #!/bin/bash
    # 2004/08/22 K. Piche Find missing library references.
    ifs=$IFS
    IFS=':'
    libdirs="/lib:/usr/lib:/usr/X11R6/lib:/opt/gnome/lib:/opt/qt/lib:/opt/mozilla/lib/mozilla-1.7:/opt/kde/lib"
    extras=
    # Check ELF binaries in the PATH and specified dir trees.
    for tree in $PATH $libdirs $extras
    do
    echo DIR $tree
    # Get list of files in tree.
    files=$(find $tree -type f)
    IFS=$ifs
    for i in $files
    do
    if [ `file $i | grep -c 'ELF'` -ne 0 ]; then
    # Is an ELF binary.
    if [ `ldd $i 2>/dev/null | grep -c 'not found'` -ne 0 ]; then
    # Missing lib.
    echo "$i:"
    ldd $i 2>/dev/null | grep 'not found'
    fi
    fi
    done
    done
    exit
    I successfully used it to find readline4 usage by guile and jack, and other older library references in other packages.  Hope the devs or somebody finds it useful.  And yeah it could pull the lib dirs from ld.so.conf or search the whole system but it is quick and dirty...
    PS. Without the /dev/null redirects ldd reports tons of libraries without the exec bit set.  Take it out if you want to see that stuff.

    so simple and SOOO USEFULL!!!!!!!
    thanx a lot, for this script :-)
    i detected also some more trouble:
    e.g.:
    /usr/bin/xml2ps:
    libgtkmm-2.0.so.1 => not found
    libgdkmm-2.0.so.1 => not found
    libatkmm-1.0.so.1 => not found
    libpangomm-1.0.so.1 => not found
    libglibmm-2.0.so.1 => not found
    /usr/bin/passepartout:
    libgtkmm-2.0.so.1 => not found
    libgdkmm-2.0.so.1 => not found
    libatkmm-1.0.so.1 => not found
    libpangomm-1.0.so.1 => not found
    libglibmm-2.0.so.1 => not found
    /opt/kde/bin/khangman:
    libknewstuff.so.1 => not found
    /opt/kde/bin/kpalmdoc:
    libreadline.so.4 => not found
    /opt/kde/bin/kpilot:
    libreadline.so.4 => not found
    /opt/kde/bin/kstars:
    libknewstuff.so.1 => not found
    /opt/kde/bin/klettres:
    libknewstuff.so.1 => not found
    /opt/kde/bin/kpilotDaemon:
    libreadline.so.4 => not found
    /opt/kde/bin/korganizer:
    libknewstuff.so.1 => not found
    libknewstuff.so.1 => not found
    /opt/gnome/bin/gnome-pilot-make-password:
    libreadline.so.4 => not found
    libreadline.so.4 => not found
    libreadline.so.4 => not found
    /opt/gnome/bin/gpilot-install-file:
    libreadline.so.4 => not found
    libreadline.so.4 => not found
    libreadline.so.4 => not found
    /opt/gnome/bin/gpilotd-session-wrapper:
    libreadline.so.4 => not found
    libreadline.so.4 => not found
    libreadline.so.4 => not found
    /opt/gnome/bin/ssconvert:
    libssl.so.0.9.6 => not found
    libcrypto.so.0.9.6 => not found
    /opt/gnome/bin/gnumeric:
    libssl.so.0.9.6 => not found
    libcrypto.so.0.9.6 => not found
    /opt/gnome/bin/gpilotd-control-applet:
    libreadline.so.4 => not found
    libreadline.so.4 => not found
    libreadline.so.4 => not found
    /usr/lib/xine/plugins/xineplug_inp_dvdnav.so:
    libdvdnav.so.1 => not found
    libdvdread.so.2 => not found
    libxineutils.so.0 => not found
    libxine.so.0 => not found
    /usr/lib/ruby/1.8/i686-linux/readline.so:
    libreadline.so.4 => not found
    /usr/lib/newpg/gpg-protect-tool:
    libgcrypt.so.1 => not found
    /usr/lib/avifile-0.7/xvid.so:
    libxvidcore.so.2 => not found
    /usr/lib/libpisock.so.8.0.5:
    libreadline.so.4 => not found
    -> for sure broken:
    jack, pilot-link, gnumeric, ruby, passepartout, xine-dvdnav,  kde (games, edu, pim, maybe lib and others)
    the script is still running - takes long to check 5GB of bins :-)
    EDIT: finished - list updated - going to post bugs

  • Compat-libcwait issue.

    Hi,
    After installing compat-libcwait-2.1-1.i386.rpm, every linux command comes up with
    ERROR: ld.so: object '/lib/libcwait.so' from /etc/ld.so.preload cannot be preloaded: \ ignored
    I have applied patch 4198954 which contains the new/patched compat-libcwait package. It is placing the library in the right directory.
    The following information might help
    % cat /etc/ld.so.preload
    /lib/libcwait.so
    % ls -l /usr/lib/libcwait.so /lib/libcwait.so
    ls: /usr/lib/libcwait.so: No such file or directory -rwxr-xr-x 1 root root 2784 Nov 3 12:13 /lib/libcwait.so
    So the right library is in the right location and /etc/ld.so.preload points to the right \ file.
    Everything performs ok but I keep getting this error.
    Please suggest some solution.
    Regards,

    Duplicate thread:
    Compat-libcwait issue
    Re: Compat-libcwait issue

Maybe you are looking for

  • Error in creating a directory

    Hi, I'm trying to create directory using sql command in apex. But it is throwing an error as 'Insufficient privileges' So whom I have to ask for privilege to create a directory? Thanks, Anoo..

  • Obiee 11g blocking.js script

    Hi , I am trying to implement blocking.js script for my analysis. and below is the code for claimsblocking.js script. I have placed the script in ..OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes folder function validateAnal

  • Windows Vista Not genuine

    After a number of years i have had seveal problems with this laptop one of which being that it will occasionally decided to do its best impersonation of a potato and cut the system login screen to black with no interaction aside from a mouse cursor.

  • How can i transfer a movie to my iphone 4s

    trying to transfer a movie to my iphome 4S

  • Application item value based on pl sql

    Hello Guys, I am pretty new to pl sql and have a basic question. I want to calculate the value of an app item (say p_X)using pl sql. Th logic is if( X1!=0) p_X = X1; else if (X2!=0) p_X=X2; and so on. Xi, X2 are app items. Please help .