search for: install_name_tool

Displaying 20 results from an estimated 23 matches for "install_name_tool".

2019 Oct 11
2
contributing llvm-install-name-tool
...a lot of important bits to support MachO (it's relatively close to the point where one can implement the strip-like functionality), llvm-lipo is functional and supports most of cctools' lipo options (https://llvm.org/docs/CommandGuide/llvm-lipo.html). There is another useful utility called install_name_tool (see e.g. https://www.unix.com/man-page/osx/1/install_name_tool/ ), this tool is capable of changing the rpaths, the names of the dependent shared libraries, etc. The way it works - install-name-tool (from cctools) generates the new list of MachO load commands and the new MachO header, the other p...
2019 Oct 14
2
contributing llvm-install-name-tool
...make the dylib with the correct install > name at build time, including @rpath, etc.. Most dylibs we see any more are > either installed in fixed file system locations by OS vendors (i.e., Apple) > or are embedded @rpath dylibs installed by everyone else. > > Is there a use-case for install_name_tool that I have overlooked? > > Or Is that small set of dylibs meant to be installed in fixed file system > locations large / complex enough that people really need to install them in > many different locations without simply relinking the files? > > Turning to practical matters, is y...
2013 May 23
2
Using a shared object without installing a library required by the object.
Dear all, I have a C++ code. To create a shared object from this particular code, I had to install a Fortran library on my computer (Mac). The compiled code runs fine on my computer. However, if I try to dyn.load() said shared object on a computer that does not have the Fortran library installed, the object won't load, and instead I get a message below: usr/local/lib/libgfortran.2.dylib
2020 Nov 17
0
Binary releases for versions 10 and 11 do not work on macOS 10.11.6
...rwin/bin/clang Expected in: /usr/lib/libc++.1.dylib dyld: Symbol not found: __ZNSt3__118shared_timed_mutexC1Ev Referenced from: /Users/Philippe/Downloads/clang+llvm-10.0.0-x86_64-apple-darwin/bin/clang Expected in: /usr/lib/libc++.1.dylib Trace/BPT trap: 5 ``` I tried using the system 'install_name_tool' to fix the rpath, but without success: ``` $ install_name_tool -change /usr/lib/libc++.1.dylib @rpath/libc++.1.dylib ~/Downloads/clang+llvm-10.0.0-x86_64-apple-darwin/bin/clang /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: object: /...
2018 Oct 01
5
Extending llvm-objcopy to support Mach-O
...a binary. It also serves as a basis for the strip tool. Currently, llvm-objcopy only supports ELF files while binutils' objcopy can handle Mach-O files as well. Besides extending the existing tool to support Mach-O binaries this would enable us to build LLVM-based replacements for cctools' install_name_tool (for changing rpath(s), identification name etc) and lipo / libtool (for manipulating "fat" binaries) similarly to how llvm-strip was implemented on top of llvm-objcopy. Regarding the code organization, probably, in this case we will have separate folders: ELF, MachO and maybe a few top-l...
2018 Oct 02
3
Extending llvm-objcopy to support Mach-O
...for the strip tool. >> Currently, llvm-objcopy only supports ELF files while binutils' objcopy >> can handle Mach-O files as well. Besides extending the existing tool to >> support Mach-O binaries this would enable us to build LLVM-based >> replacements for cctools' install_name_tool (for changing rpath(s), >> identification name etc) and lipo / libtool (for manipulating "fat" >> binaries) similarly to how llvm-strip was implemented on top of >> llvm-objcopy. Regarding the code organization, probably, in this case we >> will have separate folde...
2020 Jun 12
3
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
Dear Simon, > On Jun 11, 2020, at 9:00 PM, Simon Urbanek <simon.urbanek at r-project.org> wrote: > > Wayne, > > that one is unrelated, but interesting - you can fix it with > > sudo install_name_tool -change \ > /usr/local/lib:/opt/X11/lib/libtk8.6.dylib \ > /usr/local/lib/libtk8.6.dylib \ > /usr/local/bin/wish8.6 > > There is a bug in tcltk with IDs on the libraries which I have worked-around for R, but not for wish. > > Back to the original question - do you have an...
2009 Jun 29
1
Installing DLL elsewhere than in \libs?
Hello, Its a couple of days I am fighting with this problem, and cannot find a solution. I need to compile a DLL that is not directly used by R, but must be installed elsewhere (it is indeed part of a Tcl/Tk package). So, I want to install it in /tklibs/tkpackage/alib.dll (under Windows) in my compiled package. I do manage to compile it in /src, but cannot copy it at the right place. I
2011 Apr 08
1
Can't 'rake db:migrate' keep getting dlopen mysql.bundle error
...ed from: /Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/mysql.bundle Reason: image not found - /Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/mysql.bundle I''ve been Googling for hours, and all the solutions I''m being presented with are not working. I''ve tried running this: sudo install_name_tool -change libmysqlclient.18.dylib /usr/local/mysql/lib/libmysqlclient.18.dylib mysql.bundle And that did not work. Or maybe I''m not using it right. Can someone please point me in the right direction or help me come up with another solution? I''ve been trying to get my development en...
2007 Mar 12
1
Problem with installation of littler-0.0.10. under Free BSD 6.2
...checking getopt.h presence... yes checking for getopt.h... yes checking whether sys/types.h defines makedev... yes checking for setenv... yes checking for gettimeofday... yes checking for time... yes checking for R... /usr/local/bin/R checking if R was built as a shared library... yes checking for install_name_tool... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands MyBSD% make R_HOME= /usr/local/bin/R --silent --vanilla --slave < > autoloads.h Syntax error: redirectio...
2010 Sep 07
3
[Fwd: Trouble with libgsm on Mac OS X 10.6.2]
...if a user actually has the file on their machine in a normal location, it can cause problems making anything portable, because it goes with the one it finds first. You might want to use otool on your binaries and dylibs and see what exact location they are looking for things in. You can also use install_name_tool to modify them to look in other places. Very useful tools to change things around after they are built.
2019 May 10
2
contributing llvm-lipo
Hi Jake, many thanks, yea, I have very similar feelings / thoughts. After some thinking it seems to me that this discussion/problem which I have brought up is, in fact, more relevant to the tools which really need a robust mutable model of an object file (like objcopy, strip, install_name_tool, etc), but the particular case of "lipo" might be simpler, I need to double check that / will take a closer look again. What I mean - the tool "lipo" manipulates "fat" binaries by extracting, removing, replacing slices (slice = object file for a particular architecture...
2020 Jun 12
0
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
On 12/06/2020 03:49, Fox, John wrote: > Dear Simon, > >> On Jun 11, 2020, at 9:00 PM, Simon Urbanek <simon.urbanek at r-project.org> wrote: >> >> Wayne, >> >> that one is unrelated, but interesting - you can fix it with >> >> sudo install_name_tool -change \ >> /usr/local/lib:/opt/X11/lib/libtk8.6.dylib \ >> /usr/local/lib/libtk8.6.dylib \ >> /usr/local/bin/wish8.6 >> >> There is a bug in tcltk with IDs on the libraries which I have worked-around for R, but not for wish. >> >> Back to the origin...
2019 May 10
2
contributing llvm-lipo
...yea, I have very similar feelings / thoughts. >> >> After some thinking it seems to me that this discussion/problem which I >> have brought up is, in fact, >> more relevant to the tools which really need a robust mutable model of an >> object file (like objcopy, strip, install_name_tool, etc), >> but the particular case of "lipo" might be simpler, I need to double >> check that / will take a closer look again. >> What I mean - the tool "lipo" manipulates "fat" binaries by extracting, >> removing, replacing slices >> (slic...
2010 Mar 03
1
(PR#14226) -- Re: libgfortran misplaced in Mac OS X R install (PR#14226)
I am the guy who compiles the OpenMx binaries. We would be delighted to place our package on CRAN, once the project is stable enough so that we are comfortable releasing it to the larger public. Let's try to track down where I made a mistake. Our Makevars.in file contains the line: PKG_LIBS=$(FLIBS) $(BLAS_LIBS) $(LAPACK_LIBS) In addition, on the build machine I noticed that a copy of
2020 Jun 12
3
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
I don't know what has changed with Catalina But I just tried my tk console from the shell command tkcon And got the following error. Here is my shell: $ tkcon dyld: Library not loaded: /usr/local/lib:/opt/X11/lib/libtk8.6.dylib Referenced from: /usr/local/bin/wish Reason: image not found Abort trap: 6 I don't know whether this is a red herring or not, but the
2011 Jul 18
1
rails server being aborted due to mysql lib file not available
...m /Users/nisha/.rvm/gems/ruby-1.9.2-p180@rails3/gems/ railties-3.0.5/lib/rails/commands.rb:27:in `<top (required)>'' from script/rails:6:in `require'' from script/rails:6:in `<main>'' i have tried googling, and most of the solutions suggest doing this : sudo install_name_tool -change libmysqlclient.16.dylib /usr/local/ mysql/lib/libmysqlclient.16.dylib /users/nisha/.rvm/gems/ruby-1.9.2- p180@rails3/gems/mysql2-0.2.6/lib/mysql2/mysql2.bundle I have tried all the suggested methods, without any success., The .bash_profile file is updated to contain the DYLIB in the path....
2008 Nov 18
4
Problems compiling git under OS X
...ping.o mutex.o named_pipe.o object.o process.o procfs.o ptrace.o queue.o region.o registry.o request.o semaphore.o serial.o signal.o snapshot.o sock.o symlink.o thread.o timer.o token.o trace.o unicode.o user.o window.o winstation.o -L../libs/wine -lwine ../libs/port/libwine_port.a && install_name_tool -change @executable_path/`../tools/relpath /Users/fridbert/winegit/bin /Users/fridbert/winegit/lib`/libwine.1.dylib @executable_path/../libs/wine/libwine.1.dylib wineserver || rm -f wineserver Undefined symbols: "_sched_setscheduler", referenced from: _set_thread_priority in threa...
2020 Jun 12
0
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
Wayne, that one is unrelated, but interesting - you can fix it with sudo install_name_tool -change \ /usr/local/lib:/opt/X11/lib/libtk8.6.dylib \ /usr/local/lib/libtk8.6.dylib \ /usr/local/bin/wish8.6 There is a bug in tcltk with IDs on the libraries which I have worked-around for R, but not for wish. Back to the original question - do you have any example of a file that doesn...
2019 May 09
2
contributing llvm-lipo
Hey everyone! In October/November 2018 I started the implementation of llvm-objcopy for MachO with the long-term plan to build some popular binary-level tools on top of it. That effort stopped at the stage where some boilerplate code for reading/writing MachO files was reviewed & committed to LLVM/tools/llvm-objcopy. Later I started working on llvm-lipo (a drop-in replacing for the tool