Sponsored Content
Operating Systems Solaris difference between RPATH and normal linking while building Post 302198423 by mobydick on Friday 23rd of May 2008 01:08:31 AM
Old 05-23-2008
difference between RPATH and normal linking while building

while building in solaris and going for dynamic linking

whats the difference or advantage or disadvantage in
using RPATH [-R] vs [-L] while linking package and dependency libraries


i need a little explanation about this RPATH option specially and the difference with normal linking using -L
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Any difference between the CLI of Mac OS X and normal UNIX?

Any? (11 Replies)
Discussion started by: edward
11 Replies

2. Programming

Linking problem while linking to shared library

Hi I'm getting ld: fatal: option -h and building a dynamic executable are incompatible ld: fatal: Flags processing errors When I run ld -shared -L/usr/dt/lib -lDtSvc -o builtin.so Workspace.o after running gcc -fPIC -I/usr/X11R6/include -I/usr/dt/include -c Workspace.c I'm... (6 Replies)
Discussion started by: laho
6 Replies

3. Programming

how to link without using ld -rpath

Hello, I'm tryign to compile a sample code which uses OTL(Oracle, Odbc and DB2-CLI Template Library Programmer's Guide). I get this error while compiling the source file: $ g++ foo.cpp -o foo -I /tmp/ -I$ORACLE_HOME/rdbms/demo -I$ORACLE_HOME/rdbms/public -L$ORACLE_HOME/lib/ -lclntsh... (0 Replies)
Discussion started by: xyzt
0 Replies

4. Programming

Difference between system calls and normal functions in C

hello all, i'm a beginner in linux programming. I need to know what is the difference between system calls and normal functions like fopen, fread etc in C?Also how to set permissions by using open system call? (11 Replies)
Discussion started by: aarathy
11 Replies

5. UNIX for Dummies Questions & Answers

Difference between normal Execute permission and GUID

Hi, Any can explain the difference between the normal execute permission for the file and GUID of the file. Since the normal execute permission has right to execute file why there is need of providing GUID for the same file. Also share some examples for SUID and SGID programs. Regards... (3 Replies)
Discussion started by: ksgnathan
3 Replies

6. Red Hat

Difference between %install and %files section in rpm building ?

Hello, I am just a newbie and have very recently started building rpms, i build a very simple rpm that packaged 3 files and everything worked very smoothly. However to be very honest i am not very much clear with what is the difference between %install and %files section. I mean like we... (0 Replies)
Discussion started by: Rohit Bhanot
0 Replies

7. Shell Programming and Scripting

awk to calculate difference of split and sum the difference

In the awk I am trying to subtract the difference $3-$2 of each matching $4 before the first _ (underscore) and print that value in $13. I think the awk will do that, but added comments. What I am not sure off is how to add a line or lines that will add sum each matching $13 value and put it in... (2 Replies)
Discussion started by: cmccabe
2 Replies
dlerror(3C)															       dlerror(3C)

NAME
dlerror - get diagnostic information SYNOPSIS
[flag ... ] file ... [library] ... DESCRIPTION
is one of a family of routines that give the user direct access to the dynamic linking facilities (using the option on the compiler or com- mand line). returns a null-terminated character string (with no trailing newline) that describes the last error that occurred during dynamic linking processing. If no dynamic linking errors have occurred since the last invocation of returns NULL. Thus, invoking second time, immediately following a prior invocation, results in NULL being returned. MULTITHREAD USAGE
This routine is thread-safe. WARNINGS
The messages returned by may reside in a static buffer that is overwritten on each call to Application code should not write to this buf- fer. Programs wishing to preserve an error message should make their own copies of that message. SEE ALSO
dlclose(3C), dlopen(3C), dlsym(3C). Texts and Tutorials: (See the option) (See manuals(5) for ordering information) dlerror(3C)
All times are GMT -4. The time now is 04:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy