02-18-2014
I'm confused. Is there no way to link your library code on each platform? That way it will always run wherever it is ported to. It is not clear to me if this is what you are asking.
You seem to want to be able to link your code where ever it resides. You have two choices: link statically on the home machine, or compile to object code - ex: libfoo.a, on the home machine, then link a new PIC code library on each platform. Assuming your code links correctly against various installation of c++.
Static linking kind of defeats the purpose of a library. But it will work.
You cannot depend on version libstsdc++5 or 6 or whatever being available when you port your code. Lugging dynamic code from box to box is not always feasible. As you found out.
This User Gave Thanks to jim mcnamara For This Post:
8 More Discussions You Might Find Interesting
1. Programming
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)
Discussion started by: vino
5 Replies
2. HP-UX
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)
Discussion started by: dlundh
4 Replies
3. AIX
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)
Discussion started by: eternalflame
5 Replies
4. Ubuntu
Hi! I'm using Ubuntu Karmic and I lost libstdc++.so.6. Is there a way to recover it?..
Thanks in advance (0 Replies)
Discussion started by: Sapfeer
0 Replies
5. Red Hat
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)
Discussion started by: smartgupta
2 Replies
6. UNIX for Dummies Questions & Answers
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)
Discussion started by: kopper
0 Replies
7. HP-UX
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)
Discussion started by: DGPickett
0 Replies
8. HP-UX
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 CENTOS
raptor-config
raptor-config(1) General Commands Manual raptor-config(1)
NAME
raptor-config - script to get information about the installed version of Raptor
SYNOPSIS
raptor-config [--cflags] [--options] [--help] [--libs] [--libtool-libs] [--private-libs] [--prefix[=DIR]] [--version-decimal] [--version]
DESCRIPTION
raptor-config is a tool that is used to determine the compile and linker flags that should be used to compile and link programs that use
the Raptor RDF parser library.
OPTIONS
raptor-config accepts the following options:
--cflags
Print the compiler flags that are necessary to compile a raptor program.
--options
Print raptor compiled options such as parsers and serializers available, the XML parser used (if any) and the WWW retrieval library
used (if any).
--help Print a help message summarising usage.
--libs Print the linker flags that are necessary to link a raptor program. This excludes linker arguments used to build the raptor shared
library.
--libtool-libs
Print the path to the libtool file for raptor.
--private-libs
Print the linker flags that are necessary to build the raptor shared library. This option is not usually needed because the raptor
shared library has already been dynamically linked against these flags.
--prefix=PREFIX
If specified, use PREFIX instead of the installation prefix that raptor was built with when computing the output for the --cflags
and --libs options. This option must be specified before any --libs or --cflags options.
--version
Print the currently installed version of raptor on the standard output.
--version-decimal
Print the currently installed version of raptor as a decimal integer.
SEE ALSO
libraptor(3)
AUTHOR
Dave Beckett - http://www.dajobe.org/ <http://www.dajobe.org/>
2008-04-01 raptor-config(1)