8 More Discussions You Might Find Interesting
1. Programming
I had it working but i screwed up something and now i get
me@mymachine:~$ LD_PRELOAD=/home/me/libf1.o ldd FCaller
ERROR: ld.so: object '/home/me/libf1.o' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/home/me/libf1.o' from LD_PRELOAD cannot be preloaded: ignored.
ERROR:... (3 Replies)
Discussion started by: NetworkLearning
3 Replies
2. Solaris
I have always seen a Solaris 10 32 bit version..Is there an x86_64?? (2 Replies)
Discussion started by: kirtikjr
2 Replies
3. UNIX for Advanced & Expert Users
Dear Fellows;
As being new to linux, i have tried to synamically load a custom library which overrides some system calls like conncet(), socket() etc.... for custom purposes.
It works well, if declaring the environment path LD_PRELOAD and execution of the application to be override... (0 Replies)
Discussion started by: mzeeshan
0 Replies
4. Shell Programming and Scripting
Hi, experts,
I am trying to intall Perl/Tk module (Tk-804.028 ) into Perl5.6.1, however, the directory structure seems to be different from i386 than x86_64 and the installation keeps failing. Is this a known/common issue? Or does anyone has any workaround for this?
~* Dniz *~ (0 Replies)
Discussion started by: dniz
0 Replies
5. UNIX for Advanced & Expert Users
well i know what LD_PRELOAD is. Now suppose i have hooked a function XDrawString in the my library (Mylib.so.1) and then used the command
export LD_PRELOAD=/path/mylib.so.1
Now suppose i open Xeditor by typing 'xeditor' in the console, my library is geting used, so i knw that this applilcation is... (3 Replies)
Discussion started by: manchester
3 Replies
6. UNIX for Advanced & Expert Users
Hi,
What does LD_PRELOAD variable signify on HP-UX?
thanks in advance,
-Ashish (4 Replies)
Discussion started by: shriashishpatil
4 Replies
7. HP-UX
Hi ,
Is LD_PRELOAD supported on HP UX?
I am having issues when i export the below
export LD_PRELOAD=/usr/local/vertex/commtax_1.0.16/64bit/lib/libctq.so
ldd /usr/local/vertex/commtax_1.0.16/64bit/lib/libctq.so
/usr/lib/hpux64/dld.so: Unable to find library 'libodbc.so'.
Killed
Can... (2 Replies)
Discussion started by: psreddy1234
2 Replies
8. Linux
hello everybody i want to install some package on AIX 5.3
the name of rpm is something like libaio-0.3.106-4.2.x86_64.rpm is it a good rpm for AIX 5.3
my question is is AIX and x86_64 mean the same thing !
thanks (2 Replies)
Discussion started by: eternalflame
2 Replies
libmlib_mt(3LIB) libmlib_mt(3LIB)
NAME
libmlib_mt - multi-threaded mediaLib
SYNOPSIS
cc [ flag... ] file... -lmlib_mt -lmlib [ library... ]
#include <mlib.h>
Interfaces in this library provide functions for multimedia processing. Multi-threaded (MT) mediaLib is a software layer developed on top
of mediaLib using OpenMP. When it is used with a large data set on a multi-processor system, MT mediaLib will partition data into subsets
and process the subsets in parallel, thus greatly improving performance of applications that use mediaLib.
INTERFACES
The shared object libmlib_mt.so.2 provides the same public interfaces as those defined in libmlib(3lib). See intro(3) for additional infor-
mation on shared object interfaces.
There are two ways to use MT mediaLib.
1. Pre-load a multi-threaded mediaLib library during runtime by setting the LD_PRELOAD environment variable as follows before starting
your application, in Bourne/Korn shell:
LD_PRELOAD=libmlib_mt.so
export LD_PRELOAD
or in C shell:
setenv LD_PRELOAD libmlib_mt.so
In this way, you can take advantage of MT mediaLib without rebuilding your application.
2. Link your application with a multi-threaded mediaLib library directly as shown under . In this way, an MT mediaLib library is always
used whenever your application is started.
The parallelization of MT mediaLib is controlled, in part, by the PARALLEL environment variable. You can change its setting to adjust the
degree of parallelization before starting your application, in Bourne/Korn shell:
PARALLEL=n
export PARALLEL
or in C shell:
setenv PARALLEL n
where n is a positive integer for number of threads. Note that other factors also affect the degree of parallelization in MT mediaLib.
/usr/lib/libmlib_mt.so.2 shared object
/usr/lib/64/libmlib_mt.so.2 64-bit shared object
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWmlibt |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
Intro(3), libmlib(3lib), attributes(5)
30 Sep 2005 libmlib_mt(3LIB)