The following examples were taken from usenet posting at Deja.com
My point is not "Windows Rules! Linux stinks!" but that these shared code library problems have less to do with the OS than with programmer and/or user error. I tried to include a large enough selection of applications to show this can happen to any company.
Forum: alt.os.linux.mandrake
Thread: MuPAD under Mandrake 7.2 -- library error
Message 1 of 1466
Subject:MuPAD under Mandrake 7.2 -- library error
Date:01/05/2001
Author:Alasdair McAndrew <Alasdair.McAndrew@vu.edu.au>
Hi there,
I'm trying to install the mathematics package MuPAD 1.4.2 on my linux system running mandrake 7.2. I've done the installation correctly, but my attempts to start MuPAD give me the error message:
error in loading shared libraries: undefined symbol: __eh_pc
Now I have the same package loaded onto a RedHat 6.2 system, with the same libraries, and MuPAD works with no troubles.
I don't know what's going on here, or how to fix it.
If anybody has any ideas or advice, I'd be delighted to hear from you!
cheers, Alasdair McAndrew
Forum: comp.os.linux.misc
Thread: Missing libc6.1-1.so.2
Message 7 of 1466
Subject:Missing libc6.1-1.so.2
Date:12/23/2000
Author:Pat Traynor <pat@ssih.com>
I don't do a whole lot of development on this machine, so it may not be as up to date as it should, but I recently downloaded a piece of software that's failing due to a missing library:
error in loading shared libraries libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
If getting this library installed is a monumental project, it's just not that important. I have moderate (but not impressive) Linux experience, so please be gentle with me. =-)
FWIW, here is the contents of my /lib directory, if it tells you anything. And thanks in advance for any help.
<snip>
Forum: comp.lang.java.programmer
Thread: linux jdk1.3 shared library conflict
Message 12 of 1466
Subject:linux jdk1.3 shared library conflict
Date:12/26/2000
Author:ynb40 <ynb40@hotmail.com>
Hello;
I bought the two redhat 7.0 upgrade disks and ran the autoinstall which shows you the updates that it does. The kernel is now 2.2.5-15.
When I try to run forte4j with the jdk1.3 installation I get the following error:
error in loading shared libraries: /usr/pkgs/forte4j/jdk1.3/jre/lib/i386/native_threads/libhpi.so: symbol sem_init, version GLIBC_2.1 not defined in file libpthread.so.0 with link time reference
I wasn't having trouble running the jdk1.3 and forte4j/netbeans before the 7.0 install. What can I do at this point to get the jdk development environment working?
Forum: comp.databases.oracle.server
Thread: Linux Install Error
Message 23 of 1466
Subject: Linux Install Error
Date:12/17/2000
Author:Buck Turgidson <jc_buck@YAH00.com>
I did a clean install of RedHat 6.1 today, and am now getting an Oracle install error. It appears to be missing a shared library.
I was under the impression that no patches were necessary for 8.1.6 under RedHat 6.1
As far as I can tell, this is what it is choking on. It is in the make of sqlplus.
/usr/bin/ld: cannot open -lclntsh: No such file or directory
Any help would be appreciated
Forum: comp.os.linux.setup
Thread: X windows problems
Message 53 of 1466
Subject:X windows problems
Date:01/14/2001
Author:jmmckee <jmmckee@my-deja.com>
I mistakenly forced an RPM install of a shared library, while trying to install licq.
What resulted is a somewhat crippled system.
Non-GUI functions are normal.
Examples of GUI failures are as follows:
1) Load kppp, but do not establish a modem connection. OtherGUI applications can be loaded and run. Establish a ppp connection, and no additional applications will start. When an attempt is made to start Netscape, the disk chatters a bit, then nothing. Disconnect the modem connection and programs load as usual.
2) When Netscape attempts to start a plugin, the folling can occur: For a PDF document, a box titled "Netscape subprocess diagnostics" appears. Contents are: Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server Error: Can't open display: :0.0 Acrobat plugin. Could not launch Acrobat
<OK>
Followed by this: Netscape Error Could not load the plug-in 'nppdf.so" for the MIME type 'application/pdf' Make sure enough memory is available and that the plug-in is installed correctly.
<OK>
For a RealPlayer 7 file
Netscape: subprocess diagnostic (stdout/stderr) Xlib: Connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server Failed to open your X display. Please try setting your DISPLAY environment variable and try again
<OK>
I have attempted to reload multiple RPMs. I have tried to compare installed RPMs with those on distribution CD.
This is obviously something simple. But, I do not know where to look or what to look for.
System is Red Hat 6.2, with 96M of RAM
Can anybody offer me any suggestions?
Forum: comp.os.linux.misc
Thread: Linux Frequently Asked Questions with Answers (Part 6 of 6)
Message 1 of 1
Subject:Linux Frequently Asked Questions with Answers
Date:01/14/2001
Author:rkiesling <rkiesling@mainmatter.com>
10.23. programname: error in loading shared libraries: lib xxx..so. x: cannot open shared object file: No such file or directory.
A message like this, when the program that you're trying to run uses shared libraries, usually means one of two things: the program was either compiled on a machine that had a different set of libraries or library paths than yours; or you've upgraded your libraries but not the program.
Executable programs that are linked with dynamic libraries, expect the full pathname of each of the library files it requires. So do the shared libraries, if they rely on other libraries. This is so the shared object dependencies remain as unambiguous as possible, and also as a security measure.
Short of recompiling the executable file for the libraries on the system--probably the most desirable alternative in the long run--you can try to determine which libraries the executable file needs with the command: "ldd programname." The output will be a list of the shared libraries on the system that the program needs to run, as well as the missing libraries. You can then add the library packages, or if the libraries already exist in a different directory, you can create a symbolic link so the program can find it. For example, if the program requires /usr/lib/libncurses.so.2, and your machine has /lib/libncurses.so.2, you can create a link where the program expects to find the library; e.g.:
# cd /usr/lib && ln -s /lib/libncurses.so.2 .
You should note, however, that creating library links like these should be considered a security risk, and the additional links you create will not be compatible with future upgrades. It's simply a quick fix for backward compatibility.
Also, it may take some guesswork to determine in exactly which of the system library directories the program expects to find a shared library file, because ldd will not list the paths of libraries it can't find. A program most likely will tell the run-time linker, /lib/ld.so, to look for shared libraries in /lib, /usr/lib, /usr/local/lib, or /usr/X11R6/lib, if it's an X client. But that doesn't mean that libraries can't be installed elsewhere. It helps to have some idea of the original library configuration before proceeding.
Also be sure to run ldconfig after creating the symbolic link, so that ld.so has an updated view of the system's libraries. You should also make certain that all of the library directories are listed in /etc/ld.so.conf, and perhaps in the LD_LIBRARY_PATH environment variable.
10.24. "init: Id "x" respawning too fast: disabled for 5 minutes."
This means, generally, that the system is booting by default into runlevel 5, which enables a graphical login via xdm/kdm/ gdm/whatever program, and can't locate it.
In other situations, "Id" might indicate the absence of another program.
The temporary solution in this case is to switch to runlevel 3, a standard text-mode login, by typing "telinit 3." To make the change permanent, set the correct runlevel (1,2,3, or 5) in the initdefault line of /etc/inittab.
Some systems, however, rewrite /etc/inittab when booting. In that case, refer to the init man page, and/or the settings in /etc/sysconfig/init.
Forum: gnu.gcc.help
Thread: Problems with configure and xemacs
Message 93 of 1466
Subject:Problems with configure and xemacs
Date:12/09/2000
Author:Henning Eiden <uzsckr@uni-bonn.de>
hi, preface: i allready posted this to comp.emacs.xemcas, but nobody there was able to solve the following problem.
i tried to build gtk-xemacs (the latest version). each time the configure script runs into a panic. the config.log-tail shows the following error message:
[..]
; return 0; }
configure:12032: checking for db_open in -ldb
configure:12048: gcc -o conftest -g -O3 -Wall
-Wno-switch
conftest.cconfigure:12187: checking for dlfcn.h
configure:12195: gcc -E conftest.c >/dev/null
2>conftest.out configure:12226: checking for dlopen in
-ldl
configure:12242: gcc -o conftest -g -O3 -Wall
-Wno-switch
conftest.cconfigure:12472: checking how to build a
shared library configure:12563: checking for dlerror
configure:12589: gcc -o conftest -g -O3 -Wall
-Wno-switch
conftest.cconfigure:12629: gcc -o conftest -g -O3 -Wall
-Wno-switch conftest.c./configure: line
12652: 13925 Segmentation fault ./conftest
configure: failed program was:
#line 12625 "configure"
#include "confdefs.h"
int main(int c,char *v[]){return 0;}
---------------------------------------------
the configure script shows this message:
---------------------------------------------
[..]
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking how to build a shared library... lflags:
-shared cflags: -fPIC checking for dlerror... yes
*** PANIC *** The C compiler can no longer build working
executables. *** PANIC *** Please examine the tail of
config.log for runtime errors. *** PANIC *** The most
likely reason for this problem is that configure ***
PANIC *** links with shared libraries, but those
libraries cannot be
*** PANIC *** found at run time.
*** PANIC ***
*** PANIC *** On a Linux system, edit /etc/ld.so.conf
and re-run ldconfig.
*** PANIC *** On other systems, try telling configure
where to find the *** PANIC *** shared libraries using
the --site-runtime-libraries option
*** PANIC ***
*** PANIC *** Another way to shoot yourself in the foot
is to specify *** PANIC *** --with-FEATURE when FEATURE
is not actually installed *** PANIC *** on your system.
Don't do that.
----------------------------------------------------
the error appears even if i run configure with out any options set.
my box runs on the suse 7.0 with gtk 1.2.8. the error also appears with standard xemacs 21.1.12 but not with other applications.
i reinstalled autoconf, make, headerfiles, libraries, gcc 2.95 and other stuff again, but nothing has changed.
Hope you can help me.
bye
Forum: comp.databases.ibm-db2
Thread: Problems installing DB2 7.1 on Linux
Message 1 of 3
Subject:Problems installing DB2 7.1 on Linux
Date:11/10/2000
Author:Bill Baldasti <baldasti@my-deja.com>
Hello --
I'm hoping somebody has witnessed a similar problem and can give me a hand.
I'm attempting to install DB2 7.1 Personal Edition under Linux (RedHat 7.0 to be exact).
I've extracted the tarball correctly (-xvf) and everything seems to be OK, I've always correctly installed the latest version of the Korn shell which DB2's install scripts require.
Here's my problem: When I run the "db2setup" program as per the installation instructions, I receive the following error: .
/db2inst: error while loading shared libraries: libncurses.so.4: cannot open shared object file: No such file or directory
Can anyone please offer any advice on how to handle this problem? What's going wrong?
Thanks for any/all help! regards; ..Bill
Forum: muc.lists.debian.user
Thread: how to fix this broken system?
Message 187 of 1318
Subject:how to fix this broken system?
Date:10/28/2000
Author:chris edwards <cedwards@rbdc.rbdc.com>
Greetings, I can't remember the exact error, but something involving gmc caused my system to become unusable. When i boot linux up now, i get this error message:
init: unable to load shared library: /usr/lib/libc6.so:, undefined symbol GLIBC_2.0
i've tried using the debian rescue but that hasn't worked. is there any way i can save my system (or at least get my data and do a <sigh> reinstall)?
cheers, chris / cedwards@rbdc.com
Forum: comp.sys.sun.admin
Thread: can't install StarOffice 5.2 on Solaris 7
Message 217 of 1318
Subject:can't install StarOffice 5.2 on Solaris 7
Date:09/30/2000
Author:caixj <caixj@my-deja.com>
Hi,
I got the following error when try to install StarOffice 5.2 on Solairs 7(sparc):
"Please install the patch 'Shared library patch for C++ (Version 5)' or contact your system administrator".
However, I have installed the patch 106327-04. Any hints and suggestions?
Cai Xuejun