[tor-bugs] #7564 [Torsocks]: [PATCH] Use libdir instead of prefix in torsocks wrapper
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Feb 25 12:27:57 UTC 2013
#7564: [PATCH] Use libdir instead of prefix in torsocks wrapper
--------------------------+-------------------------------------------------
Reporter: robinson | Owner: robinson
Type: defect | Status: assigned
Priority: normal | Milestone:
Component: Torsocks | Version:
Keywords: make install | Parent:
Points: | Actualpoints:
--------------------------+-------------------------------------------------
Changes (by intrigeri):
* status: needs_information => assigned
Comment:
Replying to [comment:3 robinson]:
> Can you tell me what the proper LIBDIR value should be?
In my example, LIBDIR should be `/usr/lib/x86_64-linux-gnu/torsocks`, i.e.
the same as it ends up with your patch applied, _but_ with `${prefix}`
properly substituted at build time.
> According to the overview you reference, the Debian answer is
"Determined at configure time, usually $(prefix)/lib".
Well, I'm not sure this is relevant. This reference is about the libdir
autotools variable, while the LIBDIR we're talking of is the place where
the torsocks wrapper will go find its library to LD_PRELOAD. I think
`$(libdir)` can be used to build torsocks's `LIBDIR`, but they're not the
same in the case of a bi-arch or multiarch setup.
In any case, I'm no good at autotools stuff, so please don't expect
effective guidance or clever ideas from me in this area: I'm merely
reporting a bug.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7564#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list