Bug 761794 (GLUSTER-62) - booster LD_PRELOAD
Summary: booster LD_PRELOAD
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-62
Product: GlusterFS
Classification: Community
Component: booster
Version: mainline
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Shehjar Tikoo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-25 06:28 UTC by Basavanagowda Kanur
Modified: 2009-08-13 08:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTP
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Shehjar Tikoo 2009-06-25 03:42:09 UTC
I am not sure if the path you specified for the booster lib is correct.
Please check that path again. Did you specify a --prefix when running the build configure script?

Which release are you using?

What is the distro?

Comment 1 Basavanagowda Kanur 2009-06-25 06:28:52 UTC
[Migrated from savannah BTS] - bug 26613 [https://savannah.nongnu.org/bugs/?26613]

Tue 19 May 2009 12:57:48 PM GMT, original submission by Anonymous:

When following http://www.gluster.org/docs/index.php/BoosterConfiguration, I get the following error:

~$ LD_PRELOAD=/usr/local/lib/glusterfs/glusterfs-booster.so ./test
ERROR: ld.so: object '/usr/local/lib/glusterfs/glusterfs-booster.so' from LD_PRELOAD cannot be preloaded: ignored.

Comment 2 Shehjar Tikoo 2009-07-02 10:30:49 UTC
This error was being caused by certain logic in libtool that leads to the resulting booster binary being tagged as an executable. Consequently, a LD_PRELOAD on this binary would result in the error as reported by the user.

This problem is now fixed by a work-around that is already part of the mainline repo starting from commit: http://git.savannah.gnu.org/cgit/gluster.git/commit/?id=a3ece0caa52ad2eacf8a8691aaca53295cde972f

and will also be part of the 2.0.3 release.


Note You need to log in before you can comment on or make changes to this bug.