02-28-2009
LD_LIBRARY_PATH can work. But it is useful to remind that the library may be corrupted or incompatible
Thanks
10 More Discussions You Might Find Interesting
1. Linux
Hi All,
I created the share object file using
gcc -shared -fpic mypp.cpp -o myp.so
but, pls tell me how to link this .so file to my client program.
Thanks (0 Replies)
Discussion started by: sarwan
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I want to copy a file from unix machine to a shared windows directory.
i tried using the ftp command but i was able to transfer the file only to my local directory.
Is there any way we can transfer/copy the files from unix to windows shared directory..........
Please help.
Thanks (5 Replies)
Discussion started by: sireesha15
5 Replies
3. UNIX for Advanced & Expert Users
how to directly open a last modified file in a directory? Please help (5 Replies)
Discussion started by: apsprabhu
5 Replies
4. Red Hat
We are trying to install third party software on this unix server...
Here is the error message we are getting...
error while loading shared libraries: libodbc.so.1: cannot open shared object file: No such file or directory
It seems like odbc driver is not installed...
>rpm -q unixODBC... (1 Reply)
Discussion started by: govindts
1 Replies
5. Red Hat
Hi,
I would like to create a shared object ( .so).
This shared object
1. uses the functions from a library.
2. Also it should be able to use the global variable in an app
To achieve this what should I do ? 1) To use the functions in the library should I give the -ld option while... (1 Reply)
Discussion started by: rvan
1 Replies
6. Shell Programming and Scripting
Hi,
I am running this command through a shell script and getting the error mentioned in the subject line:
testing.awk -f x.txt TNAME
My testing.awk file contains something like
++++++++++++++++++
#!/usr/bin/awk -f
BEGIN{
TAB_NAME="INSERT_ONE_" ARGV ;
}
if ( $1=="JAM_ONE" &&... (1 Reply)
Discussion started by: kunwar
1 Replies
7. Shell Programming and Scripting
I am seeking help on one script that I created to celan up database audit files. The error returned is
$./clean_audit.sh: /opt/oracle/logs/audit_clean.log: cannot open The same script is working on other 2 or 3 servers. But not working on other 4 servers. All servers are Oracle Linux. Here is... (21 Replies)
Discussion started by: duke0001
21 Replies
8. Shell Programming and Scripting
Hello folks!
I am new to Shell and awk scripting.
This is my shell script that receives a string as an input from the user from the stdin.
#!bin/sh
printf "Enter your query\n"
read query
cmd=`echo $query | cut -f 1 -d " "`
input_file=`echo $query | cut -f 2 -d " "`
printf $input_file... (10 Replies)
Discussion started by: radiohead_
10 Replies
9. UNIX for Dummies Questions & Answers
Got this error when starting nrpe
Starting nagios-nrpe: nagios-nrpe/usr/sbin/nrpe: error while loading shared libraries: libssl.so.0.9.8:
Pls advise
---------- Post updated at 04:05 PM ---------- Previous update was at 04:05 PM ----------
os is Debian lenny
---------- Post updated... (1 Reply)
Discussion started by: lhareigh890
1 Replies
10. Linux
Hi,
While running tcpdump command on my Fedora 16 machine I am get shared library issue.
# tcpdump
tcpdump: error while loading shared libraries: libcrypto.so.6: cannot open shared object file: No such file or directory
# which tcpdump
/usr/software/sbin/tcpdump
I have tried... (3 Replies)
Discussion started by: muzaffar.k
3 Replies
LEARN ABOUT OPENSOLARIS
cpc_version
cpc_version(3CPC) CPU Performance Counters Library Functions cpc_version(3CPC)
NAME
cpc_version - coordinate CPC library and application versions
SYNOPSIS
cc [ flag... ] file... -lcpc [ library... ]
#include <libcpc.h>
uint_t cpc_version(uint_t version);
DESCRIPTION
The cpc_version() function takes an interface version as an argument and returns an interface version as a result. Usually, the argument
will be the value of CPC_VER_CURRENT bound to the application when it was compiled.
RETURN VALUES
If the version requested is still supported by the implementation, cpc_version() returns the requested version number and the application
can use the facilities of the library on that platform. If the implementation cannot support the version needed by the application,
cpc_version() returns CPC_VER_NONE, indicating that the application will at least need to be recompiled to operate correctly on the new
platform, and may require further changes.
If version is CPC_VER_NONE, cpc_version() returns the most current version of the library.
EXAMPLES
Example 1 Protect an application from using an incompatible library.
The following lines of code protect an application from using an incompatible library:
if (cpc_version(CPC_VER_CURRENT) == CPC_VER_NONE) {
/* version mismatch - library cannot translate */
exit(1);
}
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
cpc(3CPC), cpc_open(3CPC), libcpc(3LIB), attributes(5)
NOTES
The cpc_version() function exists for binary compatibility only. Source containing this function will not compile. This function is obso-
lete and might be removed in a future release. Applications should use cpc_open(3CPC) instead.
The version number is used only to express incompatible semantic changes in the performance counter interfaces on the given platform within
a single instruction set architecture, for example, when a new set of performance counter registers are added to an existing processor
family that cannot be specified in the existing cpc_event_t data structure.
SunOS 5.11 28 Mar 2005 cpc_version(3CPC)