[Bug 1737608] Re: RPATH no longer respected for indirect dependencies

2020-01-28 Thread hkarel
> Your suggestion "--disable-new-dtags" works for me.
+1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737608

Title:
  RPATH no longer respected for indirect dependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1737608/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737608] Re: RPATH no longer respected for indirect dependencies

2019-05-17 Thread Rodrigo Avancini
@tonyelewis, you are absolutely right, I did spend a lot of time trying to 
figure out what happened when I migrate from Ubuntu 14 to 18.
Your suggestion "--disable-new-dtags" works for me.

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737608

Title:
  RPATH no longer respected for indirect dependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1737608/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737608] Re: RPATH no longer respected for indirect dependencies

2018-12-08 Thread Adam Conrad
RPATH and RUNPATH are indeed not the same thing (which is where the
confusion in the LDDEBUG examples cited comes in).  Comment #4 has a
good breakdown of why this is happening, but this is very much not a
glibc/ld.so bug.

** Changed in: glibc (Ubuntu)
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737608

Title:
  RPATH no longer respected for indirect dependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1737608/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737608] Re: RPATH no longer respected for indirect dependencies

2018-09-18 Thread Tony Lewis
I think this is related to
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1253638

My understanding (gleaned in large part from comment #5 of that issue -
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1253638/comments/5
; errors all mine) is:

* RPATH tells the loader where to look for all libraries
* the RPATH was deprecated a long time ago because it was thought to be a 
mistake that RPATH is processed with higher priority than the LD_LIBRARY_PATH 
environment variable
* that deprecation has recently made it's way out to Ubuntu
* the ld linker (?) now defaults to setting RUNPATH instead of RPATH. RUNPATH 
differs from RPATH in two ways:
  * it's has *lower priority* than the LD_LIBRARY_PATH environment variable, and
  * the loader only uses it to search for direct dependencies, *not transitive 
dependencies*
* this means that a lot of people are going to spend a lot of time trying to 
figure out why their stuff is broken.

As I understand it, there are two solutions:
 * link with --disable-new-dtags to make linker revert to setting RPATH
 * fix all your .so files so that they can find their own dependencies (via a 
RUNPATH setting)

In my case, I fixed my problem by rebuilding my Boost libraries with a
dll-path flag to tell the build where the .so files would be installed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737608

Title:
  RPATH no longer respected for indirect dependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1737608/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737608] Re: RPATH no longer respected for indirect dependencies

2018-08-06 Thread Olivier BARTHELEMY
I seem to have a similar issue since I started testing Ubuntu 18.

I have myapp -> mylib -> libQt5Gui.so -> libpng.so -> libz.so.1
The qt lib has an explicit link on the command line.
The 2 last libraries can be found in the same folder, so i used to add 
-rpath-link to that folder to make them found at link time without storing that 
path in the binaries (gcc 4.8 / ld 2.24).

With gcc 7 / ld 2.30 of ubuntu 18.04, libpng seems found, but libz cannot be 
resolved.
LD_DEBUG=libs shows that a libz from the system is found at some point during 
the build, but that's not the one i want, and the linker does not seem happy 
with it anyways.

Here too, adding that folder to LD_LIBRARY_PATH makes the link succeed.

Has there been any search on the issue?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737608

Title:
  RPATH no longer respected for indirect dependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1737608/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737608] Re: RPATH no longer respected for indirect dependencies

2018-08-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: glibc (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737608

Title:
  RPATH no longer respected for indirect dependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1737608/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737608] Re: RPATH no longer respected for indirect dependencies

2017-12-11 Thread Steve Lorimer
** Package changed: ubuntu => glibc (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737608

Title:
  RPATH no longer respected for indirect dependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1737608/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1737608] Re: RPATH no longer respected for indirect dependencies

2017-12-11 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make
Ubuntu better.  It seems that your bug report is not filed about a
specific source package though, rather it is just filed against Ubuntu
in general.  It is important that bug reports be filed about source
packages so that people interested in the package can find the bugs
about it.  You can find some hints about determining what package your
bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage.
You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit
https://bugs.launchpad.net/ubuntu/+bug/1737608/+editstatus and add the
package name in the text box next to the word Package.

[This is an automated message.  I apologize if it reached you
inappropriately; please just reply to this message indicating so.]

** Tags added: bot-comment

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737608

Title:
  RPATH no longer respected for indirect dependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1737608/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs