#23806 closed defect (fixed)

libotr.so and libgcrypt.so are using RPATH

Reported by: boklm Owned by:
Priority: Medium Milestone:
Component: Archived/Tor Messenger Version:
Severity: Normal Keywords:
Cc: sukhbir, arlolra Actual Points:
Parent ID: #23800 Points:
Reviewer: Sponsor:

Description

$ readelf -d ./TorBrowser/Data/Browser/profile.default/extensions/ctypes-otr@tormessenger/chrome/content/libgcrypt.so | grep RPATH
 0x000000000000000f (RPATH)              Library rpath: [/var/tmp/dist/libgpg-error/lib]
$ readelf -d ./TorBrowser/Data/Browser/profile.default/extensions/ctypes-otr@tormessenger/chrome/content/libotr.so | grep RPATH
 0x000000000000000f (RPATH)              Library rpath: [/var/tmp/dist/libgcrypt/lib:/var/tmp/dist/libgpg-error/lib]

Child Tickets

Change History (2)

comment:1 Changed 21 months ago by boklm

Status: newneeds_review

I created a branch bug_23806 with a patch for review:
99d915317286e6d4181327f105a70c51da867e51
https://github.com/boklm/tor-messenger-build/commits/bug_23806

With this patch we are linking ligcrypt and libgpg-error statically in libotr.

After doing a build with this patch, ./TorBrowser/Data/Browser/profile.default/extensions/ctypes-otr@tormessenger/chrome/content/libotr.so does not have a RPATH anymore.

comment:2 Changed 21 months ago by arlolra

Resolution: fixed
Status: needs_reviewclosed
Note: See TracTickets for help on using tickets.