Sponsored Content
Full Discussion: Problem in loading library
Operating Systems Linux Problem in loading library Post 302185935 by mansoorulhaq on Wednesday 16th of April 2008 06:09:14 AM
Old 04-16-2008
Problem in loading library

I am trying to run seagull tool. But when i start it following error shown

|E|Unable to open library file [libtrans_ip.so] error [/usr/local/bin/libtrans_ip.so: cannot restore segment prot after reloc: Permission denied]
|A|STOP log

Please help me how i can recover from it.
 

7 More Discussions You Might Find Interesting

1. Programming

loading a dynamic library in linux

is there a way to load a dynamic library in linux? I know tht in AIX u can do it using the loadAndInit() function. Please guide me (2 Replies)
Discussion started by: jacques83
2 Replies

2. Programming

Error while loading libstlport_gcc.so library

I am getting error while processing the below line : "DEPENDENCIES=$OMNIWORKS_PATH/tradewind/build/build_dg_c $(SET) "*.pcc" $(SET).pcctmp1 ".cc" h" ... --------------------------------------------- ! ---------------------------------------------------------------------------- ! Build rule... (0 Replies)
Discussion started by: shafi2all
0 Replies

3. Programming

gdb - loading symbols of shared library

I am debugging in gdb a program that dynamically loads libodbcinst.so. I want to debug the code from libodbcinst - I can break in it, see the source and step through it, but whenever I try printing a variable, I get (e.g. for the variable ret): No symbol "ret" in current context. In my program... (0 Replies)
Discussion started by: rimon
0 Replies

4. Programming

Loading mysql library error..

I am making cpp application with mysql databases. I m able to compile my application, but when i m executing the program, i m getting the loading errror as - error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory can any one... (2 Replies)
Discussion started by: ps_sach
2 Replies

5. Red Hat

RHEL5 reboot - error loading shared library

Hi All, I have RHEL 5 installed in my system. Something must has happened because when i reboot the server, it came with many error.. /usr/bin/rhgb-client -- error while loading shared libraries: libpopt.so.0. Can't open shared object files. No such file/directory It finnaly ends with the... (0 Replies)
Discussion started by: c00kie88
0 Replies

6. Programming

Loading the shared library I want

Hi All I have been given by someone else header file and a shared library to be used by my C++ application. Compilation is fine but when I try to executes the application I receive the following error. ./first: error while loading shared libraries: libMyLib.so.9: cannot open shared object file:... (2 Replies)
Discussion started by: manustone
2 Replies

7. AIX

Loading a shared library in AIX

Hi, I have an application running on AIX. The app is deployed on Webspshere server. Due to some reason, i have to make use of a third party library (Sigar API's) from my application. This library requires an .so file as well. Is there any location where i can put this *.so file and it will... (1 Reply)
Discussion started by: user_guest
1 Replies
rsm_memseg_import_put(3RSM)			      Remote Shared Memory Library Functions			       rsm_memseg_import_put(3RSM)

NAME
rsm_memseg_import_put, rsm_memseg_import_put8, rsm_memseg_import_put16, rsm_memseg_import_put32, rsm_memseg_import_put64 - write to a seg- ment SYNOPSIS
cc [ flag... ] file... -lrsm [ library... ] #include <rsmapi.h> int rsm_memseg_import_put(rsm_memseg_import_handle_t im_memseg, off_t offset, void *src_addr, size_t length); int rsm_memseg_import_put8(rsm_memseg_import_handle_t im_memseg, off_t offset, uint8_t datap, ulong_t rep_cnt); int rsm_memseg_import_put16(rsm_memseg_import_handle_t im_memseg, off_t offset, uint16_t datap, ulong_t rep_cnt); int rsm_memseg_import_put32(rsm_memseg_import_handle_t im_memseg, off_t offset, uint32_t datap, ulong_t rep_cnt); int rsm_memseg_import_put64(rsm_memseg_import_handle_t im_memseg, off_t offset, uint64_t datap, ulong_t rep_cnt); DESCRIPTION
When using interconnects that allow memory mapping (see rsm_memseg_import_map(3RSM)), standard CPU memory operations may be used for accessing memory of a segment. If, however, a mapping is not provided, then explicitly calling these functions facilitates writing to a segment. Depending on the attributes of the extension library for the interconnect, these functions may involve doing an implicit mapping before performing the data transfer. Applications can be made interconnect-independent with respect to segment writes by using these func- tions. The data access error detection is performed through the use of barriers (see rsm_memseg_import_open_barrier(3RSM)). The default barrier operation mode is RSM_BARRIER_MODE_IMPLICIT, which means that around every put operation open and close barrier operations are per- formed automatically. Explicit error handling may also be set up for these functions (see rsm_memseg_import_set_mode(3RSM)). The rsm_memseg_import_put() function copies length bytes from local memory with start address src_addr to the imported segment im_memseg beginning at location offset from the start of the segment. The rsm_memseg_import_put8() function copies rep_cnt number of 8-bit quantities from successive local memory locations pointed to by datap to successive locations starting from offset in the imported segment. The rsm_memseg_import_put16() function copies rep_cnt number of 16-bit quantities from successive local memory locations pointed to by datap to successive locations starting from offset in the imported segment. The offset must be aligned at half-word address boundary. The rsm_memseg_import_put32() function copies rep_cnt number of 32-bit quantities from successive local memory locations pointed to by datap to successive locations starting from offset in the imported segment. The offset must be aligned at word address boundary. The rsm_memseg_import_put64() function copies rep_cnt number of 64-bit quantities from successive local memory locations pointed to by datap to successive locations starting from offset in the imported segment. The offset must be aligned at double-word address boundary. The data transfer functions that transfer small quantities of data (that is, 8-, 16-, 32-, and 64-bit quantities) perform byte swapping prior to the data transfer, in the event that the source and destination have incompatible endian characteristics. RETURN VALUES
Upon successful completion, these functions return 0. Otherwise, an error value is returned to indicate the error. ERRORS
These functions can return the following errors: RSMERR_BAD_SEG_HNDL Invalid segment handle. RSMERR_BAD_ADDR Bad address. RSMERR_BAD_MEM_ALIGNMENT Invalid memory alignment for pointer. RSMERR_BAD_OFFSET Invalid offset. RSMERR_BAD_LENGTH Invalid length. RSMERR_PERM_DENIED Permission denied. RSMERR_INSUFFICIENT_RESOURCES Insufficient resources. RSMERR_BARRIER_UNINITIALIZED Barrier not initialized. RSMERR_BARRIER_FAILURE I/O completion error. RSMERR_CONN_ABORTED Connection aborted. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ |ATTRIBUTE TYPE |ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
rsm_memseg_import_get(3RSM), rsm_memseg_import_init_barrier(3RSM), rsm_memseg_import_open_barrier(3RSM), rsm_memseg_import_set_mode(3RSM), attributes(5) SunOS 5.11 8 Jun 2001 rsm_memseg_import_put(3RSM)
All times are GMT -4. The time now is 07:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy