rpath
linux linker/loader search order
This question is related to the way libraries are looked up during compilation and dynamic linking. Consider this small project:[详细]
2023-04-08 13:50 分类:问答Cmake on mac os x, link libraries with fullpath
I\'m trying to build a python extension with cmake. This is the cmake list: cmake_minimum_required(VERSION 2.8)[详细]
2023-04-01 01:53 分类:问答How to stop MinGW and MSYS from mangling path names given at the command line
On Windows, I\'m cross-compiling a program for ARM/Linux using CodeSourcery\'s cross-compiler suite. I use MinGW MSYS as my command interpreter, and very often it will mangle my paths and pathnames. F[详细]
2023-03-31 16:52 分类:问答Does @rpath work for looking up .dylibs that are loaded/called from another .dylib?
I just found about the @rpath to load .dylib files using dlopen, and need some help understanding them.I am using Xcode 3.2.5 on a OSX machine.[详细]
2023-03-21 07:41 分类:问答LD_PRELOAD changes the LD_LIBRARY_PATH
I am having a peculiar problem. I have a shared library \'my_tracker.so\' that I built using gcc-4.2. This shared library now has a dependency on libgcc_s.so.1 (GCC 4.2). I did \'ldd my_tracker.so\' a[详细]
2023-03-19 03:33 分类:问答OpenSSL error building Erlang OTP from source
Trying to build a completely self-contained OTP that can be moved around independently of libs installed on a system.[详细]
2023-03-18 08:14 分类:问答Lookup failure when linking using -rpath and $ORIGIN
I\'m trying to learn how to use the -rpath option in GCC\'s linker (ld) with $ORIGIN. I\'m trying the simplest example I can think of (see below), and all the links I read seem to say I\'m doing it c[详细]
2023-03-11 05:33 分类:问答Using -rpath and $ORIGIN with libtool-based projects?
I am trying to incorporate a libtool-based package into a project of my own, perhaps in a non-standard way.Here is my goal:[详细]
2023-03-10 06:43 分类:问答Compiling Python 2.6.6 and need for external packages wxPython, setuptools, etc... in Ubuntu
I compiled Py开发者_JAVA百科thon 2.6.6 with google-perf tools (tcmalloc) library to eliminate some of the memory issues I was having with the default 2.6.5. After getting 2.6.6 going it seems to not w[详细]
2023-03-07 21:56 分类:问答RPATH equivalent for executables
I have a c++ shared library which as part of its normal behaviour fork()/execs() another executable containing some unstable legacy code. This executable is not useful other than with this library, so[详细]
2023-02-21 10:10 分类:问答