The earlier "Format error" produced due to my mistakes due to using 32-bit libstdc++.so.5 . Corrected that to link the 64-bit libstdc++.so.5 with a simplest program to print a "Hello World" message but even there the link happened for not just the version 5 which I provided but also linked some symbols to version 6 by default.
Last edited by Praveen_218; 02-20-2014 at 06:30 AM..
Reason: Removed some unwanted long messages ...
Our development machines have libstdc++.so.5 and libstdc++.so.6.
When we build our native code, it uses libstdc++.so.6. Is there anyway I can force it to use libstdc++.so.5 instead ?
$ ldd try
/usr/lib/libcwait.so (0x00655000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6... (5 Replies)
I got my hands on a HP9000/380 and need a (really) old version of HP-UX, like 7 or 8.
Is there any vendor who sells older versions? I did a quick search here and checked the FAQ and HPs HP-UX site but couldn't find anything. :confused:
Any help is appreciated! (4 Replies)
hello everybody i am new on the AIX environment and i have faced an issue while running pstill it can't find ibstdc++.a (libstdc++.so.5) although i have the latest GCC and libstdc 4.0.0 i guess.
So to resolve the problem i have got an old versions that i want to install on AIX:
... (5 Replies)
Hi all,
I am working on Red Hat Enterprise Linux ES release 4 (Nahant) with kernel 2.6.9-5 and try to install one application but unable to install it.
When I am trying to install it,it is throwing the following error--
To resolve it,I installed gcc 4.0.0 and when I am trying to see gcc... (2 Replies)
hi guys
I have to install a software that says have theses packages are required
Libaio.so.1
Libstdc++so.6
are these default packages for a Suse 11 installation for instance? or do I need to download them to avoid dependency issues
thanks a lot
---------- Post updated at 10:00 PM... (0 Replies)
It took me a while, but I found the right libsdc++ for the current free vnc 4.1.3, deep in this: http://mirrors.develooper.com/hpux/gcc-3.3.2-11.00.sd.bz
Merijn's HP-UX software Download Section for ITRC members is a rich source for old libraries.
So if you cannot find the right depot or... (0 Replies)
Lo guys, I've just started a new department in work and I'm going to be using HP-UX with Vi. The problem is I'm completely new to UNIX, I'm currently learning at work but I only have limited amounts of time on our dev systems. Is it possible to get a free/educational version any where? I don't... (4 Replies)
Discussion started by: john2012
4 Replies
LEARN ABOUT REDHAT
ld.so
ld.so(8) System Manager's Manual ld.so(8)NAME
ld.so, ld-linux.so* - dynamic linker/loader
DESCRIPTION
ld.so loads the shared libraries needed by a program, prepares the program to run, and then runs it. Unless explicitly specified via the
-static option to ld during compilation, all Linux programs are incomplete and require further linking at run time.
The necessary shared libraries needed by the program are searched for in the following order
o Using the DT_RPATH dynamic section attribute of the binary if present and DT_RUNPATH attribute does not exist.
o Using the environment variable LD_LIBRARY_PATH . Except if the executable is a setuid/setgid binary, in which case it is ignored.
o Using the DT_RUNPATH dynamic section attribute of the binary if present.
o From the cache file /etc/ld.so.cache which contains a compiled list of candidate libraries previously found in the augmented library
path. If, however, the binary was linked with -z nodeflib linker option, libraries in the default library paths are skipped.
o In the default path /lib, and then /usr/lib. If the binary was linked with -z nodeflib linker option, this step is skipped.
SYNOPSIS
The dynamic linker can be run either indirectly through running some dynamically linked program or library (in which case no command line
options to the dynamic linker can be passed and the dynamic linker which is stored in the .interp section of the program is executed) or
directly by running:
/lib/ld-linux.so.* [OPTIONS] [PROGRAM [ARGUMENTS]]
COMMAND LINE OPTIONS --list List all dependencies and how they are resolved.
--verify
Verify that program is dynamically linked and this dynamic linker can handle it.
--library-path PATH
Override LD_LIBRARY_PATH environment variable setting (see below).
--ignore-rpath LIST
Ignore RPATH and RUNPATH information in object names in LIST.
ENVIRONMENT
LD_LIBRARY_PATH
A colon-separated list of directories in which to search for ELF libraries at execution-time. Similar to the PATH environment vari-
able.
LD_PRELOAD
A whitespace-separated list of additional, user-specified, ELF shared libraries to be loaded before all others. This can be used to
selectively override functions in other shared libraries. For setuid/setgid ELF binaries, only libraries in the standard search
directories that are also setuid will be loaded.
LD_TRACE_LOADED_OBJECTS
If set to non-empty string, causes the program to list its dynamic library dependencies, as if run by ldd, instead of running nor-
mally.
LD_BIND_NOW
If set to non-empty string, causes the dynamic linker to resolve all symbols at program startup instead of deferring function call
resolval to the point when they are first referenced.
LD_WARN
If set to non-empty string, warn about unresolved symbols.
LD_DEBUG
Output verbose debugging information about the dynamic linker. If set to all prints all debugging information it has, if set to
help prints a help message about which categories can be specified in this environment variable.
LD_DEBUG_OUTPUT
File where LD_DEBUG output should be fed into, default is standard output. LD_DEBUG_OUTPUT is ignored for setuid/setgid binaries.
LD_VERBOSE
If set to non-empty string, output symbol versioning information about the program if querying information about the program (ie.
either LD_TRACE_LOADED_OBJECTS has been set, or --list or --verify options have been given to the dynamic linker).
FILES
/lib/ld-linux.so.* ELF dynamic linker/loader
/etc/ld.so.cache
File containing a compiled list of directories in which to search for libraries and an ordered list of candidate libraries.
/etc/ld.so.preload
File containing a whitespace separated list of ELF shared libraries to be loaded before the program. libraries and an ordered list
of candidate libraries.
lib*.so*
shared libraries
SEE ALSO ldd(1), ldconfig(8).
AUTHORS
Roland McGrath, Ulrich Drepper and others. This man page is derived from libc 5 ld.so manual page.
30 October 2000 ld.so(8)