search for: rpath

Displaying 20 results from an estimated 1009 matches for "rpath".

Did you mean: path
2015 Jul 20
2
[LLVMdev] [3.7 Release] RC1 has been tagged, Testing Phase I begins
...the "set -o pipefail" which was introduced, but I don't yet understand why this causes the Phase 2 installation to appear to fail, as there is no visible error. I will investigate, or work around it by removing the pipefail option again. > > It appears to be caused by the clean_RPATH() function, which has this line: > > rpath=`objdump -x $Candidate | grep 'RPATH' | sed -e's/^ *RPATH *//'` > > If the objdump'd file does not have any RPATH, the whole statement will fail, since set -o pipefail is in effect. This terminates the script, since s...
2009 Jan 05
1
trouble building celt on Fedora
...next stable release of ekiga/opal will have support for it. I've run into two issues in compiling it into a rpm. The first is a show stopper, then second one not so much of an issue but thought I'd report it for reference. The first issue is due to the celtdec and celtenc explicitly define rpath. I get the following errors when building the packages: celt.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/celtdec ['/usr/lib64'] celt.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/celtenc ['/usr/lib64'] **********************************************************************...
2009 Nov 16
2
[LLVMdev] rpaths in llvm binaries
Hello LLVM devs, I am trying to package llvm for NetBSD. The package checker scripts are complaining about bad rpaths in the binaries. I see that they are relative to the build directory. I have no idea why that would be. Can you explain? If I build as myself, for testing (e.g.): $ readelf -d ~/downloads/llvm-2.6/Release/bin/llvm-ar Dynamic section at offset 0x15af28 contains 25 entries: Tag Type...
2009 Nov 20
1
freetype-2.2.1-21.el5_3.src.rpm rebuild failure
I was attempting to rebuild the Centos 5.4 freetype rpm freetype-2.2.1-21.el5_3.src.rpm and got the following error. What do I need to do to solve it? ERROR 0001: file '/usr/bin/ftvalid' contains a standard rpath '/usr/lib64' in [/usr/lib64] ERROR 0001: file '/usr/bin/fttimer' contains a standard rpath '/usr/lib64' in [/usr/lib64:/usr/lib] ERROR 0001: file '/usr/bin/fttimer' contains a standard rpath '/usr/lib' in [/usr/lib64:/usr/lib] ERROR 0001: file '/usr...
2017 Oct 09
3
LLVM's use of rpath on macOS
Hi all, I'm trying to understand why LLVM uses @rpath as the install name in its dynamic libraries on macOS. This complicates the process of linking against libLLVM from third-party tools and isn't nearly as common a practice on macOS as it is on Linux. I tried tracing through history on the LLVM repo and the main thing I could find was a commit f...
2009 Nov 17
1
[LLVMdev] rpaths in llvm binaries
> Are you using cmake for building LLVM? > > If the answer is yes, please ask on the cmake mailing list. > > Usually cmake sets the RPATH when building LLVM as shared objects. But > on my Linux box it does not set RPATH when building LLVM as static > libraries. I do not have cmake installed - and when packaging for NetBSD (IIRC) you need to explicitly tell it that cmake is used, which I haven't done - so I'd have to an...
2014 Feb 12
4
[LLVMdev] llvm trunk build failed in cmake_install.cmake on ARM platform
...e build was carried out with CMake 2.8.11. In the installation step I got the following error: > [26815s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/llvm-3.4.99-336.1.arm/usr/lib/libLLVMSupport.so > [26815s] CMake Error at lib/Support/cmake_install.cmake:45 (FILE): > [26815s] file RPATH_CHANGE could not write new RPATH: > [26815s] > [26815s] $ORIGIN/../lib > [26815s] > [26815s] to the file: > [26815s] > [26815s] /home/abuild/rpmbuild/BUILDROOT/llvm-3.4.99-336.1.arm/usr/lib/libLLVMSupport.so > [26815s] > [26815s] No valid ELF RPATH or RUNPATH ent...
2006 May 10
1
RE: Compile error on PPC linux
/usr/bin/ld: bad -rpath option collect2: ld returned 1 exit status make[4]: *** [libFLAC.la] Error 1 --- flac-1.1.2/src/libFLAC/Makefile.in.orig 2005-02-04 21:23:37.000000000 -0500 +++ flac-1.1.2/src/libFLAC/Makefile.in 2006-04-30 20:30:00.000000000 -0400 @@ -399,7 +399,7 @@ rm -f "$${dir}/so_locatio...
2014 Feb 13
2
[LLVMdev] llvm trunk build failed in cmake_install.cmake on ARM platform
We try to change cmake's behaviour so that it uses $ORIGIN in the rpath, making the binaries relocatable. That might be falling in here for some reason. Sent from my iPhone > On Feb 12, 2014, at 11:07, Brad King <brad.king at kitware.com> wrote: > >> On 02/12/2014 08:08 AM, Mathias Bauer wrote: >> Hi dear list, >> >> I tried to b...
2016 Jan 15
1
[PATCH] daemon: resolve paths for ll and llz
...t), this command can be used to escape - * from the sysroot (eg. 'll /..'). This command is not meant for - * serious use anyway, just for quick interactive sessions. - */ - char * do_ll (const char *path) { int r; char *out; CLEANUP_FREE char *err = NULL; + CLEANUP_FREE char *rpath = NULL; CLEANUP_FREE char *spath = NULL; - spath = sysroot_path (path); + CHROOT_IN; + rpath = realpath (path, NULL); + CHROOT_OUT; + if (rpath == NULL) { + reply_with_perror ("%s", path); + return NULL; + } + + spath = sysroot_path (rpath); if (!spath) { reply_w...
2014 Feb 14
2
[LLVMdev] llvm trunk build failed in cmake_install.cmake on ARM platform
> that CMake is trying to update the installed binary file's > RPATH to contain the $ORIGIN/../lib value. It complains > that no RPATH field at all is found in the file. The linker > may be dropping it for some reason, which is why I asked > Mathias to try: Btw, an awesome way to fix this would be to set rpath to $ORIGIN/../lib during the link itself. Th...
2009 Nov 16
0
[LLVMdev] rpaths in llvm binaries
"Larson, Timothy E." <TELarson at west.com> writes: > Hello LLVM devs, > > I am trying to package llvm for NetBSD. The package checker scripts > are complaining about bad rpaths in the binaries. I see that they are > relative to the build directory. I have no idea why that would be. > Can you explain? Are you using cmake for building LLVM? If the answer is yes, please ask on the cmake mailing list. Usually cmake sets the RPATH when building LLVM as shared objec...
2007 Nov 28
1
autogen.sh fails -> "required file `./config.rpath' not found"
if i run autogen.sh on fresh 1.1.beta9 source, it fails @ ./autogen.sh ... 100%[====================================>] 154,427 115.09K/s 08:45:56 (114.82 KB/s) - `wiki-export.tar.gz' saved [154427/154427] configure.in:16: required file `./config.rpath' not found configure.in:5: installing `./missing' configure.in:5: installing `./install-sh' src/auth/Makefile.am: installing `./depcomp' autoreconf: automake failed with exit status: 1 per advice, "gettext-related test failures: config.rpath presence" http://...
2015 Jul 18
3
[LLVMdev] [3.7 Release] RC1 has been tagged, Testing Phase I begins
On 19 Jul 2015, at 00:17, Dimitry Andric <dimitry at andric.com> wrote: > > On 17 Jul 2015, at 01:09, Hans Wennborg <hans at chromium.org> wrote: >> >> On Thu, Jul 16, 2015 at 3:47 PM, Dimitry Andric <dimitry at andric.com> wrote: >>> On 17 Jul 2015, at 00:31, Hans Wennborg <hans at chromium.org> wrote: >>>> >>>> Dear
2005 Aug 01
2
[LLVMdev] [patch] gccld not passing -export-dynamic to gcc for link
...// Inputs: @@ -365,6 +364,7 @@ const std::vector<std::string> &Libraries, const sys::Path &gcc, char ** const envp, bool Shared, + bool ExportAllAsDynamic, const std::string &RPath, const std::string &SOName, bool Verbose) { @@ -400,6 +400,7 @@ args.push_back(InputFilename.c_str()); if (Shared) args.push_back("-shared"); + if (ExportAllAsDynamic) args.push_back("-export-dynamic"); if (!RPa...
2015 Dec 26
2
[CMake] Hardcoded rpath?
I'm looking at an issue for Homebrew (OS X package manager) where the compiled libc++ tries to load libc++abi at "@rpath/libc++abi.1.dylib", resulting in a dyld error. The issue can be found at https://github.com/Homebrew/homebrew/issues/47149 From what I can tell, this is a result of lines 561-564 of the CMakeLists.txt in the main LLVM repo: set(CMAKE_BUILD_WITH_INSTALL_RPATH ON) if (APPLE) set(CMAKE_INSTAL...
2015 Aug 01
2
config.rpath?
Building flac git head on OS/2 dies when running "sh /usr/bin/autoreconf --install --force" ... configure.ac:32: installing './compile' configure.ac:35: installing './config.guess' configure.ac:344: error: required file './config.rpath' not found configure.ac:35: installing './config.sub' configure.ac:26: installing './install-sh' configure.ac:26: installing './missing' examples/c/decode/file/Makefile.am: installing './depcomp' autoreconf: failed to run automake: SYS0003=0x3: The system cannot...
2007 Mar 19
3
Error while compiling in Ubuntu 6.06 64 bit
...hics.o enhmfdrv/init.o enhmfdrv/mapping.o enhmfdrv/objects.o font.o freetype.o gdi_main.o gdiobj.o icm.o mapping.o metafile.o mfdrv/bitblt.o mfdrv/dc.o mfdrv/graphics.o mfdrv/init.o mfdrv/mapping.o mfdrv/objects.o mfdrv/text.o painting.o palette.o path.o pen.o printdrv.o region.o version.res -Wl,--rpath,\$ORIGIN/`../../tools/relpath /usr/local/lib/wine /usr/local/lib` -o gdi32.dll.so -ladvapi32 -lkernel32 -lntdll /usr/lib/libsicuuc.a /usr/lib/libsicudata.a -lstdc++ -lgcc_s ../../libs/port/libwine_port.a -L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32 ld: Relocatable linking with relo...
2014 May 30
3
[LLVMdev] [PATCH] Use GCC_INSTALL_PREFIX for rpath if set.
...variables for specifying the path to them individually? The default value for them could remain as origin/../lib which would keep from breaking things. On Thu May 29 2014 at 7:06:17 PM, Chandler Carruth <chandlerc at google.com> wrote: > This looks like it would remove the origin/../lib RPATH which would break > finding libraries related to Clang such as libc++? > > It makes sense to add the GCC install prefix to the RPATH though. I > wonder, should we try to do something about the lib vs. lib{32,64} > business? I don't know that either of these does the right thing t...
2020 Oct 30
2
Fail to build libvirt upstream rpm on fedora 33
...xport-dynamic -ldl /usr/lib64/libglib-2.0.so /usr/lib64/ libgobject-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgnutls.so /usr/lib64/libnl-3.so /usr/lib64/libnl-route-3.so /usr/lib64/libxml2.so /usr/lib64/libsasl2.so -lselinux /usr/lib64/libtirpc.so /usr/lib64/libyajl.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/:$ORIGIN/../src' -Wl,-rpath-link,/home/hhan/rpmbuild/BUILD/libvirt-6.9.0/x86_64-redhat-linux-gnu/tests -Wl,-rpath-link,/home/hhan/rpmbuild/BUILD/libvirt-6.9.0/x86_64-redhat-linux-gnu/src FAILED: tests/qemucapsprobe gcc -o tests/qemucapsprobe tests/qemucapsprobe.p/qemucapsprobe.c.o -Wl,...