Lines Matching refs:dlopen

163 default. Application that load shared libraries at runtime using ``dlopen()``
172 shared library, and how to use the ``dlopen()`` interface to load that library
175 use the ``dlopen()`` interface. The SDK example is nevertheless instructive, as
180 The SDK example, located in ``examples/tutorial/dlopen``, includes three C++
187 .nmf file and is therefore directly loadable with ``dlopen()``.
196 dlopen.cc
201 Run ``make`` in the dlopen directory to see the commands the Makefile executes
212 multiple versions of the example using the SDK toolchains. The dlopen example
226 ``dlopen()``) it is also convenient to list libraries in the manifest file.
230 allow ``dlopen()`` to access them.
236 Take a look at the manifest file in the dlopen example to see how
237 a glibc-style manifest file is structured. (Run ``make`` in the dlopen directory to
239 from ``dlopen.nmf``::
273 The Makefile in the dlopen example generates the manifest automatically using
277 create_nmf.py -o dlopen.nmf glibc/Release/dlopen_x86_32.nexe \
300 intend to dlopen() at runtime you must explcitly list them in your call to
346 Native Client supports a version of the POSIX standard ``dlopen()`` interface
348 Calling ``dlopen()`` may cause a library download to occur, and automatically
354 **Caution:** Since ``dlopen()`` can potentially block, you must initially
355 call ``dlopen()`` off your application's main thread. Initial calls to
356 ``dlopen()`` from the main thread will always fail in the current
359 The best practice for opening libraries with ``dlopen()`` is to use a worker
362 call ``dlopen()`` a second time when you need to use a library -- per the
363 specification, subsequent calls to ``dlopen()`` return a handle to the
366 calls to ``dlopen()`` could cause the library to be fetched again.
368 The dlopen example in the SDK demonstrates how to open a shared libraries
375 * ``dlopen.cc``: this is the Native Client module that loads the shared libraries
380 ``dlopen()`` to load the two shared libraries. Once the module has a handle to
427 **undefined reference to 'dlopen' collect2: ld returned 1 exit status**